Forums / General Questions / Moved to new host now I get 'Internal Server Error'

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

Locked
Results 1 to 12 of 12
This thread is locked. New replies are disabled.
14 Jul 2008, 23:45
#1
stanleymog avatar

stanleymog

New Zenner

Join Date:
Jan 2007
Posts:
31
Plugin Contributions:
0

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/index.php?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.
15 Jul 2008, 03:31
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
1

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
15 Jul 2008, 03:43
#3
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Posts:
4,572
Plugin Contributions:
0

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.
15 Jul 2008, 10:23
#4
stanleymog avatar

stanleymog

New Zenner

Join Date:
Jan 2007
Posts:
31
Plugin Contributions:
0

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

Thanks for the replies, just a few questions!

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???
15 Jul 2008, 10:38
#5
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Posts:
2,957
Plugin Contributions:
0

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

Who is the new host?
15 Jul 2008, 16:47
#6
stanleymog avatar

stanleymog

New Zenner

Join Date:
Jan 2007
Posts:
31
Plugin Contributions:
0

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

fairestcape:

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!
15 Jul 2008, 16:57
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Posts:
19,793
Plugin Contributions:
2

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

Who did you buy the reseller account from?
16 Jul 2008, 21:15
#8
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Posts:
2,957
Plugin Contributions:
0

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

stanleymog:

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.
17 Jul 2008, 01:40
#9
stanleymog avatar

stanleymog

New Zenner

Join Date:
Jan 2007
Posts:
31
Plugin Contributions:
0

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 :no:

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
17 Jul 2008, 03:18
#10
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Posts:
2,957
Plugin Contributions:
0

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

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.
18 Jul 2008, 10:30
#11
stanleymog avatar

stanleymog

New Zenner

Join Date:
Jan 2007
Posts:
31
Plugin Contributions:
0

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

That didn't work, so I have now wiped all my files and I am starting 'fresh' how do I find out what version I had installed originally?

Thanks
18 Jul 2008, 10:51
#12
stanleymog avatar

stanleymog

New Zenner

Join Date:
Jan 2007
Posts:
31
Plugin Contributions:
0

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

Sorry, I found it :wacko: