PDA

View Full Version : osCommerce permissions error message


olivier
1-2-05, 06:41 PM
After installing osCommerce, I resolved the installation errors except this one: Warning: session_start(): open(/tmp/sess_1498128a1e3f110f18956d56bd8fee80, O_RDWR) failed: Permission denied (13) in /www/m/mysite/htdocs/osCommerce/catalog/admin/includes/functions/sessions.php on line 67. I can edit the line in question, but I don't know what to edit it to. Can anyone help?

stevel
1-2-05, 08:40 PM
In your two configure.php files, one in catalog/includes and one in catalog/admin/includes, towards the bottom there is a define of STORE_SESSIONS with a value of the empty string. Change it to be defined as 'mysql'.

olivier
1-3-05, 10:29 AM
In your two configure.php files, one in catalog/includes and one in catalog/admin/includes, towards the bottom there is a define of STORE_SESSIONS with a value of the empty string. Change it to be defined as 'mysql'.
Cool! It worked great. Thanks, Steve, for the assist.

Tiki Man
1-5-05, 07:49 AM
Thank you Steve.

This was also a problem for my osCommerce installation.
Something must have changed on the server just last week.

I was all ready for a big night of code surveillance :rolleyes:

stevel
1-5-05, 10:18 AM
It did change last month sometime where the use of a shared temp folder for sessions was no longer permitted.