memel
June 24, 2018, 12:00am
1
Hello,
Have a strange issue. Have a 100% authentic copy of website on my localhost and vendor location working without problem.
But not working on my server. If I add filter vendor distance, the page goes down - Service unavailable.
Data base and all files authentic "copy/paste" from server. PHP 7.2.6 same on both.
Only one difference is: localhost not secure https.
Please any advice appreciated.
Regards
Check source code of the Service unavailable page (Ctrl + U). Error details should be displayed at the bottom
memel
June 25, 2018, 12:00am
3
I got this error:
PHP Fatal Error Message Uncaught Error: Call to a member function toArray() on string in /home/*****/public_html/var/cache/templates/thin_theme/372c9699d8760f3266284db3758b9fe9a1267699.tygh.product_filter_location_zone.tpl.php:211 Stack trace: #0 /home/*****/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(188): content_5b30d8faefabc4_07441813(Object(Smarty_Internal_Template)) #1 /home/******/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(304): Smarty_Internal_TemplateBase->fetch(Object(Smarty_Internal_Template), NULL, NULL, NULL, false, false, true) #2 /home/******/public_html/var/cache/templates/thin_theme/80f95c18df6d2a36a6c447d116411b008f8b3de2.tygh.product_filters_variants_element.override.tpl.php(65): Smarty_Internal_Template->getSubTemplate('addons/vendor_l...', NULL, NULL, 0, NULL, Array, 0) #3 /home/******/public_html/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(188): content_5b2f746f7f8bf2_73171704(O Error at var/cache/templates/thin_theme/372c9699d8760f3266284db3758b9fe9a1267699.tygh.product_filter_location_zone.tpl.php, line: 211 Backtrace -->
memel
June 25, 2018, 12:00am
5
Didn't help it.
Can be that I have missing some settings in PHP on the server?
Regards
I am not familiar with Multivendor but if there are any google api calls then they must be secured/https.
Not sure if the product_filter_location_zone.tpl file is a part of CS-Cart core. Do you have any 3rd party addons related with filters?
memel
June 26, 2018, 12:00am
8
Not sure if the product_filter_location_zone.tpl file is a part of CS-Cart core. Do you have any 3rd party addons related with filters?
I have installed addon IP Geolocation by MaxMind. I tried disable it but the same result. Strange is, that I did identical copy from server to localhost and it works on localhost without problem even https .