Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2021
    Posts
    32
    Plugin Contributions
    0

    Default Zen Cart upgrade and PHP version issues

    I am using ZC v151

    In the admin panel, it is showing the version is v151 ( as shown in the screenshot below)
    Click image for larger version. 

Name:	ZC version.jpg 
Views:	61 
Size:	26.0 KB 
ID:	19850

    When I clink on check updates, it is showing "Your version of Zen Cart® appears to be current." Why is it so? I am not getting option to upgrade it.

    Click image for larger version. 

Name:	Appears to be current.jpg 
Views:	49 
Size:	20.8 KB 
ID:	19851


    My site is hosted in GoDaddy. The cPanel shows the PHP version is 7.4
    Click image for larger version. 

Name:	PHP version in godaddy.jpg 
Views:	57 
Size:	18.5 KB 
ID:	19852

    But in the admin panel of my site, the server/version info is showing PHP version as 5.6.40. Why is this discrepancy? How to correct it.
    Click image for larger version. 

Name:	PHP version in admin panel.jpg 
Views:	53 
Size:	74.8 KB 
ID:	19853

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,685
    Plugin Contributions
    9

    Default Re: Zen Cart upgrade and PHP version issues

    goDaddy is not my favorite host.

    we know the most current version is 157c. you are running 151. why your 151 version is telling you it is current might be of interest to you. but we know that is wrong; and the why would require a little digging into the code. it seems that section of code is here:

    https://github.com/proseLA/zencart/b....php#L130-L174

    newer versions of zc make use of curl to get the results. but feel free to dig in if you are interested.

    in answer to your next question, overriding of php versions is something that most hosts provide. this can be done on a directory by directory basis (i do not provide hosting services, someone else here might provide more granular info if so desired).

    the version that zc is reporting is what zc is using, so there is an override somewhere further down the chain from where your cpanel is looking.

    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,684
    Plugin Contributions
    123

    Default Re: Zen Cart upgrade and PHP version issues

    > When I clink on check updates, it is showing "Your version of Zen Cart® appears to be current." Why is it so? I am not getting option to upgrade it.

    There were bugs in the version checking logic in older versions like yours. You should still upgrade.

    Just follow the instructions in the doc for upgrading:
    https://docs.zen-cart.com/user/upgrading/
    That Software Guy. My Store: Zen Cart Modifications
    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
    Jan 2021
    Posts
    32
    Plugin Contributions
    0

    Default Re: Zen Cart upgrade and PHP version issues

    Quote Originally Posted by carlwhat View Post
    goDaddy is not my favorite host.

    we know the most current version is 157c. you are running 151. why your 151 version is telling you it is current might be of interest to you. but we know that is wrong; and the why would require a little digging into the code. it seems that section of code is here:

    https://github.com/proseLA/zencart/b....php#L130-L174

    newer versions of zc make use of curl to get the results. but feel free to dig in if you are interested.

    in answer to your next question, overriding of php versions is something that most hosts provide. this can be done on a directory by directory basis (i do not provide hosting services, someone else here might provide more granular info if so desired).

    the version that zc is reporting is what zc is using, so there is an override somewhere further down the chain from where your cpanel is looking.

    best.
    Thank you

  5. #5
    Join Date
    Jan 2021
    Posts
    32
    Plugin Contributions
    0

    Default Re: Zen Cart upgrade and PHP version issues

    Quote Originally Posted by swguy View Post
    > When I clink on check updates, it is showing "Your version of Zen Cart® appears to be current." Why is it so? I am not getting option to upgrade it.

    There were bugs in the version checking logic in older versions like yours. You should still upgrade.

    Just follow the instructions in the doc for upgrading:
    https://docs.zen-cart.com/user/upgrading/
    Thank you

 

 

Similar Threads

  1. v151 smtpauth and PHP Version: 5.2.17 (Zend: 2.2.0) issues
    By mydanilo in forum General Questions
    Replies: 6
    Last Post: 30 Jul 2014, 05:20 PM
  2. PHP Version for older versions of Zen Cart
    By SarahL in forum General Questions
    Replies: 8
    Last Post: 2 Oct 2007, 01:54 PM
  3. Which webhost and PHP/MySQL version best for Zen Cart?
    By dinosoup in forum General Questions
    Replies: 1
    Last Post: 15 May 2007, 04:50 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