giovas Posted August 23, 2011 Posted August 23, 2011 After instalation, I get the following errors in the ADMIN page and cannot access: Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid/gid is 1003371/1003371 is not allowed to access /tmp owned by uid/gid 0/0 in /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/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 /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/admin/includes/functions/sessions.php:165) in /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/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 /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/admin/includes/functions/sessions.php:165) in /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/admin/includes/functions/sessions.php on line 102 Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/admin/includes/functions/sessions.php:165) in /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/admin/includes/functions/general.php on line 22 And on the catalog site, I guet the following BEFORE the template design: Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid/gid is 1003371/1003371 is not allowed to access /tmp owned by uid/gid 0/0 in /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/includes/functions/sessions.php on line 169 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/includes/functions/sessions.php:169) in /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/includes/functions/sessions.php on line 102 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/includes/functions/sessions.php:169) in /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/includes/functions/sessions.php on line 102 What do I do ti fix all of this? Thanks!
BryceJr Posted August 24, 2011 Posted August 24, 2011 Create a folder(call it "temp") inside your tienda directory/folder and give it 755 permission. Log in to your PhpMyAdmin and look in your database>> follow the screenshots On the third screenshot where it says /tmp, change that to /home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/temp/ Save it . Also, make sure you have this entry in your configure.php files. define('STORE_SESSIONS', 'mysql');
giovas Posted August 25, 2011 Author Posted August 25, 2011 I'm still getting errors... I'm sorry, I'm new at this! At the ADMIN page, I get this: Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13) in /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/admin/includes/functions/database.php on line 19 Unable to connect to database server! And at the store page, I get this BEFORE the template design: Warning: session_save_path() [function.session-save-path]: Unable to access /home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/temp/ in /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/includes/functions/sessions.php on line 169 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/includes/functions/sessions.php:169) in /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/includes/functions/sessions.php on line 102 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/includes/functions/sessions.php:169) in /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/includes/functions/sessions.php on line 102 What do I do to make it work? Thanks in advance!
BryceJr Posted August 25, 2011 Posted August 25, 2011 At the ADMIN page, I get this: Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13) in /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/admin/includes/functions/database.php on line 19 Unable to connect to database server! Check your database information. Your admin configure file should be identical with your tienda configure file. define('DB_SERVER', ''); define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', ''); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); And at the store page, I get this BEFORE the template design: Warning: session_save_path() [function.session-save-path]: Unable to access /home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/temp/ in /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/includes/functions/sessions.php on line 169 ... Follow the instructions as above and change /home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/temp/ to /mounted-storage/home129/sub008/sc70824-KNWA/naranjadulceflores.com/tienda/temp
giovas Posted August 25, 2011 Author Posted August 25, 2011 Thank you Bryce! The store doesn't give me any error messages anymore, but the admin panel... It says that the URL (login.php) cannot be found, I checked the server for the file and it is there. You can check out both here: Store: http://www.naranjadulceflores.com/tienda/ Admin: http://www.naranjadulceflores.com/admin/ Any more ideas you have under your sleeve, you god of oscommerce code!!!!!!!!
BryceJr Posted August 25, 2011 Posted August 25, 2011 Your url for admin is www.naranjadulceflores.com/tienda/admin/. Re-check your admin configure file. One more thing, your admin panel is vulnerable to attack. You are more likely to get hacked. Protect your store. 1. Secure your osC Admin Panel 2. Updated Security
giovas Posted August 26, 2011 Author Posted August 26, 2011 Still can't display the admin page, the configure file is fine
BryceJr Posted August 27, 2011 Posted August 27, 2011 Still can't display the admin page, the configure file is fine Your admin configure file should look like this. define('HTTP_SERVER', 'http://www.naranjadulceflores.com'); define('HTTP_CATALOG_SERVER', 'http://www.naranjadulceflores.com'); define('HTTPS_CATALOG_SERVER', 'https://www.naranjadulceflores.com'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', $_SERVER['DOCUMENT_ROOT'] . '/'); define('DIR_WS_ADMIN', '/tienda/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/tienda/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
Recommended Posts
Archived
This topic is now archived and is closed to further replies.