AbanteCart Community
Shopping Cart Operations => Support => Topic started by: popustda on July 03, 2015, 11:24:21 AM
-
Hello,
can some1 please check my logfile and tell me what is this related to? its not pleasant to receive these messages every 3seconds lol
2015-07-03 17:19:03 - warning: AbanteCart core v.1.1.9 fopen(/home/budicol9/public_html/system/cache/product/product.all_info.2162215921562154215721552149215321502147215121522143214521442146213921412142213521362137213421322133213121292130212821262125212321242121212021102111210920952112210121002102209420932092209620972098210321042105210621072108209020872088208920912086208220832081208420802076207720782079207420732075206120572058205920602067206820692071206220632052205420562055.1.4_0.1436023143) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: File name too long in <b>/home/budicol9/public_html/core/lib/cache.php</b> on line <b>163</b>
2015-07-03 17:19:03 - warning: AbanteCart core v.1.1.9 fwrite() expects parameter 1 to be resource, boolean given in <b>/home/budicol9/public_html/core/lib/cache.php</b> on line <b>164</b>
2015-07-03 17:19:03 - warning: AbanteCart core v.1.1.9 fclose() expects parameter 1 to be resource, boolean given in <b>/home/budicol9/public_html/core/lib/cache.php</b> on line <b>165</b>
-
can someone please help me. now i have a new critical error showing. i dont know why is this happening
-
for those that cant see the image , i ma pasting the content
MySQL class error: Try to escape non-string value: array ( 0 => '4222', ) in /home/budicol9/public_html/core/database/mysql.php on line 128
-
Hello,
can some1 please check my logfile and tell me what is this related to? its not pleasant to receive these messages every 3seconds lol
2015-07-03 17:19:03 - warning: AbanteCart core v.1.1.9 fopen(/home/budicol9/public_html/system/cache/product/product.all_info.2162215921562154215721552149215322052205420562055.1.4_0.1436023143) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: File name too long in <b>/home/budicol9/public_html/core/lib/cache.php</b> on line <b>163</b>
The problem in your cache filename. Please try to clear AbanteCart cache in admin
-
i did and the problem is still here. Any other suggestion ?
-
i see that your problem with cache-file is very old and fixed many monthes ago.
Also i see that 1.1.9 already contain fix of it. But in your case it is not .
Please check file public_html/storefront/model/catalog/product.php
method getProductsAllInfo line 1187 (+/-).
You must to see in it
$output = $this->cache->get('product.all_info.'.md5(implode('',$products)).'.'.$customer_group_id,$language_id,$store_id );
and see belong
$this->cache->set('product.all_info.' . md5(implode('',$products)) . '.'.$customer_group_id, $output, $this->config->get('storefront_language_id'), (int)$this->config->get('config_store_id') );
in both cases you must to have md5 call inside cache name. If you don't, just comment those lines with //