Opencart 3.0.3.2 went down, but /admin still works?
Posted: Fri Feb 19, 2021 2:14 pm
Hi guys, my opencart 3.0.3.2 has for some reason gone down and appears to be on a reccouring loop of trying to load on the frontpage, using large amounts of physical memory and cpu on my server (despite never showing so much as an image)
The admin panel works no problem
The error log within opencart contains just a long list of stuff like this (I've changed my username below for security)
2021-02-19 6:01:56 - PHP Warning: unlink(/home/xxxxxxxxxxxxxx/public_html/xxxx/storage/cache/cache.catalog.language.1613718116): No such file or directory in /home/xxxxxxxxxxxxxx/public_html/system/library/cache/file.php on line 68
2021-02-19 6:04:34 - PHP Warning: unlink(/home/xxxxxxxxxxxxxx/public_html/xxxx/storage/cache/cache.catalog.language.1613718274): No such file or directory in /home/xxxxxxxxxxxxxx/public_html/system/library/cache/file.php on line 68
The error_log on the actual root of the site itself contains more worrying looking ones
Stack trace:
#0 /home/xxxxxxxxxxxx/public_html/system/startup.php(104): require_once()
#1 /home/xxxxxxxxxxxx/public_html/index.php(19): start('catalog')
#2 {main}
thrown in /home/xxxxxxxxxxxx/public_html/system/framework.php on line 408
[18-Feb-2021 20:22:03 UTC] PHP Fatal error: Uncaught Error: Class 'Config' not found in /home/xxxxxxxxxxxx/public_html/system/framework.php:408
Stack trace:
#0 /home/xxxxxxxxxxxx/public_html/system/startup.php(104): require_once()
#1 /home/xxxxxxxxxxxx/public_html/index.php(19): start('catalog')
#2 {main}
thrown in /home/xxxxxxxxxxxx/public_html/system/framework.php on line 408
[18-Feb-2021 20:22:03 UTC] PHP Fatal error: Uncaught Error: Class 'Config' not found in /home/xxxxxxxxxxxx/public_html/system/framework.php:408
Stack trace:
#0 /home/xxxxxxxxxxxx/public_html/system/startup.php(104): require_once()
#1 /home/xxxxxxxxxxxx/public_html/index.php(19): start('catalog')
#2 {main}
thrown in /home/xxxxxxxxxxxx/public_html/system/framework.php on line 408
[18-Feb-2021 20:22:03 UTC] PHP Fatal error: Uncaught Error: Class 'Config' not found in /home/xxxxxxxxxxxx/public_html/system/framework.php:408
Stack trace:
#0 /home/xxxxxxxxxxxx/public_html/system/startup.php(104): require_once()
#1 /home/xxxxxxxxxxxx/public_html/index.php(19): start('catalog')
#2 {main}
thrown in /home/xxxxxxxxxxxx/public_html/system/framework.php on line 408
[18-Feb-2021 20:22:05 UTC] PHP Fatal error: Uncaught Error: Class 'Config' not found in /home/xxxxxxxxxxxx/public_html/system/framework.php:408
Stack trace:
#0 /home/xxxxxxxxxxxx/public_html/system/startup.php(104): require_once()
#1 /home/xxxxxxxxxxxx/public_html/index.php(19): start('catalog')
#2 {main}
thrown in /home/xxxxxxxxxxxx/public_html/system/framework.php on line 408
[19-Feb-2021 03:03:44 UTC] PHP Fatal error: Uncaught Exception: Error: <br />Error No: in /home/xxxxxxxxxxxx/public_html/system/library/db/mysqli.php:10
Stack trace:
#0 /home/xxxxxxxxxxxx/public_html/xxxxxx/storage/modification/system/library/db.php(35): DB\MySQLi->__construct('localhost', 'USERNAME_XXX', 'PASSWORD', 'DBUSER_XXXXX...', '3306')
#1 /home/xxxxxxxxxxxx/public_html/system/framework.php(482): DB->__construct('mysqli', 'localhost', 'USERNAME_XXX', 'password, 'XXXDBNAME...', 'xxxx')
#2 /home/xxxxxxxxxxxx/public_html/system/startup.php(104): require_once('/home/xxxxxxxxxxxx...')
#3 /home/xxxxxxxxxxxx/public_html/index.php(19): start('catalog')
#4 {main}
thrown in /home/xxxxxxxxxxxx/public_html/system/library/db/mysqli.php on line 10
Site was working fine yesterday morning, I added products and dispatched orders but did nothing technical, installed no add ons etc. The only thing of note I've done recently is deleted the contents of the image cache folder
Based on the above does anyone have any idea whats triggered this? web hosts simply state that I am exhausting server resources on my package - but this site with 20-50 users max a day is definitely not doing that naturally so something must be wrong
Any help appreciated
Thank you
Luke
The admin panel works no problem
The error log within opencart contains just a long list of stuff like this (I've changed my username below for security)
2021-02-19 6:01:56 - PHP Warning: unlink(/home/xxxxxxxxxxxxxx/public_html/xxxx/storage/cache/cache.catalog.language.1613718116): No such file or directory in /home/xxxxxxxxxxxxxx/public_html/system/library/cache/file.php on line 68
2021-02-19 6:04:34 - PHP Warning: unlink(/home/xxxxxxxxxxxxxx/public_html/xxxx/storage/cache/cache.catalog.language.1613718274): No such file or directory in /home/xxxxxxxxxxxxxx/public_html/system/library/cache/file.php on line 68
The error_log on the actual root of the site itself contains more worrying looking ones
Stack trace:
#0 /home/xxxxxxxxxxxx/public_html/system/startup.php(104): require_once()
#1 /home/xxxxxxxxxxxx/public_html/index.php(19): start('catalog')
#2 {main}
thrown in /home/xxxxxxxxxxxx/public_html/system/framework.php on line 408
[18-Feb-2021 20:22:03 UTC] PHP Fatal error: Uncaught Error: Class 'Config' not found in /home/xxxxxxxxxxxx/public_html/system/framework.php:408
Stack trace:
#0 /home/xxxxxxxxxxxx/public_html/system/startup.php(104): require_once()
#1 /home/xxxxxxxxxxxx/public_html/index.php(19): start('catalog')
#2 {main}
thrown in /home/xxxxxxxxxxxx/public_html/system/framework.php on line 408
[18-Feb-2021 20:22:03 UTC] PHP Fatal error: Uncaught Error: Class 'Config' not found in /home/xxxxxxxxxxxx/public_html/system/framework.php:408
Stack trace:
#0 /home/xxxxxxxxxxxx/public_html/system/startup.php(104): require_once()
#1 /home/xxxxxxxxxxxx/public_html/index.php(19): start('catalog')
#2 {main}
thrown in /home/xxxxxxxxxxxx/public_html/system/framework.php on line 408
[18-Feb-2021 20:22:03 UTC] PHP Fatal error: Uncaught Error: Class 'Config' not found in /home/xxxxxxxxxxxx/public_html/system/framework.php:408
Stack trace:
#0 /home/xxxxxxxxxxxx/public_html/system/startup.php(104): require_once()
#1 /home/xxxxxxxxxxxx/public_html/index.php(19): start('catalog')
#2 {main}
thrown in /home/xxxxxxxxxxxx/public_html/system/framework.php on line 408
[18-Feb-2021 20:22:05 UTC] PHP Fatal error: Uncaught Error: Class 'Config' not found in /home/xxxxxxxxxxxx/public_html/system/framework.php:408
Stack trace:
#0 /home/xxxxxxxxxxxx/public_html/system/startup.php(104): require_once()
#1 /home/xxxxxxxxxxxx/public_html/index.php(19): start('catalog')
#2 {main}
thrown in /home/xxxxxxxxxxxx/public_html/system/framework.php on line 408
[19-Feb-2021 03:03:44 UTC] PHP Fatal error: Uncaught Exception: Error: <br />Error No: in /home/xxxxxxxxxxxx/public_html/system/library/db/mysqli.php:10
Stack trace:
#0 /home/xxxxxxxxxxxx/public_html/xxxxxx/storage/modification/system/library/db.php(35): DB\MySQLi->__construct('localhost', 'USERNAME_XXX', 'PASSWORD', 'DBUSER_XXXXX...', '3306')
#1 /home/xxxxxxxxxxxx/public_html/system/framework.php(482): DB->__construct('mysqli', 'localhost', 'USERNAME_XXX', 'password, 'XXXDBNAME...', 'xxxx')
#2 /home/xxxxxxxxxxxx/public_html/system/startup.php(104): require_once('/home/xxxxxxxxxxxx...')
#3 /home/xxxxxxxxxxxx/public_html/index.php(19): start('catalog')
#4 {main}
thrown in /home/xxxxxxxxxxxx/public_html/system/library/db/mysqli.php on line 10
Site was working fine yesterday morning, I added products and dispatched orders but did nothing technical, installed no add ons etc. The only thing of note I've done recently is deleted the contents of the image cache folder
Based on the above does anyone have any idea whats triggered this? web hosts simply state that I am exhausting server resources on my package - but this site with 20-50 users max a day is definitely not doing that naturally so something must be wrong
Any help appreciated
Thank you
Luke