|
-
Jun 16th, 2002, 03:08 AM
#1
Thread Starter
PowerPoster
[Resolved] phpMyAdmin
When I click the Main.PHP link or the Index.php link, the correct page opens and there is the option to create a database as well as several other options. When I click any of those links to include trying to create a new database, the next page is displayed as PHP code.
I'm not sure if tha's clear, so I'll try explaining it another way. The page does not display as html or take me to the new database that wasn't created. Instead it opens the page as a code window (sort of) where I'm looking at the PHP code instead of the resulting html page that should have been displayed.
however, if I click any of the php links from the directory page, then the page displays properly. Any ideas about this?
Last edited by cafeenman; Jun 16th, 2002 at 03:54 PM.
-
Jun 16th, 2002, 09:08 AM
#2
it might be because mysql isn't installed yet. did you unzip mysql and now should be sitting in C:\mysql ?
did you create a root user yet?
-
Jun 16th, 2002, 10:08 AM
#3
Thread Starter
PowerPoster
scoutt, it was really simple. After spending literally 10 hours tearing my hair out I figured out what was going on. In the address bar, the first link I opened always said
http://127.0.0.1/filename.whatever
But when I clicked a php link from there it would say
file//c:\apache2\htdocs\whatever\whatever
That told me it was being interpreted as a file and not as a file on the server or whatever the correct terminology is.
So I opened config.inc.php and this is how I had modified this line since the instructions were extremely vague.
$cfgPmaAbsoluteUri = 'c:\apache2\htdocs\phpmyadmin';
I took a guess and changed it as follows:
$cfgPmaAbsoluteUri = 'http://127.0.0.1/phpmyadmin';
problem solved. What a headache. That's the kind of stuff they need to tell you about. They say the absolute path. That is not an absolute path. That is a server path. The absolute path is what I did originally.
Anyway, the pages are doing what they're supposed to be I think. I haven't tried to create a database yet, but that's next.
-
Jun 16th, 2002, 12:22 PM
#4
hehe tht is hat I told you in another thread. I had mine as my site url so see it all works out.
-
Jun 16th, 2002, 12:24 PM
#5
Thread Starter
PowerPoster
Originally posted by scoutt
hehe tht is hat I told you in another thread. I had mine as my site url so see it all works out.
I was probably too busy swearing and trying to control myself from throwing my notebook out the window to pay attention.
-
Jun 16th, 2002, 12:32 PM
#6
but now it is working aren't you happy?? it works because you put some effort into it. see if you didn't start over like I said you wouldn't know if you were going anywhere.
now from when you started over how long did it take? 1 hour or so. not months
-
Jun 16th, 2002, 12:35 PM
#7
Thread Starter
PowerPoster
Originally posted by scoutt
but now it is working aren't you happy?? it works because you put some effort into it. see if you didn't start over like I said you wouldn't know if you were going anywhere.
now from when you started over how long did it take? 1 hour or so. not months
From the time I started reinstalling, it took me about 5 hours to figure it out. If I'd known what I was doing, it would have taken about 20 minutes.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|