Metapheric Posted April 14, 2008 Posted April 14, 2008 Hello, I have just installed OsCom on my site but after the installation, i used the links to the shop page and the admin page and was greeted with these: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mysql'@'10.10.124.196' (using password: NO) in /www/zxq.net/g/r/e/greenboxmalaysia/htdocs/catalog/admin/includes/functions/database.php on line 19 Unable to connect to database server! for the admin page and: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'vhostswww'@'10.10.124.196' (using password: NO) in /www/zxq.net/g/r/e/greenboxmalaysia/htdocs/catalog/includes/functions/database.php on line 19 Unable to connect to database server! for the shop page I followed all the necessary instructions provided in the documentations (i reset permissions on the respective file/directories after the installation and i deleted the install folder) and all the settings for the site DB are correct. what may have been wrong was the site root directory, but if so i have no idea about how to rectify this. Please Help! :(
dmnalven Posted April 14, 2008 Posted April 14, 2008 Have you set up these users, to have access to the osC database you had previously set up, in your hosting service's control panel? For ALL problems, please review this link first -> osCommerce Knowledge Base
Metapheric Posted April 15, 2008 Author Posted April 15, 2008 I think so, I actually installed two things: one was the phpBB3 forum engine, and the other was this. One thing is i remember creating one user account and making both the phpBB3 DB and the osCommerce DB under that user. Could this be causing the problem? I've assigned all privileges for that user account to both the DBs.
Metapheric Posted April 15, 2008 Author Posted April 15, 2008 Then again if you are referring to the "users": mysql'@'10.10.124.196, and vhostswww'@'10.10.124.196 then i honestly don't know. i only found these users when i enter php My admin, but i don't see anyway to modify or assign privileges to them.
dmnalven Posted April 15, 2008 Posted April 15, 2008 The osC install does not automatically create databases or users. Please review the two PINNED topics at the top of this forum and request assistance from your hosting provider for the creation of a database and user accounts. For ALL problems, please review this link first -> osCommerce Knowledge Base
Metapheric Posted April 16, 2008 Author Posted April 16, 2008 Actually i just reinstalled the program (completely) and it seems to be working (at-least the shop is) but i can't seem to get into the admin panel. Instead these are displayed: Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 58105 is not allowed to access owned by uid 0 in /www/zxq.net/g/r/e/greenboxmalaysia/htdocs/catalog/admin/includes/functions/sessions.php on line 165 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /www/zxq.net/g/r/e/greenboxmalaysia/htdocs/catalog/admin/includes/functions/sessions.php:165) in /www/zxq.net/g/r/e/greenboxmalaysia/htdocs/catalog/admin/includes/functions/sessions.php on line 102 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /www/zxq.net/g/r/e/greenboxmalaysia/htdocs/catalog/admin/includes/functions/sessions.php:165) in /www/zxq.net/g/r/e/greenboxmalaysia/htdocs/catalog/admin/includes/functions/sessions.php on line 102 Warning: Cannot modify header information - headers already sent by (output started at /www/zxq.net/g/r/e/greenboxmalaysia/htdocs/catalog/admin/includes/functions/sessions.php:165) in /www/zxq.net/g/r/e/greenboxmalaysia/htdocs/catalog/admin/includes/functions/general.php on line 22 Anyone know what these mean?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.