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.


Jimi_JerseyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Beverley PortlockCommented:
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

0
Beverley PortlockCommented:
I've downloaded the source and had a quick look and there is no obvious error in the code for phpmyadmin at the location marked by the error message. It seems to be related to the Themes (the colour schemes used to display data).

As I said before WAMP is fairly much the best bet for Windows and all the settings are done so as to integrate all the applications. It is fairly much a one-click install sort of affair...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.