Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2017
    Posts
    13
    Plugin Contributions
    0

    Default Error 404 in both store and admin panel after moving website to different server!

    Hello,

    I have a website developed by zen-cart 1.3.9h and it's on parallels helm server with mysql 5.5 and PHP version 5.3.24. I want to move my website to cpanel server with mysql 5.6.36-82.1 and PHP version 5.3.26 in a subdomain.
    I've done this movement based on below tutorial:

    https://www.squirrelhosting.co.uk/ho...info.php?id=44

    Just like this tutorial, I did backup of my website and database, then installed zen-cart (same version as my current website) in new server and created a new database for that. After launching the new installed zen-cart everything was fine. To access admin panel I changed configure.php in admin/includes and replaced every admin name to my custom name in this file and after that I renamed the admin folder. So, I could login to admin panel and also access the storefront.

    After that, I copied and replaced my current website's files and folders (WITHOUT two configure.php files in includes and admin/includes folder), empty new created database and import my old database!
    I also added fix_cache_key.php to zen-cart's root and run this file to reindex the sessions but error 404 occurred! Now I see error 404 in both store and admin panel and can't do anything!

    I should mention that during database import some an error happened many times (the screenshot of error is in the attachment) but after doing import multiple times I could import the database successfully (Maybe this is the cause of the issue!)

    My current website url: www.atlas-uae.com
    My website url on new server: www.dxbsafe.com/zen-cart/

    Please help me if I was doing wrong somewhere. I'm overwhelmed with this!
    Attached Images Attached Images  
    Last edited by Armita84; 10 Oct 2017 at 06:54 AM.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Error 404 in both store and admin panel after moving website to different server!

    Looks like this has been resolved. What did you find the problem to be or what did you do to resolve it?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,151
    Plugin Contributions
    11

    Default Re: Error 404 in both store and admin panel after moving website to different server!

    Quote Originally Posted by mc12345678 View Post
    Looks like this has been resolved. What did you find the problem to be or what did you do to resolve it?
    More importantly, why did the OP not upgrade instead of moving? All that work for little return.

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,691
    Plugin Contributions
    9

    Default Re: Error 404 in both store and admin panel after moving website to different server!

    i do not see where this is resolved at all.

    the new site URL gets a 404 error.

    the old site is working.

    the new site base URL (http://www.dxbsafe.com/) looks to be a magento site.

    if there are still problems with the new site, i would first post the contents of includes/configure.php.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Oct 2017
    Posts
    13
    Plugin Contributions
    0

    Default Re: Error 404 in both store and admin panel after moving website to different server!

    Thanks for your respond. It's not about the configure.php cause I did clone the website in localhost (xampp), just like I did in my post description and it's working! Maybe the issue is related to the new server. I've contacted new server support and they are working on it.
    Thanks again for your help.

  6. #6
    Join Date
    Oct 2017
    Posts
    13
    Plugin Contributions
    0

    Default Re: Error 404 in both store and admin panel after moving website to different server!

    I've found the solution. After copying old website to new server, .htaccess file was there. I renamed this file and now I can see my store and admin panel in new server.

  7. #7
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Error 404 in both store and admin panel after moving website to different server!

    Quote Originally Posted by Armita84 View Post
    I've found the solution. After copying old website to new server, .htaccess file was there. I renamed this file and now I can see my store and admin panel in new server.
    Should review the contents of the file that has been removed as it may have some features that are intended to improve security even though there obviously is something that needs to be modified to work on your new server's arrangement.

    If you choose to post the contents, be sure to obscure sensitive information and also before pasting the content, please click the # button in the message box toolbar to generate [CODE][/CODE] tags and make it easier to read.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v138a after moving to different server problem with login to admin
    By Ambra in forum Installing on a Windows Server
    Replies: 6
    Last Post: 16 Jun 2012, 07:55 PM
  2. v139h After moving to a new server, admin are blank without any error info
    By boomup in forum Upgrading to 1.5.x
    Replies: 5
    Last Post: 21 Jan 2012, 05:19 AM
  3. Replies: 12
    Last Post: 22 Aug 2011, 05:18 PM
  4. No admin access after moving to different server
    By mpforum in forum General Questions
    Replies: 5
    Last Post: 5 Jul 2010, 12:34 PM
  5. Major Error on website and admin panel. Urgent!
    By Redsea in forum Basic Configuration
    Replies: 5
    Last Post: 13 Jun 2007, 05:18 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR