Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Nov 2011
    Posts
    5
    Plugin Contributions
    0

    red flag Admin half loading after site transfer to new server

    Hi all,

    First time poster, and not sure if this is in the correct section, please feel free to move if it isn't.

    I am currently helping someone move their Zen Cart install (1.3.9h) to a new server. The old server uses hsphere and the new one cPanel.

    I have Googled and searched the forums for the past 5 hours and thought it was time to post.

    Steps taken:

    1) Download all necessary files from the OLD server using ftp. Also tried a zip and download from the hsphere. (I have tried both versions of the files to ensure there were no missing files during upload, same result both ways.)

    2) Backed up the mysql db on the old server (they're using phpmyadmin which is many versions old).

    3) Made a new Zen Cart install on the NEW server. Overwrote all the files using the ones from old server EXCEPT the configure.php files.

    4) Copied over the database.

    Also did the fix_cache_key.php step in the transfer guide.

    It took several hours to show the frontend, due to the pesky magic seo urls. Disabled this and the frontend shows fine.

    I am also able to access the admin area and log in. However, upon logging in I can only see the Zen Cart logo, the check for updates button, the text saying I'm on 1.3.9h, and the main navigation (Config, Catalog, Modules, Customers etc)

    The drop downs work properly, however clicking any link just results in the same page with a huge blank space below. It seems something is stopping the entire page loading.

    I'm totally stumped. I've turned on strict error reporting, to no avail. I've also checked the logs in the cache folder, none of them are admin related and the ones that are there only complain about the missing magic seo plugin.

    Has anyone encountered this before? I'd really appreciate some help.

    I would provide a link, however, I cannot change the DNS since the store is live on the old server, and so I'm accessing it via a change to my local HOSTS file.

    Many thanks in advance.

    C

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Admin half loading after site transfer to new server

    Did the site's admin section work correctly before you copied the old files over?

    If it's drawing only a partial section of the page, then it's encountering an error at the point where it stops drawing.
    And if that spot is always in the same place, regardless of which page, then it's likely in something that's being called in that same spot of each page.

    It's possible that there are addons involved with this person's site that have dependencies not offered by this server. Or, like the pesky addon you mentioned, have code dependencies that only work in a specific environment.

    Here's where I start when customized code doesn't work the way uncustomized code does: http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Nov 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Admin half loading after site transfer to new server

    DrByte,

    Thanks for the swift and helpful response.

    Each page in admin stops drawing after the "extras" menu in the nav:

    <li><a href="http://www.domain.com/theadmin/music_genre.php">Music Genre</a></li>
    <li><a href="http://www.domain.com/theadmin/media_manager.php">Media Manager</a></li>
    <li><a href="http://www.domain.com/theadmin/media_types.php">Media Types</a></li>

    </UL>
    </li>
    <!-- extras_dhtml_eof //-->


    And to answer your questiion, yes the admin does work fine on the OLD server.

    I'm leaning towards to issues being with an addon, this site relied on a number of them.

    Will post findings to help anyone else in the future. If you have any further ideas or thoughts, I welcome them with open arms :)

    C
    Last edited by DrByte; 4 Nov 2011 at 09:47 PM. Reason: renamed admin URLs

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Admin half loading after site transfer to new server

    1. I renamed your admin folder in your post above, for privacy.

    2. About the admin working, I meant did it work properly on the NEW server before you uploaded the files from the OLD server to it?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Nov 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Admin half loading after site transfer to new server

    Hi DrByte,

    Thanks. I can't see how to edit the post, would it be possible to remove the URL also?

    And yes the fresh Zen Cart install on the New Server worked perfectly. I have several instances of zen cart running on this server with no issues.

    Thanks,

    C

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Admin half loading after site transfer to new server

    edited.

    Seems like some comparison work will be required.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Nov 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Admin half loading after site transfer to new server

    Thank you so much for all the help :)

    I am contemplating doing another fresh install, replacing the DB with the one from the OLD Server, and just copying the template files over from the OLD server. Do you foresee many issues with this? Then I can manually install addons until it (maybe) breaks.

    Otherwise, I'm going to get stuck in with some diffs ... fun times.

 

 

Similar Threads

  1. Half Frozen loading stuck site with text only loading
    By Zellcorp in forum Installing on a Windows Server
    Replies: 5
    Last Post: 1 Nov 2009, 09:16 AM
  2. index.php not loading fully after transfer
    By Internet54 in forum General Questions
    Replies: 2
    Last Post: 28 Oct 2009, 07:33 AM
  3. Some images not found after transfer from local server to host server
    By simon1066 in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 1 Apr 2009, 02:48 PM
  4. Error after a transfer to new server
    By patj in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 24 Mar 2007, 12:50 PM
  5. Unable to Log into Admin after site transfer
    By OutdoorsInteriors in forum General Questions
    Replies: 1
    Last Post: 24 Feb 2007, 02:50 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