Hi,
I installed oscmax v1.7 on my PC a while ago and I'm now trying to do the same install for my website.
I ftp'd the catalog directory (fresh copy of oscmax) to my webspace and the install seemed to go Ok however I get the following warnings when I go to the catalog www.******.com/catalog.
Warning: session_save_path() [function.session-save-path]: open_basedir restriction in
effect. File(/tmp) is not within the allowed path(s): (/home/******/public_html in /home/******/public_html/catalog/includes/functions/sessions.php on line 118
Warning: session_start() [function.session-start]: Cannot send session cookie - headers
already sent by (output started at
/home/******/public_html/catalog/includes/functions/sessions.php:11in
/home/******/public_html/catalog/includes/functions/sessions.php on line 67
Warning: session_start() [function.session-start]: Cannot send session cache limiter -
headers already sent (output started at
/home/******/public_html/catalog/includes/functions/sessions.php:11in
/home/******/public_html/catalog/includes/functions/sessions.php on line 67
When I try to access the admin www.******.com/catalog/admin I get the following warnings and I don't even see the admin console!
Warning: session_save_path() [function.session-save-path]: open_basedir restriction in
effect. File(/tmp) is not within the allowed path(s): (/home/******/public_html) in
/home/******/public_html/catalog/admin/includes/functions/sessions.php on line 110
Warning: session_start() [function.session-start]: Cannot send session cookie - headers
already sent by (output started at
/home/******/public_html/catalog/admin/includes/functions/sessions.php:110) in
/home/******/public_html/catalog/admin/includes/functions/sessions.php on line 67
Warning: session_start() [function.session-start]: Cannot send session cache limiter -
headers already sent (output started at
/home/******/public_html/catalog/admin/includes/functions/sessions.php:110) in
/home/******/public_html/catalog/admin/includes/functions/sessions.php on line 67
Warning: Cannot modify header information - headers already sent by (output started at
/home/******/public_html/catalog/admin/includes/functions/sessions.php:110) in
/home/******/public_html/catalog/admin/includes/functions/general.php on line 86
I've found quite a few threads relating to similar warning messages but I still can't sort things out.. guess I'm just being stupid as usual!!
Anyway the things I've tried so far are..
tried install with file session storage and also with database session storage
adding a tmp directory to the root of my webspace.
changed line in catalog/includes/configure.php and catalog/admin/includes/configure.php "define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'"
also followed the advice at osCommerce Knowledge Base: Post-Installation
changed permissions of ALL the files and sub directories in the catalog directory to 777
I know it could ake me a very, very long time to get rid of these warnings without any help so I'd really appreciate some advice.
Thanks
Stuart




LinkBack URL
About LinkBacks










Bookmarks