ZC1.5.5f new install development
xampp
- Apache 2.4.25
- PHP 7.1.1
- MariaDB 10.1.21
More of a annoyance, then a bug.. If you're in development or for some reason zen-cart is not pingable, $newVersionInfo returns a string and not an array! The results is error logs with php warnings of Illegal string offset.
Code:
PHP Warning: Illegal string offset 'versionMajor' in /public_html/admin/includes/classes/VersionServer.php on line 77
The return is an error string
Code:
string(56) "{"error":"Couldn't resolve host 'ping.zen-cart.com'[6]"}"
instead of the expected array
Code:
array(7) { ["versionMajor"]=> string(1) "1"......
Or is there an off switch I didn't find yet?
Bookmarks