Page 1 of 5 123 ... LastLast
Results 1 to 10 of 43
  1. #1
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Upgrade to PHP 7.0 or PHP 7.2 breaks my website

    [Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here. And, remove this comment before actually posting!]

    using zen 1.5.5 and PHP 5.6. When i try to upgrade to PHP 7.0 or PHP 7.2, all my categories do not show up on the website. The category pages do not show any sub-categories. i've attached the same page using PHP 5.6 and PHP 7.2

    actually when i try to upgrade to PHP 7.0, i get mysql errors and no pages come up. PHP 7.2 brings pages up but shows no subcategories.

    Click image for larger version. 

Name:	2018-11-12_1730.jpg 
Views:	115 
Size:	26.2 KB 
ID:	18118Click image for larger version. 

Name:	2018-11-12_1729.jpg 
Views:	91 
Size:	31.6 KB 
ID:	18119
    Last edited by lidlchris; 13 Nov 2018 at 01:36 AM. Reason: added

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,699
    Plugin Contributions
    11

    Default Re: Upgrade to PHP 7.0 or PHP 7.2 breaks my website

    7.2 will not work...

    i had some problems with 7.0.

    did you try it with 7.1?

    rather than providing screenshots, do you have any log files? but i would first try 7.1.

    7.2 does not play well with any released ZC version. see:

    https://www.zen-cart.com/content.php...o-run-zen-cart

    try 7.1 and post any log files if it does not work.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,733
    Plugin Contributions
    323

    Default Re: Upgrade to PHP 7.0 or PHP 7.2 breaks my website

    Have you followed the suggested PHP7 changes noted in this thread:
    https://www.zen-cart.com/showthread....-1-5-6-already
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: Upgrade to PHP 7.0 or PHP 7.2 breaks my website

    Quote Originally Posted by carlwhat View Post
    7.2 will not work...

    i had some problems with 7.0.

    did you try it with 7.1?

    rather than providing screenshots, do you have any log files? but i would first try 7.1.

    7.2 does not play well with any released ZC version. see:

    https://www.zen-cart.com/content.php...o-run-zen-cart

    try 7.1 and post any log files if it does not work.

    best.
    for some reason my server configuration doesn't have 7.1 installed.

  5. #5
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,699
    Plugin Contributions
    11

    Default Re: Upgrade to PHP 7.0 or PHP 7.2 breaks my website

    contact your host and find out why.... i would be curious....

    7.1 is still in support:

    http://php.net/supported-versions.php

    manually upgrading all of you zc 155 files to make it 7.2 compatible is a lot of work, and would be redundant once the next version of zc comes out and you decide to upgrade.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  6. #6
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,595
    Plugin Contributions
    30

    Default Re: Upgrade to PHP 7.0 or PHP 7.2 breaks my website

    This thread is not clear.

    The current Zen Cart 1.55f will work up to php 7.1, so anyone being forced off php5 by their hosting should upgrade to this version.

    Hosting should offer php7.1, no reason why they cannot.

    If you must use 7.2 you will have to manually integrate the changes made in the 1.56 development branch on Github to be compatible with 7.2. Not recommended at all.
    In my opinion it would be quicker/easier to change to a host that does allow 7.1.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  7. #7
    Join Date
    Jan 2004
    Posts
    66,378
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Upgrade to PHP 7.0 or PHP 7.2 breaks my website

    Quote Originally Posted by torvista View Post
    Hosting should offer php7.1, no reason why they cannot.
    Ya, the general consensus is that PHP 7.0 is pointless since 7.1 is even faster and mostly no breaking changes between 7.0 and 7.1 -- It's rare to see 7.0 on a server nowadays.
    Usually I see 5.6, 7.1, and 7.2.

    Next month when 7.3 is officially released I expect it to replace 7.2 while I think we'll still see 5.6 and 7.1 offered for awhile yet (despite them being officially unsupported by end of year). That said, I'll always recommend the newest version that's compatible with your app (ie: ZC and your plugins) requirements.
    .

    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.

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,733
    Plugin Contributions
    323

    Default Re: Upgrade to PHP 7.0 or PHP 7.2 breaks my website

    Note that all PHP versions below 7.2 will go out of support by the end of the year.

    http://php.net/supported-versions.php
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #9
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: Upgrade to PHP 7.0 or PHP 7.2 breaks my website

    got my hosting company to add PHP 7.1 and i moved the website to 7.1 but the same thing happens that happened in PHP 7.2 - Subcategories do not shop up on any pages (see my screenshots above). Also, using PHP 7.1, my admin area brings up a BLANK screen.

  10. #10
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: Upgrade to PHP 7.0 or PHP 7.2 breaks my website

    Quote Originally Posted by carlwhat View Post
    7.2 will not work...

    i had some problems with 7.0.

    did you try it with 7.1?

    rather than providing screenshots, do you have any log files? but i would first try 7.1.

    7.2 does not play well with any released ZC version. see:

    https://www.zen-cart.com/content.php...o-run-zen-cart

    try 7.1 and post any log files if it does not work.

    best.
    The log file is empty after upgrading to PHP 7.1 and still admin section is blank and no subcategories are showing up on the site.

 

 
Page 1 of 5 123 ... LastLast

Similar Threads

  1. Replies: 4
    Last Post: 17 Jul 2015, 04:44 AM
  2. v139h my site breaks after php upgrade to 5.4 session problems
    By hookah in forum General Questions
    Replies: 3
    Last Post: 7 Aug 2013, 05:11 PM
  3. 1.3.7 upgrade to PHP 5.3 - will it break it for previous PHP ?
    By boxes in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 15 Jun 2010, 05:16 PM
  4. How do I upgrade the PHP for a live website?
    By bobby8685 in forum Installing on a Windows Server
    Replies: 1
    Last Post: 29 Apr 2007, 08:00 PM

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