Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when moving server and upgrading #5133

Closed
narektigranyan opened this issue Jan 8, 2017 · 9 comments
Closed

Problem when moving server and upgrading #5133

narektigranyan opened this issue Jan 8, 2017 · 9 comments

Comments

@narektigranyan
Copy link

narektigranyan commented Jan 8, 2017

Fatal error: Uncaught exception 'Exception' with message 'Error: Could not load model extension/total/payment_costs!' in /var/www/example.com/public_html/system/storage/modification/system/engine/loader.php:59 Stack trace: #0 /var/www/example.com/public_html/catalog/controller/checkout/cart.php(209): Loader->model('extension/total...') #1 [internal function]: ControllerCheckoutCart->index() #2 /var/www/example.com/public_html/system/storage/modification/system/engine/action.php(51): call_user_func_array(Array, Array) #3 /var/www/example.com/public_html/catalog/controller/startup/router.php(25): Action->execute(Object(Registry)) #4 [internal function]: ControllerStartupRouter->index() #5 /var/www/example.com/public_html/system/storage/modification/system/engine/action.php(51): call_user_func_array(Array, Array) #6 /var/www/example.com/public_html/system/engine/front.php(34): Action->execute(Object(Registry)) #7 /var/www/example.com/public_html/system/engine/front.php(29): Front->execute(Object(Action)) #8 /va in /var/www/example.com/public_html/system/storage/modification/system/engine/loader.php on line 59

I cannot figure out why it prints those errors, admin dashboard does not print any error.
Please help!

@arnisjuraga
Copy link
Contributor

arnisjuraga commented Jan 8, 2017

You have meesed something with config or modules I think.
Try to Clear all Modification in admin, And what do you mean by "Problem when moving server and upgrading"?

You should try to contact any developer for support or post in Community forum,
this is not related to Opencart source :(

@narektigranyan
Copy link
Author

The website was on a shared hosting, now it is on VPS. I had exported MySQL and saved website on my local machine. I installed newly Opencart on my VPS and then imported the DB also uploaded the rest of files to the VPS.

@arnisjuraga
Copy link
Contributor

Did You changed opencart version too? I mean - Shared hosting had older version as the new one?

@narektigranyan
Copy link
Author

Yes, it had older version, for VPS I downloaded the most recent version

@narektigranyan
Copy link
Author

Also I deleted the whole modifications in Extension in admin panel

@arnisjuraga
Copy link
Contributor

arnisjuraga commented Jan 8, 2017

I see - at first, you must have the same version on VPS, if you are using any custom code\modules\extensions\theme! Latest Opencart could bet not be compatible with your site at all.

So

  1. Try to find and install the same Opencart version
  2. contact any Dev support, if you still have issues :(

@narektigranyan
Copy link
Author

In Modifications it dumped some error log. can it be usefull?

@narektigranyan
Copy link
Author

Thank you very much! I will try to install the same version

@danielkerr
Copy link
Member

personal issues are not to be posted here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants