Help! I messed up big time - Version 4.1.0.3
Posted: Sun Jun 15, 2025 1:31 am
Hi All
Newbie here.
I was trying to install a new theme and I think I deleted something I was not supposed to in cpanel and I managed to break the entire site.
I get this error on the homepage:
Error: Error: Could not load model extension/opencart/total/sub_total! File: /home/justheav/public_html/system/engine/loader.php Line: 148 Backtrace: 0 File: /home/justheav/public_html/catalog/model/checkout/cart.php Line: 116 Class: Opencart\System\Engine\Loader Function: model Backtrace: 1 File: /home/justheav/public_html/system/engine/loader.php Line: 343 Class: Opencart\Catalog\Model\Checkout\Cart Function: getTotals Backtrace: 2 File: /home/justheav/public_html/catalog/controller/common/cart.php Line: 31 Class: Opencart\System\Engine\Loader Function: Opencart\System\Engine\{closure} Backtrace: 3 File: /home/justheav/public_html/system/engine/loader.php Line: 112 Class: Opencart\Catalog\Controller\Common\Cart Function: index Backtrace: 4 File: /home/justheav/public_html/catalog/controller/common/header.php Line: 102 Class: Opencart\System\Engine\Loader Function: controller Backtrace: 5 File: /home/justheav/public_html/system/engine/loader.php Line: 112 Class: Opencart\Catalog\Controller\Common\Header Function: index Backtrace: 6 File: /home/justheav/public_html/catalog/controller/common/home.php Line: 31 Class: Opencart\System\Engine\Loader Function: controller Backtrace: 7 File: /home/justheav/public_html/system/engine/action.php Line: 96 Class: Opencart\Catalog\Controller\Common\Home Function: index Backtrace: 8 File: /home/justheav/public_html/system/framework.php Line: 259 Class: Opencart\System\Engine\Action Function: execute Backtrace: 9 File: /home/justheav/public_html/index.php Line: 20 Function: require_once
There is nothing on the dashboard when I am in my admin panel but if I look through categories, products etc thats all still there
when I go to extensions and try see themes there are 0, even the default opencart theme is gone
I have tried to restore a backup from the admin panel and it says it completes but nothing changes it still gives me the same error and I have no dashboard.
I am starting a new business so I dont really have funds to pay someone to do these things for me so I have been mostly trying to figure it out on my own with the help of google and ai but I think I deleted something I wasnt supposed to
I have tried to re-upload the opencart files to the public_html folder on cpanel but that isnt fixing it either - it was something in that folder I deleted.
If anyone can tell me how to fix I would really appreciate it
Newbie here.
I was trying to install a new theme and I think I deleted something I was not supposed to in cpanel and I managed to break the entire site.
I get this error on the homepage:
Error: Error: Could not load model extension/opencart/total/sub_total! File: /home/justheav/public_html/system/engine/loader.php Line: 148 Backtrace: 0 File: /home/justheav/public_html/catalog/model/checkout/cart.php Line: 116 Class: Opencart\System\Engine\Loader Function: model Backtrace: 1 File: /home/justheav/public_html/system/engine/loader.php Line: 343 Class: Opencart\Catalog\Model\Checkout\Cart Function: getTotals Backtrace: 2 File: /home/justheav/public_html/catalog/controller/common/cart.php Line: 31 Class: Opencart\System\Engine\Loader Function: Opencart\System\Engine\{closure} Backtrace: 3 File: /home/justheav/public_html/system/engine/loader.php Line: 112 Class: Opencart\Catalog\Controller\Common\Cart Function: index Backtrace: 4 File: /home/justheav/public_html/catalog/controller/common/header.php Line: 102 Class: Opencart\System\Engine\Loader Function: controller Backtrace: 5 File: /home/justheav/public_html/system/engine/loader.php Line: 112 Class: Opencart\Catalog\Controller\Common\Header Function: index Backtrace: 6 File: /home/justheav/public_html/catalog/controller/common/home.php Line: 31 Class: Opencart\System\Engine\Loader Function: controller Backtrace: 7 File: /home/justheav/public_html/system/engine/action.php Line: 96 Class: Opencart\Catalog\Controller\Common\Home Function: index Backtrace: 8 File: /home/justheav/public_html/system/framework.php Line: 259 Class: Opencart\System\Engine\Action Function: execute Backtrace: 9 File: /home/justheav/public_html/index.php Line: 20 Function: require_once
There is nothing on the dashboard when I am in my admin panel but if I look through categories, products etc thats all still there
when I go to extensions and try see themes there are 0, even the default opencart theme is gone
I have tried to restore a backup from the admin panel and it says it completes but nothing changes it still gives me the same error and I have no dashboard.
I am starting a new business so I dont really have funds to pay someone to do these things for me so I have been mostly trying to figure it out on my own with the help of google and ai but I think I deleted something I wasnt supposed to
I have tried to re-upload the opencart files to the public_html folder on cpanel but that isnt fixing it either - it was something in that folder I deleted.
If anyone can tell me how to fix I would really appreciate it