Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Moving Cart from Root to Subfolder - Not Working!!

Moving Cart from Root to Subfolder - Not Working!!

Locked

Views: 2,416

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
20 Aug 2008, 3:23 AM
#1
routineisforrobots avatar

routineisforrobots

New Zenner

Join Date:
Apr 2006
Posts:
27
Plugin Contributions:
0

Moving Cart from Root to Subfolder - Not Working!!

My cart is currently installed under my root directory (routineisforrobots.com) and is working fine. I want to move it to a sub-folder (routineisforrobots.com/shop) instead as I am not currently running my shop and need my root directory for other things.

I have followed this tutorial to the letter and am still having problems:

https://www.zen-cart.com/tutorials/index.php?article=122

My admin login is working but the actual shop page comes up with this error:

Fatal error: Cannot instantiate non-existent class: notifier in /homepages/14/d128477381/htdocs/shop/includes/autoload_func.php on line 79

I never touched that folder and the cart works fine if I upload everything back to the root directory so I don't know what's up.

If anyone can help it would be much appreciated. This is causing me to have a major migraine!

20 Aug 2008, 3:39 AM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Moving Cart from Root to Subfolder - Not Working!!

Did you edit includes/configure.php and admin/includes/configure.php to reflect the change to the subdirectory?

20 Aug 2008, 4:01 AM
#3
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Moving Cart from Root to Subfolder - Not Working!!

If the Admin side works but not the front side, then it definitely sounds like a problem with the "includes/configure.php" file. You should recheck it as forgetting a forward-slash or having an extra one in the wrong place(s) can cause these type problems.

20 Aug 2008, 6:53 PM
#4
routineisforrobots avatar

routineisforrobots

New Zenner

Join Date:
Apr 2006
Posts:
27
Plugin Contributions:
0

Re: Moving Cart from Root to Subfolder - Not Working!!

The first time I tried to move everything the shop did appear but looked like garbage (all the images were missing, it was mostly blank with a few bits from the shop) and none of the links worked.

The second time I reloaded the back ups and started from scratch and I got the admin working but that fatal error comes up.

The admin side at routineisforrobots.com/shop/admin definitely works so I will double check that includes/configure.php file again. I feel like I went through it with a fine tooth comb though so hopefully I did just overlook one small thing.

20 Aug 2008, 9:47 PM
#5
routineisforrobots avatar

routineisforrobots

New Zenner

Join Date:
Apr 2006
Posts:
27
Plugin Contributions:
0

Re: Moving Cart from Root to Subfolder - Not Working!!

Ok I made a copy of the previously working includes/configure.php file and made the changes again....................I am still getting the error:

Fatal error: Cannot instantiate non-existent class: notifier in /homepages/14/d128477381/htdocs/shop/includes/autoload_func.php on line 79

Admin side is working. Front side is not.

I don't get it.

22 Aug 2008, 1:13 PM
#6
routineisforrobots avatar

routineisforrobots

New Zenner

Join Date:
Apr 2006
Posts:
27
Plugin Contributions:
0

Re: Moving Cart from Root to Subfolder - Not Working!!

Anyone?

I've changed the config files 3 times and cannot find where there might be a mistake.

26 Aug 2008, 7:45 PM
#7
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Moving Cart from Root to Subfolder - Not Working!!

It sounds like something got garbled in the move. This is what's on line 79 in includes/autoload_func.php

        $$objectName = new $className();