Author Topic: Bugs found in Error Log  (Read 6477 times)

Offline scorpbond

  • Newbie
  • *
  • Posts: 32
  • Karma: +2/-1
  • BlackPantherInternational
    • View Profile
    • Black Panther International Shopping Portal
Bugs found in Error Log
« on: September 11, 2017, 10:45:38 PM »
Hi,

I notices several error and warnings in Error log. I create a topic in forum but no one replied. Please help to remove all these.


2017-09-09 9:55:25 - warning: AbanteCart core v.1.2.10 mkdir(): File exists in <b>/home/scorp4hj/public_html/blackpantherinternational.com/core/helper/utils.php</b> on line <b>1183</b>
2017-09-09 9:55:25 - App Error: AbanteCart core v.1.2.10 Cannot to create directory /home/scorp4hj/public_html/blackpantherinternational.com/image//thumbnails/18/da. Please check permissions for /home/scorp4hj/public_html/blackpantherinternational.com/image/ in /home/scorp4hj/public_html/blackpantherinternational.com/core/helper/utils.php on line 1185

2017-09-09 9:55:49 - load error: AbanteCart core v.1.2.10 Error: Cannot create HTML cache for file html_cache.pages.index.home.default.0.1.INR_0_d41d8cd98f00b204e9800998ecf8427e! Directory to write cache is not writable in /home/scorp4hj/public_html/blackpantherinternational.com/core/engine/view.php on line 344
2017-09-09 9:55:49 - warning: AbanteCart core v.1.2.10 file_get_contents(/home/scorp4hj/public_html/blackpantherinternational.com/system/cache/html_cache/bd900e506809d07923129691762b6774.php): failed to open stream: No such file or directory in <b>/home/scorp4hj/public_html/blackpantherinternational.com/core/cache/file.php</b> on line <b>130</b>

2017-09-09 11:38:52 - App Warning: AbanteCart core v.1.2.10 ADispatch: error/not_found construct FAILED. Missing or incorrect controller route path. Possibly, layout block is enabled for disabled or missing extension! Execution stack: - /home/scorp4hj/public_html/blackpantherinternational.com/core/engine/dispatcher.php(76): genExecTrace('full')
- /home/scorp4hj/public_html/blackpantherinternational.com/core/engine/controller.php(232): ADispatcher->__construct('error/not_found', Array)
- /home/scorp4hj/public_html/blackpantherinternational.com/storefront/controller/common/page.php(35): AController->getCacheKeyValues('error/not_found')
- /home/scorp4hj/public_html/blackpantherinternational.com/core/engine/dispatcher.php(259): ControllerCommonPage->main('0')
- /home/scorp4hj/public_html/blackpantherinternational.com/core/engine/page.php(98): ADispatcher->dispatch()
- /home/scorp4hj/public_html/blackpantherinternational.com/core/engine/router.php(224): APage->build('common/page')
- /home/scorp4hj/public_html/blackpantherinternational.com/core/engine/router.php(75): ARouter->_route()
- /home/scorp4hj/public_html/blackpantherinternational.com/index.php(97): ARouter->processRoute('content/content...') in /home/scorp4hj/public_html/blackpantherinternational.com/core/engine/dispatcher.php on line 77

2017-09-09 15:57:35 - App Warning: AbanteCart core v.1.2.10 Warning: Accessing store with non-configured or unknown domain ( blackpantherinternational.scorpbond.com/ ).
Check setting of your store domain URL in System Settings . Loading default store configuration for now. in /home/scorp4hj/public_html/blackpantherinternational.com/core/lib/config.php on line 210

2017-09-09 16:39:29 - warning: AbanteCart core v.1.2.10 Error while sending QUERY packet. PID=20207 in <b>/home/scorp4hj/public_html/blackpantherinternational.com/core/database/amysqli.php</b> on line <b>74</b>

2017-09-09 16:39:29 - database error: AbanteCart core v.1.2.10 SQL Error: MySQL server has gone away
Error No: 2006
SQL: SELECT *
FROM bpi_products_related
WHERE product_id = '83' in <b>/home/scorp4hj/public_html/blackpantherinternational.com/core/database/amysqli.php</b> on line <b>109</b>
Regards.
Abhinav Mishra
For: BlackPantherInternational

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4411
  • Karma: +205/-0
    • View Profile
Re: Bugs found in Error Log
« Reply #1 on: September 12, 2017, 02:36:22 AM »
Hello.

First you need to clear AbanteCart cache and log. Some warning are one time only for example
database error: AbanteCart core v.1.2.10 SQL Error: MySQL server has gone away

This mean your mysql server (hosting) do not respond. There are many reasons for this: hosting goes offline fore a moment when you try to connect to database or hosting have limitations for connection to database in one time....


Error: Cannot create HTML cache for file html_cache.pages.index.home.default.0.1.INR_0_d41d8cd98f00b204e9800998ecf8427e! Directory to write cache is not writable
Error is explain this. AbanteCart was not able to write cache file make sure you have correct permission to write for the /cache directory


Dispatch: error/not_found construct FAILED. Missing or incorrect controller route path
Usually this mean some of your blocks for example from uninstalled or disabled extension still present in your layout
“Chuck Norris is so amazing.”
― Mother Teresa

Offline HADY

  • Full Member
  • ***
  • Posts: 104
  • Karma: +9/-1
    • View Profile
Re: Bugs found in Error Log
« Reply #2 on: October 11, 2019, 10:23:24 AM »
Hello!

Can you explain me these logs error please?

2019-10-11 17:05:20 - warning: AbanteCart core v.1.2.15 mkdir(): File exists in <b>/home/public_html/core/helper/utils.php</b> on line <b>1306</b>

2019-10-11 17:05:20 - App Warning: AbanteCart core v.1.2.15 Cannot to create directory /home/public_html/image//thumbnails/18/9b. Please check permissions for /home/u6047506/public_html/image/ in /home/u6047506/public_html/core/helper/utils.php on line 1311


2019-10-11 17:11:18 - warning: AbanteCart core v.1.2.15 Use of undefined constant CACHE_DRIVER - assumed 'CACHE_DRIVER' (this will throw an Error in a future version of PHP) in <b>/home/public_html/core/helper/system_check.php</b> on line <b>126</b>


Best Wishes
Happy weekend
Hady

 

Powered by SMFPacks Social Login Mod