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?
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.
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.
.
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.
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.
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
@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.
Bookmarks