Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2008
    Location
    London
    Posts
    10

    Default osCommerce help needed!

    I have installed osCommerce using Fantastico De Luxe but when I try to acces my admin page I get these messages:

    Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 658 is not allowed to access /tmp owned by uid 0 in /home/rebelxcu/public_html/shop/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 /home/rebelxcu/public_html/shop/admin/includes/functions/sessions.php:165) in /home/rebelxcu/public_html/shop/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 /home/rebelxcu/public_html/shop/admin/includes/functions/sessions.php:165) in /home/rebelxcu/public_html/shop/admin/includes/functions/sessions.php on line 102

    Warning: Cannot modify header information - headers already sent by (output started at /home/rebelxcu/public_html/shop/admin/includes/functions/sessions.php:165) in /home/rebelxcu/public_html/shop/admin/includes/functions/general.php on line 22

    can anybody help?

  2. #2

    Post

    Hi John,

    I have corrected the settings on the server under your account. Please try to access the admin panel now

    If you still face any issues, please post them here.. Good Luck
    Cristiano
    Dedicated Server Hosting by eUKhost Ltd.
    r1soft backup plans by eUkhost Ltd.
    MSN :: cristiano @ eukhost.com
    Skype :: cristiano.dawson

  3. #3
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,375

    Smile

    Quote Originally Posted by junkii View Post
    I have installed osCommerce using Fantastico De Luxe but when I try to acces my admin page I get these messages:

    Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 658 is not allowed to access /tmp owned by uid 0 in /home/rebelxcu/public_html/shop/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 /home/rebelxcu/public_html/shop/admin/includes/functions/sessions.php:165) in /home/rebelxcu/public_html/shop/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 /home/rebelxcu/public_html/shop/admin/includes/functions/sessions.php:165) in /home/rebelxcu/public_html/shop/admin/includes/functions/sessions.php on line 102

    Warning: Cannot modify header information - headers already sent by (output started at /home/rebelxcu/public_html/shop/admin/includes/functions/sessions.php:165) in /home/rebelxcu/public_html/shop/admin/includes/functions/general.php on line 22

    can anybody help?
    Hi,

    The "SAFE MODE Restriction in effect" error states that the safe_mode is enabled in PHP. You can turn it off [but that's a bad idea] & check if the error persists. Further more, the occurrence of such error in the past was due to a bug in the OsCommerce, which can be easily fixed by following these steps:

    Go to OsCommerce Admin area / Configuration / Sessions and change the "Sessions Directory" to tmp (no trailing slashes). Click save & recheck.

    If you can't get into the Admin area, launch PHPMyAdmin > Click on any table on the left hand side > Click on SQL at the top of the screen
    Overtype whatever appears in the SQL window with ...

    UPDATE configuration SET configuration_value = 'tmp' WHERE configuration_key='SESSION_WRITE_DIRECTORY'

    Finally click Go for the code to execute.

    You can also just use phpMyAdmin to edit the value directly. It's in configuration table.

    Session Directory SESSION_WRITE_DIRECTORY /tmp

    Simply change /tmp to tmp. Make sure that the tmp directory in your oscommerce installation is world writable, so that the sessions are stored in them Let us know how that goes or if we can be of any further help.. Good luck !

    Rock _a.k.a._ Jack
    Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

  4. #4
    Join Date
    Nov 2008
    Location
    London
    Posts
    10

    Default

    Quote Originally Posted by Cristiano View Post
    Hi John,

    I have corrected the settings on the server under your account. Please try to access the admin panel now

    If you still face any issues, please post them here.. Good Luck
    Thanks! I can now login ok but when I go to the catalogue I get this message at the top of the page:


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

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

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/rebelxcu/public_html/shop/includes/functions/sessions.php:169) in /home/rebelxcu/public_html/shop/includes/functions/sessions.php on line 102
    Warning Warning: I am able to write to the configuration file: /home/rebelxcu/public_html/shop/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

  5. #5
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,375

    Default

    The error has been corrected..

    Rock _a.k.a._ Jack
    Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

  6. #6
    Join Date
    Nov 2008
    Location
    London
    Posts
    10

    Default

    thanks for your help guys!

  7. #7
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,375

    Smile

    Quote Originally Posted by junkii View Post
    thanks for your help guys!
    You're welcome

    Rock _a.k.a._ Jack
    Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •