Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jan 2007
    Posts
    31
    Plugin Contributions
    0

    Default Moved to new host now I get 'Internal Server Error'

    Hi all,

    I have moved website to a new server and followed the helpfull post - https://www.zen-cart.com/tutorials/i...hp?article=100 but all I get now is an 'internal server error 500' when I try to enter my store which follows the path www.mysite.co.uk/shop and I cannot even enter my admin part either.

    Can anyone give me any idea where I have gone wrong please?

    Thanks in advance.

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Moved to new host now I get 'Internal Server Error'

    find out if the host is running php as cgi,
    If they are then the issues you are experiencing are probably just permission errors,
    make sure no folders are set higher than 755 and no files are set higher than 644
    Zen cart PCI compliant Hosting

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

    Default Re: Moved to new host now I get 'Internal Server Error'

    With regard to any "Internal Server Error" #500 msgs. it is best to discuss the situation with your Hoster. They know your account setup better than anyone.

  4. #4
    Join Date
    Jan 2007
    Posts
    31
    Plugin Contributions
    0

    Default Re: Moved to new host now I get 'Internal Server Error'

    Thanks for the replies, just a few questions!

    Code:
    find out if the host is running php as cgi,
    How do I do this????

    If they are then the issues you are experiencing are probably just permission errors,
    make sure no folders are set higher than 755 and no files are set higher than 644
    I have started to do this now I get the error:

    1146 Table 'mywebsite_zc1.zen_db_cache' doesn't exist
    in:
    [select * from zen_db_cache where cache_entry_name = 'zc_7eb4ed1f36d90140477d9474b61e0e26']

    Any ideas please???

  5. #5
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Moved to new host now I get 'Internal Server Error'

    Who is the new host?

  6. #6
    Join Date
    Jan 2007
    Posts
    31
    Plugin Contributions
    0

    Default Re: Moved to new host now I get 'Internal Server Error'

    Quote Originally Posted by fairestcape View Post
    Who is the new host?

    I bought a reseller hosting package as it worked out cheaper to host my 3 websites with way, so I am not sure how to answer this as its me!

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Moved to new host now I get 'Internal Server Error'

    Who did you buy the reseller account from?

  8. #8
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Moved to new host now I get 'Internal Server Error'

    Quote Originally Posted by stanleymog View Post
    I bought a reseller hosting package as it worked out cheaper to host my 3 websites with way, so I am not sure how to answer this as its me!
    Looks as if it's turning out to be more expensive.

    ZC requires some very specific server settings - not all hosts provide these.

    If you are serious about doing proper e-commerce, you would do well to find a reliable, knowledgeable and competent host. Spend the extra few £ (or $), then you will be able to focus on growing your business - not spending hundreds of hours on this forum (in the future) hoping to find silver bullets for complex problems.

  9. #9
    Join Date
    Jan 2007
    Posts
    31
    Plugin Contributions
    0

    Default Re: Moved to new host now I get 'Internal Server Error'

    Thanks for everyones responses, every host I have been with seems to have the same cPanel, mysql etc so I assumed they are virtualy the same, I guess not

    After going through the files again, I noticed something that I had or had not done!

    The Fix Cache Key util is used to reset your "SESSION_WRITE_DIRECTORY" key in the database after switching servers or relocating your Zen Cart installation from one folder to another.

    Compatible with Zen Cart versions 1.2.x and 1.3.x
    /*
    * This utility is used to reset your "SESSION_WRITE_DIRECTORY" key after switching servers.
    *
    * 1. Make sure the DIR_FS_SQL_CACHE setting is correct in your /includes/configure.php file.
    * 2. Copy this file to the folder where "index.php" exists for your Zen Cart site
    * 3. Run it
    * 4. The cache setting from your configure.php file will be displayed, followed by
    * the cache setting from your database.
    * If they match, it will say "No changes required."
    * If they do not match, it will synchronize the database to match the configure.php setting.
    * 5. VERY IMPORTANT .... WHEN DONE, DELETE THIS FILE FROM YOUR SERVER!!!!!!!!!!!
    * If you don't delete it (or at least rename it to something very obscure), then you run the
    * risk of somebody using it to find out information about your server configuration, which
    * could compromise your site's security. Thus, deleting this file when finished is the best approach.
    */
    How do you 'Run it' I thought it had run but I was very wrong, any ideas please?

    Thanks

  10. #10
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Moved to new host now I get 'Internal Server Error'

    load it to the root directory of your webshop, then in your web browser address bar enter your website URL, followed by the filename

    Code:
    http://www.YOURWEBSITE.com/fix_cache_key.php
    Then hit your keyboard's <ENTER> key.

    If you get a blank screen, all is OK.

    Remember to REMOVE this file from your server ASAP.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Internal Server Error on Godaddy host
    By mespe in forum General Questions
    Replies: 3
    Last Post: 27 Jan 2016, 07:52 AM
  2. v139h Ceon URI Mapping - Moved to New Host Server
    By srlaird in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 11 Aug 2014, 06:40 PM
  3. Replies: 0
    Last Post: 2 Sep 2013, 02:11 AM
  4. Replies: 4
    Last Post: 23 Jan 2011, 11:57 PM
  5. Moved to new server, now unable to get in to admin
    By dssprogrammer in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 21 Oct 2007, 03:29 PM

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