The first error is due to file permission's. It is saying that a file is
"OWNED" by USER 0. USER 0 is the default user usually 'nobody' or 'apache'.

You have to change the file and folder permission's to allow access to
"GROUP". This often results when you use FTP to upload files as files
uploaded this way have your OWNER ID which is 16617 and your USER NAME.

Find the folder that is used to store/cache the php sessions and change it's
permission's along with any files in this directory that are used by the
script.

The second error is the result of an extra character in a script some where
before the sessionstart() in sessions.php This could be anything even a
single space. This could be in a file that is include()'ed. The session has
to be sent from the server first, it cannot be sent after anything else.

Remember that a closing php tag must have a trailing space ie; '?>  ' so
make sure that nothing is included in the script before the sessionstart()
unless it is the script that has sessionstart() that is included.

If you still have trouble with file owners then let me know. I have a script
here to change ownership to the default user.

----- Original Message ----- 
From: "suresh_mutyam"

Hi OSCOMMERCE experts. I am trying to install oscommerce on my website.
Installaion was successfull. But sessions not working. When i visit my
homepage (/catalog/) it is giving following error

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

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



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php-list/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to