Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Sep 2009
    Posts
    7
    Plugin Contributions
    0

    application error Problem with One.COm upgrading to PHP 3.5

    I have the latest version of the Zen Cart. My server One.com has just upgraded their PHP to 3.5. This has stopped our sites with Zen Cart Working.
    We found somebody who said change date_diff to zen_date_diff.

    That got the shop working again but not the control panel. We have basic knowlege - we can search text in PHP files and replace it - BUT we dont have a full understanding of how PHP works. We only have html background. SO please make any explanation idiot proof. Also please reply to [email protected] if you can as we are not brilliant in forums either and dont want to miss a reply.

    PS the site is normal as it comes - upgraded to the latest version with no add ons. All security tips have been carried out and the sites were working perfectly till One.COm started playing around with them. Please Help...

  2. #2
    Join Date
    Sep 2009
    Posts
    7
    Plugin Contributions
    0

    red flag Lots of "Deprecated" Error messages appearing after Sever Upgraded PHP version

    I am getting these error messages when trying to get to my control panel - howver the shop works fine:


    Deprecated: Assigning the return value of new by reference is deprecated in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/includes/functions/functions_email.php on line 161

    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/includes/functions/functions_email.php:161) in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/includes/functions/sessions.php on line 108

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/includes/functions/functions_email.php:161) in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/includes/functions/sessions.php on line 108

    Deprecated: Function ereg_replace() is deprecated in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/includes/functions/sessions.php on line 112

    Deprecated: Function eregi() is deprecated in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/control/includes/classes/language.php on line 100

    Deprecated: Function eregi() is deprecated in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/control/includes/classes/language.php on line 100

    Deprecated: Function eregi() is deprecated in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/control/includes/classes/language.php on line 100

    Deprecated: Function eregi() is deprecated in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/control/includes/classes/language.php on line 100

    Deprecated: Function eregi() is deprecated in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/control/includes/classes/language.php on line 100

    Deprecated: Function eregi() is deprecated in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/control/includes/classes/language.php on line 100

    Deprecated: Function eregi() is deprecated in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/control/includes/classes/language.php on line 100

    Deprecated: Function eregi() is deprecated in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/control/includes/classes/language.php on line 100

    Deprecated: Function eregi() is deprecated in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/control/includes/classes/language.php on line 100

    Warning: Cannot modify header information - headers already sent by (output started at /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/includes/functions/functions_email.php:161) in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/control/includes/init_includes/init_templates.php on line 36

    Warning: Cannot modify header information - headers already sent by (output started at /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/includes/functions/functions_email.php:161) in /customers/snackshoplewes.co.uk/snackshoplewes.co.uk/httpd.www/catalog/control/includes/functions/general.php on line 21


    Can anyone help??? Also - please email me if you can on [email protected] as I dont want to miss your replies.

    Thanks to anyone that can help.

  3. #3
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Lots of "Deprecated" Error messages appearing after Sever Upgraded PHP version

    The errors would indicate that you are using an old version of Zen Cart which is not compatible with PHP 5. You need to upgrade to the latest version (v1.3.8a).

    Regards,
    Christian.

  4. #4
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Lots of "Deprecated" Error messages appearing after Sever Upgraded PHP version

    It looks like you're using PHP 5.3, in which case even Zen Cart 1.3.8a is incompatible.

  5. #5
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Lots of "Deprecated" Error messages appearing after Sever Upgraded PHP version

    Quote Originally Posted by Steven300 View Post
    It looks like you're using PHP 5.3, in which case even Zen Cart 1.3.8a is incompatible.
    I missed that. Well spotted.

    Regards,
    Christian.

  6. #6
    Join Date
    Sep 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Lots of "Deprecated" Error messages appearing after Sever Upgraded PHP version

    Thanks - I should have pointed out that I am using the latest version of Zen Cart Software. Also I was advised to change entries date_diff to zen_date_diff in all files. This got the shop working but not the control panel. Somebody else suggested changing "ereg('^[0-9]',$key)" to preg_match('/^[0-9]/',$key) - however this is starting to exceed my php knowledge which is beginner at best. In other words I am comfortable editing something but am not sure what some of the bits I am editing do or refer to. One.com have been exceedingly unhelpful. They say that some of their users running Zen Cart Software have fixed their versions. But dont seem to know how. They gave us no warning that they were upgrading and we might all be without our shop. Please help anyone - Thanks.

  7. #7
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Lots of "Deprecated" Error messages appearing after Sever Upgraded PHP version

    This is a good example of why to choose a Certified Host who focus on Zen Cart.

    Have you considered moving to one of them?

  8. #8
    Join Date
    Sep 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Lots of "Deprecated" Error messages appearing after Sever Upgraded PHP version

    I hadnt considered it but certainly am now. Who would you recommend. And how scary is it to move a whole cart installation because it took moths of customising. We have downloaded backups - but is it easy or really hard to move servers - do you have any recommendations or places to look for good advice about moving?

  9. #9
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Lots of "Deprecated" Error messages appearing after Sever Upgraded PHP version

    It's really easy to move. In fact, a lot of the Certified Hosts can move your site themselves for free.

    Related Tutorial/FAQ: https://www.zen-cart.com/tutorials/i...hp?article=100

    Unfortunately hosting recommendations can only be made via PM, and I only have experience with UK hosts.

    Edit: Just noticed your site is in the UK, I'll send you a PM.

  10. #10
    Join Date
    Sep 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Lots of "Deprecated" Error messages appearing after Sever Upgraded PHP version

    Thank you so much - you are very helpful. I am lucky you were online at the time!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 31 Aug 2012, 06:35 PM
  2. Having problem with order.php and checkout_process.php with OLD Zen Cart v1.2.3
    By wolfbane01 in forum Managing Customers and Orders
    Replies: 0
    Last Post: 28 Jul 2010, 01:56 AM
  3. problem with upgrading
    By yaginuk in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 19 May 2010, 09:43 PM
  4. Problem after upgrading PHP
    By JBMoney in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 1 Sep 2009, 02:28 AM
  5. ist one in with a question on upgrading 1.3.6 to 1.3.7
    By Goshawk in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 30 Dec 2006, 10:09 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR