Hello,
I have taken over a project from a colleague who has left the company. He had started to move www.premier-products.co.uk from his own server to our 1and1 hosting account.
He backed up the database to a .sql file, which I have installed in a new 1and1 database. I can see all the information is there so the database is installed. 1and1 assisted with this. However, when you visit the URL there is the following error:
[i]Notice: Undefined variable: db in /homepages/23/d409796783/htdocs/premier/index.php on line 41
Fatal error: Call to a member function query() on a non-object in /homepages/23/d409796783/htdocs/premier/index.php on line 41[/i]
I’m not well-versed in php to fix it. Can you help?
Tech Specs
OpenCart 1.5.1
New server PHP version: 5
New server MySQL version: 5.0
If you need me to provide more information, please say.
Thanks,
Matthew