Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2009
    Posts
    27
    Plugin Contributions
    0

    Default Index page is blank after moving from subfolder to root

    I just finished moving Zen Cart from a sub folder to the root, and the index page comes up blank. http://rakpicture.com/index.php I followed the instruction provided in the FAQ's and triple checked with no luck. Other than sharing the URL, I'm not sure what info to share. http://rakpicture.com which has an index.HTML as well at the moment. I was sure to delete that file so the .php file was recognized as well before asking for help here.

    Any thoughts would be appreciated...

  2. #2
    Join Date
    Dec 2008
    Posts
    180
    Plugin Contributions
    0

    Default Re: Index page is blank after moving from subfolder to root

    Hi

    All I can suggest really is double check the configure files.

    And install the error logging add on.

  3. #3
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,922
    Plugin Contributions
    3

    Default Re: Index page is blank after moving from subfolder to root

    The index.html file will not interfere with the index.php file . Most browsers will give the HTML file priority, and load that first, but your problem has occurred as a result of the move UP the directory tree.

    I trust you have a full backup...

    If so, it may be a good idea to try the process again.

    I do my moves (and I do a LOT of them) using CPanel. Now I don't know if you have the "proper CPanel" facility on your host, but if you do, then it's "safer" to make a COPY of the site that is in the subfolder, then MOVE that copy into the ROOT directory.

    (I create a new subfolder called transfer and in one simple COPY/PASTE operation, I make a copy of the zencart subfolder into that transfer folder. Then, I move everything in that folder up to the root).

    This process means that your EXISTING site is still safely tucked away in the sub-folder.

    After you have moved the copy into the root, the only files that need changing are the configure.php files, where you simply remove the subfolder name from the path (where these are evident)

    Unless you are intending to point at a NEW database, the DEFINES in the configure.php files relating to the database should remain unchanged.

    You will need to adjust the CACHE reference, and this can be done either by running the fix_cache_key.php file (available in the Free Addons), or under the NEW setup admin console. My Store >>> Sessions .

    Your new set up should work...

    (I have managed to get this "moving" process done in under 5 minutes sometimes, so if a complete idiot like me can do it, then it should be within the realm of everyone else)
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

  4. #4
    Join Date
    Jul 2009
    Posts
    27
    Plugin Contributions
    0

    Default Re: Index page is blank after moving from subfolder to root

    Thank you both for the reply, after running the tool I seem to have fixed all errors except this one

    [09-Dec-2009 22:11:23] PHP Warning: file(includes/spiders.txt) [<a href='function.file'>function.file</a>]: failed to open stream: No such file or directory in /webroot/r/a/rakpi001/www/includes/init_includes/init_sessions.php on line 58

    Any ideas? Thanks again...

  5. #5
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,922
    Plugin Contributions
    3

    Default Re: Index page is blank after moving from subfolder to root

    The first part of that sentence tells you what the problem is, and the second part is telling you the file that has "spotted" the problem.

    So you have a missing or corrupted file called spiders.txt

    If you have a full download of the zencart software on your local drive, use it as a "guide" to help you both locate the position of missing files, and if they are missing/corrupted, use the core file on your local drive to replace it (via ftp).

    (Careful with this process - in the event that any of your "custom template" files are corrupted, you'll rather want to do manual edits/repairs - not overwrites!)
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

  6. #6
    Join Date
    Dec 2009
    Posts
    16
    Plugin Contributions
    0

    Default Re: Index page is blank after moving from subfolder to root

    Hi I am having a similar problem...
    I am using the latest version 1.3.8
    my site is www.kvtrains.com

    I have copied my files from /new/ subfolder into the root folder. Most seems to be working except when I go to first two categories of products - no page is displayed. Also some images not displayed. And I have edited the two files: /includes/configure.php and /admin/includes/configure.php
    following article: http://tutorials.zen-cart.com/index.php?article=122

    When I tried to go log into admin I get the following error.
    Warning: require(/home/content/k/v/t/kvtrains/htmlincludes/autoload_func.php) [function.require]: failed to open stream: No such file or directory in /home/content/k/v/t/kvtrains/html/admin/includes/application_top.php on line 130

    Fatal error: require() [function.require]: Failed opening required '/home/content/k/v/t/kvtrains/htmlincludes/autoload_func.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/k/v/t/kvtrains/html/admin/includes/application_top.php on line 130

    Can someone please tell me
    1) why I can't view some of the product pages
    2) why I can't log into admin - my subfolder admin works still.
    Thank you so much.

 

 

Similar Threads

  1. 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
  2. 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
  3. Moving Cart from Root to Subfolder - Not Working!!
    By routineisforrobots in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 26 Aug 2008, 08:45 PM
  4. 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
  5. Moving index.php to root
    By Sc0tt in forum Basic Configuration
    Replies: 3
    Last Post: 24 May 2006, 11:46 PM

Bookmarks

Posting Permissions

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