Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / New Upgrade - No Admin and Safe Mode problem. Please Help!

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

Locked

Views: 8,018

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
18 Jun 2007, 12:28 AM
#1
beckinoz avatar

beckinoz

New Zenner

Join Date:
Aug 2006
Location:
Australia
Posts:
22
Plugin Contributions:
0

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

18 Jun 2007, 2:14 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 ...

18 Jun 2007, 2:56 AM
#3
beckinoz avatar

beckinoz

New Zenner

Join Date:
Aug 2006
Location:
Australia
Posts:
22
Plugin Contributions:
0

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.

18 Jun 2007, 3:03 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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?main_page=product_contrib_info&cPath=40_54&products_id=82 )

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

18 Jun 2007, 3:11 AM
#5
beckinoz avatar

beckinoz

New Zenner

Join Date:
Aug 2006
Location:
Australia
Posts:
22
Plugin Contributions:
0

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.

18 Jun 2007, 3:13 AM
#6
beckinoz avatar

beckinoz

New Zenner

Join Date:
Aug 2006
Location:
Australia
Posts:
22
Plugin Contributions:
0

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

18 Jun 2007, 3:19 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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

Try now ... they both looked happy to me ... :smile:

18 Jun 2007, 3:20 AM
#8
beckinoz avatar

beckinoz

New Zenner

Join Date:
Aug 2006
Location:
Australia
Posts:
22
Plugin Contributions:
0

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