Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation setup warnings


Guest

Recommended Posts

Hi, I have just installed os Commerce and during setup encountered these errors and request help on fixing them, I can find the files and do not no what to change in each line of code, Please Help..

 

below are the warnings that are stopping me proceeeding with admin set up etc.

 

 

Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid/gid is 7044/7044 is not allowed to access owned by uid/gid 0/0 in /mounted-storage/home10/sub002/sc16079-EZCP/alphaxstore.com/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 /mounted-storage/home10/sub002/sc16079-EZCP/alphaxstore.com/catalog/admin/includes/functions/sessions.php:165) in /mounted-storage/home10/sub002/sc16079-EZCP/alphaxstore.com/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 /mounted-storage/home10/sub002/sc16079-EZCP/alphaxstore.com/catalog/admin/includes/functions/sessions.php:165) in /mounted-storage/home10/sub002/sc16079-EZCP/alphaxstore.com/catalog/admin/includes/functions/sessions.php on line 102

 

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home10/sub002/sc16079-EZCP/alphaxstore.com/catalog/admin/includes/functions/sessions.php:165) in /mounted-storage/home10/sub002/sc16079-EZCP/alphaxstore.com/catalog/admin/includes/functions/general.php on line 22

 

any help would be appreciated

 

kind regards

 

Michael

Link to comment
Share on other sites

That's a problem with your server settings. If you are encountereing this on a development server, turn off Safe Mode in your php.ini. If you re seing this on a hosted account, the best thing to do is change hosts. You can work around it, but it will be a lot of extra work.

 

To work around the current problem, edit your catalog/includes/configure.php and catalog/admin/includes/configure.php and change the last define to

  define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

That's a problem with your server settings. If you are encountereing this on a development server, turn off Safe Mode in your php.ini. If you re seing this on a hosted account, the best thing to do is change hosts. You can work around it, but it will be a lot of extra work.

 

To work around the current problem, edit your catalog/includes/configure.php and catalog/admin/includes/configure.php and change the last define to

  define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

Regards

Jim

 

 

Thanks Jim I have changed the code as you said but no changes still have the warnings at top of page?

 

mike

Link to comment
Share on other sites

I told you this was going to be painful. Try setting Admin > Configuration > Sessions > Session Directory to a directory in your web root. Use the full path. I would create a new directory for this.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

I told you this was going to be painful. Try setting Admin > Configuration > Sessions > Session Directory to a directory in your web root. Use the full path. I would create a new directory for this.

 

Regards

Jim

 

 

Hmm, thanks ok, I have changed the two configs code and also turned off safe mode and safe mode GID but still get the warnings have you any other suggestions?

 

thanks loads

 

Mike

Link to comment
Share on other sites

Hmm, thanks ok, I have changed the two configs code and also turned off safe mode and safe mode GID but still get the warnings have you any other suggestions?

 

thanks loads

 

Mike

 

Hi Jim,

 

Tis all ok now turning off safe mode has worked just took a while to take effect just come back to it and all is well.

 

Many thanks again, I am sure this will not be my last post hehe :rolleyes:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...