Post by agraweb » Tue Oct 11, 2016 11:53 am

The store has simply stooped working and will no longer load. I can still access all functions in the admin section. Some other editors have been working on other areas of the site but no one will admit to making any modifications to the cart section of the site. I trust my team and have no reason to doubt them

I am using v 2.3.0.2 and as I said it was stable up to yesterday afternoon when I last worked on product images. I have very few mods installed and as part of the troubleshooting I disabled the majority of them. import/export tool, dopro opencart default skin were disabled. VQMOD has been installed but I have not disabled it for trouble shooting.

The store can be found at https://agra-phx.com/secure/

here is the complete error text

Fatal error: Uncaught exception 'Exception' with message 'Error: Could not load model total!' in /home/agraweb/domains/agra-phx.com/public_html/secure/system/storage/modification/system/engine/loader.php:169 Stack trace: #0 [internal function]: Loader->{closure}(Array, Array) #1 /home/agraweb/domains/agra-phx.com/public_html/secure/system/engine/proxy.php(25): call_user_func_array(Object(Closure), Array) #2 /home/agraweb/domains/agra-phx.com/public_html/secure/catalog/controller/common/cart.php(37): Proxy->__call('getTotal', Array) #3 /home/agraweb/domains/agra-phx.com/public_html/secure/catalog/controller/common/cart.php(37): Proxy->getTotal(Array) #4 [internal function]: ControllerCommonCart->index(Array) #5 /home/agraweb/domains/agra-phx.com/public_html/secure/system/storage/modification/system/engine/action.php(51): call_user_func_array(Array, Array) #6 /home/agraweb/domains/agra-phx.com/public_html/secure/system/storage/modification/system/engine/loader.php(24): Action->execute(Object(Registry), Array) #7 /home/agraw in /home/agraweb/domains/agra-phx.com/public_html/secure/system/storage/modification/system/engine/loader.php on line 169

The text in red concerns me a bit as it does not match the path listed in the previous lines of the error text.

With nobody having edited the text I have to consider the possibility of a hack attempt. I can reset the store to last week's backed up version but that store is v 1.5 and I would have to several modifications to get back to where I was yesterday.

Newbie

Posts

Joined
Tue Oct 11, 2016 11:35 am

Post by villagedefrance » Tue Oct 11, 2016 10:11 pm

Hi,

I don't think it is a hack attempt because this looks like a common error to me. Saying that, I've been wrong before ...

My guess is that you don't have ANY "Total" extensions enabled at this time, and for this reason the Cart returns this error when you try to open it. The code is not perfect because it expects at least 1 type of "Total".
So try enabling one "Total" extension and test again.

If you do have at least 1 "Total" extension enabled, then you are missing the model loader in your Cart Controller.

I hope this helps.

OpenCart custom solutions @ https://villagedefrance.net


User avatar
Active Member

Posts

Joined
Wed Oct 13, 2010 10:35 pm
Location - UK

Post by agraweb » Wed Oct 12, 2016 4:25 am

I do have the original total module enabled. Model loader matches the file I have on my previous back up. We chose to restore everything to the back up made last friday and reapply the image edits I made over the week end. I would have preferred to find the cause of the error so that I could prevent it from happening again. I may have to post this as a new topic but if someone can suggest a way to freeze the current code and prevent any modifications whether intentional or hack attempts, I am all ears


Merci pour votre aide

Newbie

Posts

Joined
Tue Oct 11, 2016 11:35 am

Post by cyclops12 » Wed Oct 12, 2016 4:37 am

"Could not load model total" solution can be found Here

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am
Who is online

Users browsing this forum: No registered users and 5 guests