Board index   FAQ   Search  
Register  Login
Board index php forum :: Database phpMyAdmin

phpMyAdmin Displays Blank Page

How to use phpmyadmin.... phpmyadmin related arguments. Even phpMyAdmin issues

Moderators: macek, egami, gesf

phpMyAdmin Displays Blank Page

Postby mark200408 » Sun Sep 12, 2004 12:19 pm

Hi,

I use Windows XP, PHP 5.0.1, MySQL 4.0.2, Apache 2.0, phpMyAdmin 2.5.7.

PHP, MySQL and Apache work just fine. I downloaded phpmyadmin and installed it. I followed all the instructions. I am testing this in my PC. When I type in "http://localhost/phpMyAdmin/", I get blank page.

Documentation says that I will get welcome screen from phpmyadmin. I don't see it.

I get no error, so basically phpmyadmin finds right directory. phpmyadmin config.inc.php file is set correctly as per documentation from phpmyadmin.net.

......
$cfg['OBGzip'] = 'auto';
....
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)
....

Please help... Any advice will be very much appreciated.

Thanks
Mark
mark200408
New php-forum User
New php-forum User
 
Posts: 3
Joined: Sun Sep 12, 2004 11:55 am

Postby bezmond » Sun Sep 12, 2004 12:23 pm

try browsing to http://localhost/MyAdmin/index.php - see if that is different?

Andrew
User avatar
bezmond
Moderator
Moderator
 
Posts: 312
Joined: Sat Apr 05, 2003 4:33 am
Location: Mansfield, UK

Postby mark200408 » Sun Sep 12, 2004 5:58 pm

Hi Andrew,

For http://localhost/MyAdmin/index.php, I get "Page not found" error. It's expected, because there is no MyAdmin folder.

For http://localhost/phpMyAdmin/index.php, there is no error. Just blank page and "Done" in the status bar.

Thanks
Mark
mark200408
New php-forum User
New php-forum User
 
Posts: 3
Joined: Sun Sep 12, 2004 11:55 am

Postby Redcircle » Sun Sep 12, 2004 10:08 pm

make sure you turn on errors in your php.ini otherwise you will only get a blank page if there infact IS an error
User avatar
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Postby bezmond » Mon Sep 13, 2004 1:17 am

I'd also suggest creating a file called info.php in your root directory (http://localhost/info.php) with the code <? phpinfo(); ?> to check that PHP is actually working correctly.

Andrew
User avatar
bezmond
Moderator
Moderator
 
Posts: 312
Joined: Sat Apr 05, 2003 4:33 am
Location: Mansfield, UK

Postby mark200408 » Mon Sep 13, 2004 1:48 pm

Thanks guys.. I could always display phpinfo. I tried today also, it displays the php info perfectly. As I mentioned before I can run different kinds of php scripts that access mysql. Not a problem.

It's just that I can't access phpmyadmin.

I checked php.ini. This is what I had.

error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
display_errors = On
display_startup_errors = Off

I changed display_startup_errors = Off to "On". I still get the blank page.

Thanks
Mark
mark200408
New php-forum User
New php-forum User
 
Posts: 3
Joined: Sun Sep 12, 2004 11:55 am


Return to phpMyAdmin

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron