PDA

Click to See Complete Forum and Search --> : phpMyAdmin problem


Incognito44
Apr 8th, 2004, 08:28 PM
I'm running Apache 2 on Windows2000 with php4.
I'm able to run php ie: phpinfo() works fine.
When I try to run phpMyAdmin I get the following error

Warning: unable to parse url (http:///php4/php.exe/) in C:\Program Files\Apache Group\Apache2\htdocs\main.php on line 21

Warning: Cannot add header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\main.php:21) in C:\Program Files\Apache Group\Apache2\htdocs\main.php on line 25

Warning: Cannot add header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\main.php:21) in ./libraries/ob.lib.php on line 65

Warning: Cannot add header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\main.php:21) in ./libraries/header_http.inc.php on line 14

Warning: Cannot add header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\main.php:21) in ./libraries/header_http.inc.php on line 15

Warning: Cannot add header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\main.php:21) in ./libraries/header_http.inc.php on line 16

Warning: Cannot add header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\main.php:21) in ./libraries/header_http.inc.php on line 17

Warning: Cannot add header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\main.php:21) in ./libraries/header_http.inc.php on line 20


Then page prints out fine and display my databases

I thought it had something to do with the extra / in http:///
but I'm not sure...anyone know what I may have configured wrong?

kows
Apr 8th, 2004, 10:36 PM
whats your PHP ini look like?

kows
Apr 8th, 2004, 10:39 PM
oh, and what version of phpMyAdmin do you have?

Incognito44
Apr 8th, 2004, 11:19 PM
2.5.3 on the phpMyAdmin-because I couldn't get 2.5.6 to work at all, at least 2.5.3 was showing the html.
as far as the php.ini-could you elaborate a bit more...what does it look like is a little indescriptive--any line in particular?

kows
Apr 9th, 2004, 12:32 AM
what's your error_reporting set at?

Mine is currently set at showing all errors except notices:
Line 260: error_reporting = E_ALL & ~E_NOTICE
You could also look into turning display_errors off, it should be on line 267 of php.ini-dist. If you're making a production website, I suggest turning off display_errors to disallow end-users from potentially viewing file paths/database schemes and have log_errors (line 277) on instead.

Try playing around with either one of those lines