Post by Sea-Wing_Designs » Fri Mar 07, 2014 3:37 am

Hello,

I have gone through the process of moving a store from one server company to another. I moved the files using tar.gz and scp and preserved the file permissions. I created new databases and imported the tables. I changed the two config files. I am using Dreamhosts mirror to view the site before I switch the DNS so that I can avoid down time: http://shop-ornaments.dreamhosters.com/

The problem is that i get this error: Forbidden

You don't have permission to access /control_area_orna/index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Dreamhost has suggested that it is either a permission error or an htaccess error. If I temporarily remove the .htaccess file I get this:
Warning: require_once(/nfs/c06/h06/mnt/86983/domains/shop.ornaments.com/html/system/startup.php): failed to open stream: No such file or directory in /home/ornaments/shop.ornaments.com/index.php on line 21

Fatal error: require_once(): Failed opening required '/nfs/c06/h06/mnt/86983/domains/shop.ornaments.com/html/system/startup.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/ornaments/shop.ornaments.com/index.php on line 21

I see in that warning that require_once is pointing to the old file format. I have to find where that is and change it, but I am wondering if there is another problem?

New member

Posts

Joined
Tue May 21, 2013 7:57 am

Post by Sea-Wing_Designs » Fri Mar 07, 2014 5:22 am

I found that the config.php did not save properly so I adjusted it to the new server, but that changed nothing but the error which now reads this when the .htaccess is removed (in fact all I have to do is comment out 'Options FollowSymlinks'):


Warning: require_once(/home/ornaments/shop.ornaments.com/html/system/startup.php): failed to open stream: No such file or directory in /home/ornaments/shop.ornaments.com/index.php on line 21

Fatal error: require_once(): Failed opening required '/home/ornaments/shop.ornaments.com/html/system/startup.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/ornaments/shop.ornaments.com/index.php on line 21


With the .htaccess in place I still see the 403 error.

New member

Posts

Joined
Tue May 21, 2013 7:57 am

Post by victorj » Fri Mar 07, 2014 7:26 am

it looks like config files are not set correct in relation to relative path to files.

check PM

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by aziza93312 » Fri Nov 27, 2015 5:06 pm

Hello,

i have moved my opencart site to another hosting server
and i am facing issue on new server.

below is error:

Parse error: syntax error, unexpected T_STRING in /home/flexnflex/flexnflex.com/newsite/config.php on line 23

can you please help me how i can fix it.

Thanks

Newbie

Posts

Joined
Sun Apr 19, 2015 7:11 am

Post by victorj » Sat Nov 28, 2015 3:36 am

line 23 of file config.php has a typo error

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland
Who is online

Users browsing this forum: No registered users and 35 guests