Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Problem with AbanteCart unknown problem  (Read 6470 times)

Offline popustda

  • Full Member
  • ***
  • Posts: 153
  • Karma: +9/-4
    • View Profile
Problem with AbanteCart unknown problem
« 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>

Offline popustda

  • Full Member
  • ***
  • Posts: 153
  • Karma: +9/-4
    • View Profile
Re: Problem with AbanteCart unknown problem
« Reply #1 on: July 04, 2015, 05:59:03 AM »
can someone please help me. now i have a new critical error showing. i dont know why is this happening

Offline popustda

  • Full Member
  • ***
  • Posts: 153
  • Karma: +9/-4
    • View Profile
Re: Problem with AbanteCart unknown problem
« Reply #2 on: July 04, 2015, 05:59:37 AM »
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

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5806
  • Karma: +274/-2
    • View Profile
Re: Problem with AbanteCart unknown problem
« Reply #3 on: July 06, 2015, 03:08:36 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.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

Offline popustda

  • Full Member
  • ***
  • Posts: 153
  • Karma: +9/-4
    • View Profile
Re: Problem with AbanteCart unknown problem
« Reply #4 on: July 17, 2015, 04:43:14 AM »
i did and the problem is still here. Any other suggestion ?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Problem with AbanteCart unknown problem
« Reply #5 on: July 17, 2015, 05:44:20 AM »
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
   
Code: [Select]
$output = $this->cache->get('product.all_info.'.md5(implode('',$products)).'.'.$customer_group_id,$language_id,$store_id );and see belong
Code: [Select]
$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 //
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod