ogwinilo Posted January 11, 2010 Posted January 11, 2010 After installing security add ons, this is the message I get: Parse error: syntax error, unexpected T_LNUMBER in /home/woiqqwab/public_html/herbal/admin/includes/filenames.php on line 58 Prior to that, immediately after reinstalling oScommerce into a new directory, I couldn't open the default site and the admin, but got the following message: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'woiqqwab_osc2'@'localhost' (using password: YES) in /home/woiqqwab/public_html/herbal/admin/includes/functions/database.php on line 19 Unable to connect to database server! What could be the problem and the solution. Thanks in advance for the help
Guest Posted January 11, 2010 Posted January 11, 2010 Felix, Check filenames.php to ensure the entry on line 58 looks similar to this: define('FILENAME_ZONES', 'zones.php'); <~notice the semi-colon As far as the database.php, I am unsure.......but can only suggest you check the database password to make sure its correct. Chris
johnnybebad Posted January 11, 2010 Posted January 11, 2010 as chris says on the filenames possibly, the database cant open as its pointing to the wrong place? check the configure.php in admin/includes file in the new admin directory and change the /admin/ to the new directory name and that maywell solve your problems. it looks like from your error messages that your configue.php file is still pointing to admin rather than your admins new name. ie. if your admin directory was now called pigs, all the admin labelled things in the configure file need to be changed to read pigs. Getting better with mods but no programmer am I.
ogwinilo Posted January 12, 2010 Author Posted January 12, 2010 as chris says on the filenames possibly, the database cant open as its pointing to the wrong place? check the configure.php in admin/includes file in the new admin directory and change the /admin/ to the new directory name and that maywell solve your problems. it looks like from your error messages that your configue.php file is still pointing to admin rather than your admins new name. ie. if your admin directory was now called pigs, all the admin labelled things in the configure file need to be changed to read pigs. Thanks for your suggestions, will be working on them and will come back with feedback Felix
Erica123 Posted January 20, 2010 Posted January 20, 2010 <a href="http://ezinearticles.com/?Slow-Running-Computer---How-to-Repair-Your-Slow-Running-Computer-Instantly&id=3485875 ">Try that again. </a>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.