Page 1 of 1

Need help please?

Posted: Mon Jan 25, 2010 7:17 pm
by jojo
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

Re: Need help please?

Posted: Mon Jan 25, 2010 9:47 pm
by Qphoria
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/

Re: Need help please?

Posted: Thu Jan 28, 2010 5:32 pm
by jojo
Thanks Q! All sorted.