Post by jojo » Mon Jan 25, 2010 7:17 pm

Hi,

I've recently moved my site to a new webserver (from Windows to Linux). I've moved all the files across and created a new db with same credentials. I've then backed up and restored the database file. The problem is that I gett the following on screen message when I try go to my shop..

Warning: require_once(C:\Inetpub\vhosts\caribbeantan.co.uk\httpdocs\shop/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/caribbeantan.co.uk/httpdocs/shop/index.php on line 12

Fatal error: require_once() [function.require]: Failed opening required 'C:\Inetpub\vhosts\caribbeantan.co.uk\httpdocs\shop/system/startup.php' (include_path='.:') in /var/www/vhosts/caribbeantan.co.uk/httpdocs/shop/index.php on line 12

You can also see this by visiting http://www.caribbeantan.co.uk/shop

How can I fix this problem?


Mucho gracias in advance!

Kind regards,
Jo

Newbie

Posts

Joined
Wed Oct 07, 2009 12:10 am
Location - Brisol - UK

Post by Qphoria » Mon Jan 25, 2010 9:47 pm

jojo wrote:Hi,

I've recently moved my site to a new webserver (from Windows to Linux). I've moved all the files across and created a new db with same credentials. I've then backed up and restored the database file. The problem is that I gett the following on screen message when I try go to my shop..

Warning: require_once(C:\Inetpub\vhosts\caribbeantan.co.uk\httpdocs\shop/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/caribbeantan.co.uk/httpdocs/shop/index.php on line 12

Fatal error: require_once() [function.require]: Failed opening required 'C:\Inetpub\vhosts\caribbeantan.co.uk\httpdocs\shop/system/startup.php' (include_path='.:') in /var/www/vhosts/caribbeantan.co.uk/httpdocs/shop/index.php on line 12

You can also see this by visiting http://www.caribbeantan.co.uk/shop

How can I fix this problem?


Mucho gracias in advance!

Kind regards,
Jo
Surely linux doesn't use "C:\inetpub"
you will need to update your config.php and admin/config.php files to match your new folder structure.
something like /home/user/public_html/shop/

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by jojo » Thu Jan 28, 2010 5:32 pm

Thanks Q! All sorted.

Newbie

Posts

Joined
Wed Oct 07, 2009 12:10 am
Location - Brisol - UK
Who is online

Users browsing this forum: No registered users and 45 guests