Topic: Unable to search or browse from front page
I am a php/MySQL newbie. I read tons of tutorials and forums and I can't figure out a solution to this problem.
My system:
Windows XP/sp2, I am running the following programs locally on my computer--Apache 2.2.4/Win32, php version 5.2.3, MySQL 5.0.45-community-nt, phpMyAdmin 2.10.3.
I followed the Labstore 1.5.2 installation procedures--set up MySQL 'labstock' database, stocks & uploads folders have execute and write premissions, edited config.php as per suggestions. I have no trouble logging in as 'Admin' or 'normal' user and inserting cell-lines etc, or as 'admin' entering interface_creator editing, searching & browsing tables. However, from the front page-->http://localhost/stocks, when I click on i.e. cell-lines to search or browse I get this message:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\stocks\header.php on line 54
ERROR: Could not connect to the MySQL server! Either it is down or the username/password used for connecting to it as specified in the config.php file are incorrect. If the MySQL server is running, it will respond with an error message (below)
Access denied for user 'ODBC'@'localhost' (using password: NO)
htdocs is my public folder.
Additional info:
config.php authorizations:
$all_see_tables = "yes";
$all_affect_items = "no";
$allowed = array(specific IP addresses including localhost "127.0.0.1")
$enable_admin_authentication = 1
$enable_authentication = 1
(delete, update & browse set to 0)
I'm not using htaccess
Any help or suggestions would be greatly appreciated. This is a cool program and I would like to get it to work.
Thanks,
Judy Narvaez