Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2006
    Location
    Australia
    Posts
    22
    Plugin Contributions
    0

    help question New Upgrade - No Admin and Safe Mode problem. Please Help!

    Hi Everyone,

    Please excuse me if this question has been answered before, I have searched high and low through the threads and found nothing.

    My problem is this:

    I upgraded Zencart 1.3.0.2 to 1.3.7. After the upgrade happened I got these warnings on the page:

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

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

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

    Warning: Cannot modify header information - headers already sent by (output started at /home/craftyon/public_html/shop/includes/functions/sessions.php:151) in /home/craftyon/public_html/shop/includes/init_includes/init_templates.php on line 78

    My website is: http://craftyones.com.au/shop

    The first problem is, why all of a sudden is it telling me safe mode is on? I didn't have this problem before.

    I also have another Zen Cart installation on my site: http://craftyones.com.au/wholesale with 1.3.7 installed and safe mode is not on. (This was a clean install).

    The second problem is that I can't access the admin page now, it just tells me this:

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

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

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

    Warning: Cannot modify header information - headers already sent by (output started at /home/craftyon/public_html/shop/includes/functions/sessions.php:151) in /home/craftyon/public_html/shop/admin/includes/init_includes/init_templates.php on line 36

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

    Could someone please help me understand what I have done wrong?

    Thanks

    Beck

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: New Upgrade - No Admin and Safe Mode problem. Please Help!

    Are both Carts on the exact same server?

    Did you load the database clean or from the other site?

    Where are your sessions stored?

    Can you get into the Admin for the /shop ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Aug 2006
    Location
    Australia
    Posts
    22
    Plugin Contributions
    0

    Default Re: New Upgrade - No Admin and Safe Mode problem. Please Help!

    Hi Ajeh,

    Both carts are on the same server.

    I loaded the database clean.

    The sessions are stored in the database.

    No, I can't access the admin for the shop.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: New Upgrade - No Admin and Safe Mode problem. Please Help!

    When you ran the zc_install stage to upgrade the database, what warnings did it give you, if any?

    If you upload the fix_cache_key tool to your server, what does it tell you (link here: http://www.zen-cart.com/index.php?ma...products_id=82 )

    What addons are installed on this shop, both before and after the upgrade?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Aug 2006
    Location
    Australia
    Posts
    22
    Plugin Contributions
    0

    Default Re: New Upgrade - No Admin and Safe Mode problem. Please Help!

    The only warning I got was that PHP Safe Mode is on.

    I ran the cache tool and got the following:

    Recommendations
    Possible appropriate cache directory for your site is: /home/craftyon/public_html/shop/cache


    Actual Information
    Read DIR_FS_SQL_CACHE from configure.php: /home/craftyon/public_html/shop/cache
    Found SESSION_WRITE_DIRECTORY in database: /tmp

    Now synchronizing...
    Database now contains the following SESSION_WRITE_DIRECTORY: /home/craftyon/public_html/shop/cache

    Finished.

    I haven't installed add ons to my shop site.

  6. #6
    Join Date
    Aug 2006
    Location
    Australia
    Posts
    22
    Plugin Contributions
    0

    Default Re: New Upgrade - No Admin and Safe Mode problem. Please Help!

    I can now access my Admin. Yay!!!!!!!!! Thanks so much.

    Still have the following errors at top of page:

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

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

    Warning: Cannot modify header information - headers already sent by (output started at /home/craftyon/public_html/shop/includes/configure.php:66) in /home/craftyon/public_html/shop/includes/init_includes/init_templates.php on line 78

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: New Upgrade - No Admin and Safe Mode problem. Please Help!

    Try now ... they both looked happy to me ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Aug 2006
    Location
    Australia
    Posts
    22
    Plugin Contributions
    0

    Default Re: New Upgrade - No Admin and Safe Mode problem. Please Help!

    I have fixed the last problem. It was a couple of extra lines at the end of the config file.

    I can't thank you enough for your help. It is much appreciated.

    Beck

 

 

Similar Threads

  1. Replies: 5
    Last Post: 13 Sep 2011, 11:35 PM
  2. PHP safe mode ON - really a problem?
    By Janastrn in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 21 Jul 2009, 07:13 PM

Posting Permissions

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