Jump to content

Fatal error while moving the website from old hosting


ezquerro

Recommended Posts

Dear All!

 

I need your help.

 

I'm new in Prestashop. I'm moving my website from old hosting to new one. I moved all file and facing with below error:

 

Fatal error: Call to undefined method Db::getInstance() in /home/******/public_html/classes/shop/ShopUrl.php on line 165

 

How can I solve this problem?

 

Thanks in advance!

Edited by ezquerro (see edit history)
Link to comment
Share on other sites

ndiga has  good point.

 

also before moving to new hosting it's prudent to do a fresh installation of ps on that server, i.e. download your version and do full install on new hosting so ps can check hosting for any issues.  When you just move files/db to new host without this, well it can be a lot of debugging.

 

but as ndiga stated, it's very  possible you did not get clean upload and that's all it is.  good luck

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...