Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2 problems post install


firestarter

Recommended Posts

aite

i was able to install osc successfully

 

post installatin i got 2 errors, which i am unable to fix

 

 

Warning Warning: I am able to write to the configuration file: /home/*****/public_html/shop/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

Warning Warning: The sessions directory does not exist: /tmp. Sessions will not work until this directory is created.

 

i tried changing the permisions to 444 for the configure.php file but it automatically reverts back to 644??

 

n also where do i make this temp folder? i created in the osc root but the error did not go away

 

 

also 3 more errors on top

 

Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 32069 is not allowed to access owned by uid 0 in /home/*****/public_html/shop/includes/functions/sessions.php on line 148

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/*****/public_html/shop/includes/functions/sessions.php:148) in /home/*****/public_html/shop/includes/functions/sessions.php on line 97

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/*****/public_html/shop/includes/functions/sessions.php:148) in /home/*****/public_html/shop/includes/functions/sessions.php on line 97

 

if i am not wrong, these are due to the second error i guess. if not, then why?

 

 

thanks in advance

Link to comment
Share on other sites

aite

i was able to install osc successfully

 

post installatin i got 2 errors, which i am unable to fix

i tried changing the permisions to 444 for the configure.php file but it automatically reverts back to 644??

 

n also where do i make this temp folder? i created in the osc root but the error did not go away

also 3 more errors on top

if i am not wrong, these are due to the second error i guess. if not, then why?

thanks in advance

 

With regards to your second error you can change the session storage in the file includes/configure.php

 

look for

 

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

 

Replace with

 

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

Regards

 

Mark A Reynolds

Link to comment
Share on other sites

On shared server your sessions need to be in mysql

 

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

 

on both configure.php files.

 

First question. Are trying to change permissions via ftp? If so and not able to then log into your server control panel and change them there. If that doesn't work then your host is not configured correctly for hosting sites to the public and you need to ask them to change the permissions for you.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...