sql problems

Strange, stranger: strangest. :P

Some code..

Code:
[root@jongerenweb html]# ls -l | grep php
drwxr-xr-x    7 root     root         4096 Nov 16 16:34 phpMyAdmin
[root@jongerenweb html]# pwd
/var/www/html
[root@jongerenweb html]# lynx [url]http://localhost/[/url] --dump

   Apache is functioning normally

[root@jongerenweb html]# lynx [url]http://localhost/phpMyAdmin[/url] --dump

                                   Not Found

   The requested URL /phpMyAdmin was not found on this server.

   Additionally,  a  404  Not Found error was encountered while trying to
   use an ErrorDocument to handle the request.
     _________________________________________________________________


    Apache/1.3.29 Server at localhost Port 80
[root@jongerenweb html]#
 
jep said:
http://localhost/phpMyAdmin[/url] --dump

Not Found

The requested URL /phpMyAdmin was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.
_________________________________________________________________


Apache/1.3.29 Server at localhost Port 80

Quite simply, its telling you what we already knew, the phpMyAdmin file does not exist, its named phpMyAdmin-2.5.4 instead.... from that i'm assuming you have not renamed the files?
 
ProWebUK said:
Quite simply, its telling you what we already knew, the phpMyAdmin file does not exist, its named phpMyAdmin-2.5.4 instead.... from that i'm assuming you have not renamed the files?
Hehe, i did.. when you asked me to.

Code:
[root@jongerenweb html]# ls -l | grep php
drwxr-xr-x    7 root     root         4096 Nov 16 16:34 phpMyAdmin
[root@jongerenweb html]# pwd
/var/www/html

First it was phpMyAdmin-2.5.4, now i renamed it to phpMyadmin.

Thanks for your help btw :)
 
Yes, as you can see. It looks like there's some wrong apache setting. There should be a /phpMyAdmin/ redirection to the /var/www/html/phpMyAdmin. ;)
 
Hello,

There is an alias in the /etc/httpd/conf/httpd.conf that points

/phpMyAdmin -> /var/www/html/phpMyAdmin-2.5.4

.... so if you've also got a directory named "phpMyAdmin" the directory should be renamed to include the version #. We set it up to point to a directory named phpMyAdmin-2.5.4, not phpMyAdmin.. perhaps that is causing it.

John
 
I guess we found a bug, folks! :P

Alias /phpMyAdmin /var/www/html/phpMyAdmin-2.5.0/
Alias /phpmyadmin /var/www/html/phpMyAdmin-2.5.0/


It's pointing to an old release :p
 
Now I restart Apache and i get the same error as always:

[root@jongerenweb portal]# apachectl start
Syntax error on line 1505 of /etc/httpd/conf/httpd.conf:
Invalid command 'SSLCertificateFile', perhaps mis-spelled or defined by a module not included in the server configuration
/usr/sbin/apachectl start: httpd could not be started
 
Last edited:
So i was wrong in thinking that...... didn't think DA would do anything with phpmyadmin apart from setup the redirects....

Chris
 
Not my day either, I should have been able to find that one myself :P
 
Back
Top