Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2006
    Posts
    27
    Plugin Contributions
    0

    database error 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/i...hp?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!

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default 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?
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default 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.

  4. #4
    Join Date
    Apr 2006
    Posts
    27
    Plugin Contributions
    0

    Default 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.

  5. #5
    Join Date
    Apr 2006
    Posts
    27
    Plugin Contributions
    0

    help question 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.

  6. #6
    Join Date
    Apr 2006
    Posts
    27
    Plugin Contributions
    0

    Default 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.

  7. #7
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default 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

    Code:
            $$objectName = new $className();
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

 

 

Similar Threads

  1. Problems moving from subfolder to root
    By innovcap in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 23 Jul 2012, 04:51 PM
  2. Moving my site from subfolder to domain but not working :-(
    By credenscel in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 25 Dec 2008, 12:56 AM
  3. Having trouble moving site from subfolder up to root of domain
    By Tom_Ace in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Oct 2008, 05:03 AM
  4. Moving zencart from subfolder to root
    By vito in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 3 Oct 2008, 06:24 AM
  5. Moving ZC from root to subfolder
    By TheRaven in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 13 Mar 2008, 04:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg