Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 43
  1. #31
    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
    lidlchris, try and read the log. we have fixed the first error, now there is a new error. the log file points the way to where the error is.... the previous script is fixed, and it is now not mentioned in the log, so we do not need to see that file.

    the answer you seek for this new logged error is here:

    https://www.zen-cart.com/showthread....07#post1341007

    best.
    thank you.. i'll have a look..

  2. #32
    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
    lidlchris, try and read the log. we have fixed the first error, now there is a new error. the log file points the way to where the error is.... the previous script is fixed, and it is now not mentioned in the log, so we do not need to see that file.

    the answer you seek for this new logged error is here:

    https://www.zen-cart.com/showthread....07#post1341007

    best.
    You're the best.. that simple fix worked.. thank you.

  3. #33
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

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

    i've been having so many issues over the last few days since upgrading to PHP 7.1. I've managed to solve all of them so far but new ones pop up every day. Here's the latest one and i can't figure it out - from the log:

    [19-Nov-2018 21:46:20 UTC] PHP Warning: mysqli_connect(): (HY000/2002): No such file or directory in /home/honor/public_html/includes/classes/db/mysql/query_factory.php on line 64
    [19-Nov-2018 21:46:20 UTC] Request URI: /?zenid=c9e07379a910cbbe364e3056a0482347, IP address: 220.243.135.38
    #1 mysqli_connect() called at [/home/honor/public_html/includes/classes/db/mysql/query_factory.php:64]
    #2 queryFactory->connect() called at [/home/honor/public_html/includes/init_includes/init_database.php:23]
    #3 require(/home/honor/public_html/includes/init_includes/init_database.php) called at [/home/honor/public_html/includes/autoload_func.php:48]
    #4 require(/home/honor/public_html/includes/autoload_func.php) called at [/home/honor/public_html/includes/application_top.php:170]
    #5 require(/home/honor/public_html/includes/application_top.php) called at [/home/honor/public_html/index.php:26]


    any ideas?

  4. #34
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

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

    I would not call this a PHP 7 bug - it's just a bad url.
    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.

  5. #35
    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 swguy View Post
    I would not call this a PHP 7 bug - it's just a bad url.
    what does that mean??? the coding it seems to be erroring out on is:
    HTML Code:
    $this->link = mysqli_connect($zf_host, $zf_user, $zf_password, $zf_database, (defined('DB_PORT') ? DB_PORT : NULL), (defined('DB_SOCKET') ? DB_SOCKET : NULL));
          $connectionRetry--;

  6. #36
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

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

    You're getting overwhelmed by traffic from China. You should block it. See

    https://www.zen-cart.com/showthread....ns-quot-errors
    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.

  7. #37
    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 swguy View Post
    You're getting overwhelmed by traffic from China. You should block it. See

    https://www.zen-cart.com/showthread....ns-quot-errors
    thanks, i'll have a look.

  8. #38
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

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

    Quote Originally Posted by lidlchris View Post
    [19-Nov-2018 21:46:20 UTC] PHP Warning: mysqli_connect(): (HY000/2002): No such file or directory
    This error message appears when MySQL fails to respond to a connection request. As swguy mentioned, probably due to traffic overload vs your server's MySQL config capacity.
    .

    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.

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

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

    plugging along in fixing errors - most related to PHP 7.1 but not all. Here's the latest. Under PHP 7.1 my 'modules/payment' screen is missing all my options as well as the ability to edit any option - see attached screenshots under PHP 5.6 and PHP 7.1.

    Click image for larger version. 

Name:	2018-11-20_1724.jpg 
Views:	36 
Size:	22.4 KB 
ID:	18125
    Click image for larger version. 

Name:	2018-11-20_1723.jpg 
Views:	39 
Size:	36.4 KB 
ID:	18126

    here is the error in the log when i access that screen:

    [21-Nov-2018 00:21:28 UTC] PHP Parse error: syntax error, unexpected '[', expecting ',' or ';' in /home/honor/public_html/includes/modules/payment/linkpoint_api.php on line 306
    Last edited by lidlchris; 21 Nov 2018 at 01:30 AM. Reason: add

  10. #40
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,691
    Plugin Contributions
    9

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

    Quote Originally Posted by lidlchris View Post
    plugging along in fixing errors - most related to PHP 7.1 but not all. Here's the latest. Under PHP 7.1 my 'modules/payment' screen is missing all my options as well as the ability to edit any option - see attached screenshots under PHP 5.6 and PHP 7.1.

    Click image for larger version. 

Name:	2018-11-20_1724.jpg 
Views:	36 
Size:	22.4 KB 
ID:	18125
    Click image for larger version. 

Name:	2018-11-20_1723.jpg 
Views:	39 
Size:	36.4 KB 
ID:	18126

    here is the error in the log when i access that screen:

    [21-Nov-2018 00:21:28 UTC] PHP Parse error: syntax error, unexpected '[', expecting ',' or ';' in /home/honor/public_html/includes/modules/payment/linkpoint_api.php on line 306
    @lidlchris,
    see:
    https://www.zen-cart.com/showthread....ssing-in-v155a

    linkpoint was removed in v155

    your old screen shot also shows you as not using it.

    you can safely delete the file referenced in your error log and then recheck again under modules/payment.

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

 

 
Page 4 of 5 FirstFirst ... 2345 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