Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Admin Login will not display: 500 error

Admin Login will not display: 500 error

Views: 14,052

Results 1 to 12 of 12
13 Mar 2013, 10:37 PM
#1
thinkenvisage avatar

thinkenvisage

New Zenner

Join Date:
Mar 2013
Posts:
6
Plugin Contributions:
0

Admin Login will not display: 500 error

Moved site to new server. All is working, images, products add to cart, customer login is all working. When I go to admin I get "page not found".

I have confirmed that the config files are correct and the admin folder and files are there. What am I missing. I spent a good part of the day trying to troubleshoot this for the client and I am out of ideas.

Any help is greatly appreciated.

Thank you.Attachment 12146

13 Mar 2013, 10:57 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Login will not display: 500 error

First, you need to rename your /admin to something unique and secret so others cannot find it ...

Second, I really do not advise using a subdirectory with caps in it such as:
/JAshop

but rather something like:
/jashop

would be better as people will remember it less with the caps and mixed case on directories and filenames can create an issue ...

Once you decide what to change your:
/jashop/admin

directory name to, you need to fix the:
/jashop/includes/configure.php

for the change from JAshop to jashop and then change:
/jashop/your_secret_admin/includes/configure.php

and fix the /JAshop to /jashop and the /admin to /your_secret_admin

13 Mar 2013, 10:59 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin Login will not display: 500 error

Warning ...

You also appear to have hard coded in many of your links the zenid ... you never want to code a zenid into a link as that is managed by the Zen Cart software ...

14 Mar 2013, 6:29 AM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Admin Login will not display: 500 error

ThinkEnvisage:

When I go to admin I get "page not found".

You say this, but the screenshot you provided states it's an 'internal server error'.

If both are true, you have two different problems to fix.

Internal server errors are more often than not caused by file or folder permissions being too restrictive OR too lax (depends on the server).

page not found errors are usually caused by configuration file errors or a misbehaving 'SEO module'.

These suggestions are in addition to those provided by Ajeh, not instead of.

Cheers
Rod

15 Mar 2013, 3:26 PM
#5
thinkenvisage avatar

thinkenvisage

New Zenner

Join Date:
Mar 2013
Posts:
6
Plugin Contributions:
0

Re: Admin Login will not display: 500 error

I inherited this site. Set it up exactly like it was from the previous host. I can changed my admin folder name, updated the configure file but and that didn't solve anything, but will try. As far as the hard coded links...I will look into that and clean up as needed. The file permissions on the admin folder are set at 755 - I changed to 777 and still could not locate the files. Switched back to 755. What should the admin folder and files permissions be set to? I have also changed all the directory names jashop/dashboard and updated all the configure files and it is still not working. I find this odd since the cart works but the admin does not. Again, any help is greatly appreciated.

18 Mar 2013, 9:27 PM
#7
thinkenvisage avatar

thinkenvisage

New Zenner

Join Date:
Mar 2013
Posts:
6
Plugin Contributions:
0

Re: Admin Login will not display: 500 error

OK now I am getting the system setup page when going to the admin directory. The rest of the cart is running fine but I can't seem to access the admin side. This is getting frustrating as I am at a loss as to what to do. My config files are correct. The database is correct. Where to now?

18 Mar 2013, 10:21 PM
#8
thinkenvisage avatar

thinkenvisage

New Zenner

Join Date:
Mar 2013
Posts:
6
Plugin Contributions:
0

Re: Admin Login will not display: 500 error

OK got rid of the system set up page when trying to get to admin. Back to the original problem of the error page. HELP! I have to get this working for the client.:frusty:

19 Mar 2013, 5:33 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Admin Login will not display: 500 error

What do the server's apache log files say about the 500 error? The details of the error will be listed there. It's very possible that you'll have to get that information from your hosting company.

Related FAQ articles:
http://www.zen-cart.com/content.php?105-why-am-i-getting-500-internal-server-error
http://www.zen-cart.com/content.php?51-how-do-i-set-permissions-on-files-folders

20 Mar 2013, 1:49 AM
#11
thinkenvisage avatar

thinkenvisage

New Zenner

Join Date:
Mar 2013
Posts:
6
Plugin Contributions:
0

Re: Admin Login will not display: 500 error

Now we have the admin working BUT the product pages or any page for that matter are not loading. OMG this is getting frustrating. Seriously, all the categories are there and the products are listed in the admin area. The customers and orders are all there. NOW WHAT AM I DOING WRONG??? This can't be this difficult to work with. If anyone has had this same problem and you know how to fix it please get back to me soon before I self implode.

20 Mar 2013, 2:34 AM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Admin Login will not display: 500 error

ThinkEnvisage:

the product pages or any page for that matter are not loading.
When you say "are not loading", what exactly do you mean? Are the pages blank? is there an error message? Are they taking you to yahoo.com instead?

http://www.zen-cart.com/content.php?124-blank-page