Link to home
Start Free TrialLog in
Avatar of Jimi_Jersey
Jimi_JerseyFlag for United Kingdom of Great Britain and Northern Ireland

asked on

phpMyAdmin will not install properly

I am very new to dynamic web design, but hae recently installed Apache 2.2 and php 5.2.6 and have been getting to grips with designing php pages.  This went well, and I then installed MySQL 5.0 and am trying to install phpMyAdmin 3.0.1.1 as well, however everytime I try to run it on my browser by typing in http://localhost/phpMyAdmin/ it comes up with the following error message:
Fatal error: Call to a member function getName() on a non-object in C:\Users\Main User\Documents\My Websites\phpMyAdmin\libraries\common.inc.php on line 688
I have tried re-loading it and loading older versions but exactly the same happens.

My directory tree looks like:
C:\Program Files\Apache Group\Apache2\ (apache is installed here)
(C:\Program Files\Apache Software Foundation\Apache2.2\)

C:\Users\Main User\Documents\My Websites\ (My web root directory)

C:\Users\Main User\Documents\My Websites\phpMyAdmin\ (where phpmyadmin is, and where the config file is at)

If anyone can help me...I have been trying to solve this for days, and am completely lost!!
Thanks!
PS I'm operating on a PC wth windows Vista.


Avatar of Beverley Portlock
Beverley Portlock
Flag of United Kingdom of Great Britain and Northern Ireland image

This appears to be a bug in 3.0.1.1 try using  version 2.11.9 instead. If you have not done anything with this setup, the simplest way to solve this might be to uninstall everything and then use WAMP to install Apache, PHP, MySQL, PhpMyAdmin and other stuff as an integrated package

http://www.apachefriends.org/en/xampp-windows.html

ASKER CERTIFIED SOLUTION
Avatar of Beverley Portlock
Beverley Portlock
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial