Jump to content

Error shop frontoffice and backoffice ShopUrl.php on line 154 please help me anyone


Recommended Posts

now i am in trouble

I just uninstall and try to install google sitemap . than start having this error

 

Strict Standards: ShopUrlCore::cacheMainDomainForShop() [shopurlcore.cachemaindomainforshop]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home1/mydomain/public_html/classes/shop/ShopUrl.php on line 154

Notice: Trying to get property of non-object in /home1/mydomain/public_html/classes/shop/ShopUrl.php on line 154

Strict Standards: header() [function.header]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home1/mydomain/public_html/classes/exception/PrestaShopException.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home1/mydomain/public_html/override/classes/shop/Shop.php:2) in /home1/smartgsm/public_html/classes/exception/PrestaShopException.php on line 37

[PrestaShopDatabaseException]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 4

post-77824-0-83378400-1383652559_thumb.png

Edited by johnme (see edit history)
Link to comment
Share on other sites

Now time zone problem Solved by hosting company

 

but now again another error

 

Notice: Trying to get property of non-object in /home1/mydomain/public_html/classes/shop/ShopUrl.php on line 154

Warning: Cannot modify header information - headers already sent by (output started at /home1/mydomain/public_html/override/classes/shop/Shop.php:2) in /home1/mydomain/public_html/classes/exception/PrestaShopException.php on line 37

 

i check the line 154

($id_shop !== null ? (int)$id_shop : Context::getContext()->shop->id));

Link to comment
Share on other sites

×
×
  • Create New...