Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Upgrading to 1.5.x / Upgraded new site to 1.5.1 and now can't view admin

Upgraded new site to 1.5.1 and now can't view admin

Started by jenvin on 20 Dec 2013, 12:48 PM · Views: 3,381

Results 1 to 17 of 17
20 Dec 2013, 12:48 PM
#1
jenvin avatar

jenvin

New Zenner

Join Date:
Sep 2010
Location:
Australia
Posts:
78
Plugin Contributions:
0

Upgraded new site to 1.5.1 and now can't view admin

Hi to the clever people here,

I just upgraded my site using the list of deleted, new and changed files in the upgrade to 1.5.1
I also renamed my Admin file. (It was zc_admin, now just admin)
Now when I try to go into the admin (backend) of my new site and put in domain name/ the new store name/renamed admin/, all I get is a blank screen.

What have I done wrong?

I know when I first did this in 1.3.9 (different store now gone) I had to rename a few of other areas as well. Do I have to do that with this upgrade and change too?

If so, which bits do I need to change?

20 Dec 2013, 3:02 PM
#2
chowardart avatar

chowardart

New Zenner

Join Date:
Apr 2013
Location:
Florida
Posts:
57
Plugin Contributions:
0

Re: Upgraded new site to 1.5.1 and now can't view admin

Search the forum about the "white screen"... Most often, it's a problem with one of the php files, often having an extra space or not having a close. There are a few pages on the subject, read up on them, then you have to try and figure which one it is, which most often is an add-on or mod....

20 Dec 2013, 8:50 PM
#3
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Re: Upgraded new site to 1.5.1 and now can't view admin

Jenvin:

Hi to the clever people here,

I just upgraded my site using the list of deleted, new and changed files in the upgrade to 1.5.1
I also renamed my Admin file. (It was zc_admin, now just admin)
Now when I try to go into the admin (backend) of my new site and put in domain name/ the new store name/renamed admin/, all I get is a blank screen.

What have I done wrong?

I know when I first did this in 1.3.9 (different store now gone) I had to rename a few of other areas as well. Do I have to do that with this upgrade and change too?

If so, which bits do I need to change?

You'll most likely have an error log being generated in your log folder, accessible via cpanel or ftp.
Post the content of the log generated after you attempt to access your admin. Don't forget to edit out any reference to the name of your admin folder.

20 Dec 2013, 9:16 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Upgraded new site to 1.5.1 and now can't view admin

Jenvin:

Hi to the clever people here,

I just upgraded my site using the list of deleted, new and changed files in the upgrade to 1.5.1
I also renamed my Admin file. (It was zc_admin, now just admin)
Now when I try to go into the admin (backend) of my new site and put in domain name/ the new store name/renamed admin/, all I get is a blank screen.

What have I done wrong?

I know when I first did this in 1.3.9 (different store now gone) I had to rename a few of other areas as well. Do I have to do that with this upgrade and change too?

If so, which bits do I need to change?

Admin directory should not be named admin. That is the default installation folder name for the admin directory and is required to be changed in order to get to the admin area. Additionally, it should be something not easily guessable nor posted for the public to see.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

21 Dec 2013, 12:09 AM
#5
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Upgraded new site to 1.5.1 and now can't view admin

I have seen a similar issue after an upgrade

in your admin config file, are you still using the one from 1.39h

admin/includes/config.php

if so you will need to change the admin paths in there as well as renaming the admin folder

With the default zen 1.5.1 admin config file, It is a much smarter file and it figures out its own file paths, so all you need to do in a default 1.5.1 install is change the name of the admin folder, If you have upgraded, in the manner you say, you are more than likely going to have the 1.39h style config file.

If you are unsure post the contents of you admin config file here (replacing sensitive info with *****)

Jenvin:

Hi to the clever people here,

I just upgraded my site using the list of deleted, new and changed files in the upgrade to 1.5.1
I also renamed my Admin file. (It was zc_admin, now just admin)
Now when I try to go into the admin (backend) of my new site and put in domain name/ the new store name/renamed admin/, all I get is a blank screen.

What have I done wrong?

I know when I first did this in 1.3.9 (different store now gone) I had to rename a few of other areas as well. Do I have to do that with this upgrade and change too?

If so, which bits do I need to change?

Webzings Design
Semi retired from Web Design

21 Dec 2013, 4:15 AM
#6
jenvin avatar

jenvin

New Zenner

Join Date:
Sep 2010
Location:
Australia
Posts:
78
Plugin Contributions:
0

Re: Upgraded new site to 1.5.1 and now can't view admin

nigelt74:

I have seen a similar issue after an upgrade

in your admin config file, are you still using the one from 1.39h

admin/includes/config.php

if so you will need to change the admin paths in there as well as renaming the admin folder

With the default zen 1.5.1 admin config file, It is a much smarter file and it figures out its own file paths, so all you need to do in a default 1.5.1 install is change the name of the admin folder, If you have upgraded, in the manner you say, you are more than likely going to have the 1.39h style config file.

If you are unsure post the contents of you admin config file here (replacing sensitive info with *****)

Hi Nigelt74,

No, it's a totally new upload. I scrapped the 1.3.9 totally. 1.5.0 and did the 1.5.1 upgrade.

Thanks for the reply.

21 Dec 2013, 4:18 AM
#7
jenvin avatar

jenvin

New Zenner

Join Date:
Sep 2010
Location:
Australia
Posts:
78
Plugin Contributions:
0

Re: Upgraded new site to 1.5.1 and now can't view admin

mc12345678:

Admin directory should not be named admin. That is the default installation folder name for the admin directory and is required to be changed in order to get to the admin area. Additionally, it should be something not easily guessable nor posted for the public to see.

Hi mc12345678,

I know I have to totally rename it, but at the moment it doesn't matter because no one will be able to get into it as even I can't. :)
As soon as everything is working again, the admin will be renamed to something else.

Thanks for your reply.

21 Dec 2013, 4:19 AM
#8
jenvin avatar

jenvin

New Zenner

Join Date:
Sep 2010
Location:
Australia
Posts:
78
Plugin Contributions:
0

Re: Upgraded new site to 1.5.1 and now can't view admin

picandnix:

You'll most likely have an error log being generated in your log folder, accessible via cpanel or ftp.
Post the content of the log generated after you attempt to access your admin. Don't forget to edit out any reference to the name of your admin folder.

Thanks picandnix,

I'll have a look around to see if I can do it. At the moment, I wouldn't have a clue.

Thanks for the reply.

21 Dec 2013, 4:21 AM
#9
jenvin avatar

jenvin

New Zenner

Join Date:
Sep 2010
Location:
Australia
Posts:
78
Plugin Contributions:
0

Re: Upgraded new site to 1.5.1 and now can't view admin

chowardart:

Search the forum about the "white screen"... Most often, it's a problem with one of the php files, often having an extra space or not having a close. There are a few pages on the subject, read up on them, then you have to try and figure which one it is, which most often is an add-on or mod....

Thanks chowardart,

I'll have a look for 'white screen'.
Appreciate the help. Thanks for the reply.

21 Dec 2013, 4:46 AM
#10
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Upgraded new site to 1.5.1 and now can't view admin

Jenvin:

Hi mc12345678,

I know I have to totally rename it, but at the moment it doesn't matter because no one will be able to get into it as even I can't. :)
As soon as everything is working again, the admin will be renamed to something else.

Thanks for your reply.

You misunderstand, I don't think that you will be able to access your "admin" panel as long as the directory is called admin. You MUST rename it in order to get it to work.

Seems that if uu are not prompted to rename it and that the name of the directory was previously zc_admin that the installation was not from the package downloaded from ZC at least if a brand new install was performed. ZC will not allow admin entry and will display a message when trying to access the admin directory when it is named admin. If it doesn't, then something is not correct about the install. Either files weren't deleted that should have been, or not updated, not inserted, etc...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

21 Dec 2013, 5:14 AM
#11
jenvin avatar

jenvin

New Zenner

Join Date:
Sep 2010
Location:
Australia
Posts:
78
Plugin Contributions:
0

Re: Upgraded new site to 1.5.1 and now can't view admin

mc12345678:

You misunderstand, I don't think that you will be able to access your "admin" panel as long as the directory is called admin. You MUST rename it in order to get it to work.

Seems that if uu are not prompted to rename it and that the name of the directory was previously zc_admin that the installation was not from the package downloaded from ZC at least if a brand new install was performed. ZC will not allow admin entry and will display a message when trying to access the admin directory when it is named admin. If it doesn't, then something is not correct about the install. Either files weren't deleted that should have been, or not updated, not inserted, etc...

Ahhh.
Thanks mc12345678. Yes, I misunderstood what you were saying.
Okay, I'll go and change it now, and see if that fixes the problem.
Thanks so much for coming back. (and you can stop banging your head against the desk now. :smile:)

21 Dec 2013, 6:28 AM
#12
jenvin avatar

jenvin

New Zenner

Join Date:
Sep 2010
Location:
Australia
Posts:
78
Plugin Contributions:
0

Re: Upgraded new site to 1.5.1 and now can't view admin

picandnix:

You'll most likely have an error log being generated in your log folder, accessible via cpanel or ftp.
Post the content of the log generated after you attempt to access your admin. Don't forget to edit out any reference to the name of your admin folder.

Umm, just went into Cpanel and looked in the error log. There's nothing there.

Is that bad?

21 Dec 2013, 6:41 AM
#13
jenvin avatar

jenvin

New Zenner

Join Date:
Sep 2010
Location:
Australia
Posts:
78
Plugin Contributions:
0

Re: Upgraded new site to 1.5.1 and now can't view admin

Also, should have mentioned that I can't even get the zencart login to show up. You know where you have to put in the name and the password underneath.

21 Dec 2013, 6:50 AM
#14
jenvin avatar

jenvin

New Zenner

Join Date:
Sep 2010
Location:
Australia
Posts:
78
Plugin Contributions:
0

Re: Upgraded new site to 1.5.1 and now can't view admin

Jenvin:

Also, should have mentioned that I can't even get the zencart login to show up. You know where you have to put in the name and the password underneath.

Okay, had enough of all these problems. I'll try to upload everything the way everyone else seems to.
I've gotten rid, uninstalled, sent to the website heaven, of the fantastico installed cart.
I'll do it the hard way.

Thanks for everyone's help. I dare say I'll be back.

21 Dec 2013, 7:11 AM
#15
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Re: Upgraded new site to 1.5.1 and now can't view admin

Jenvin:

Umm, just went into Cpanel and looked in the error log. There's nothing there.

Is that bad?

Sounds like I may be too late, but...
Your 'log' folder is not the cpanel error folder, it is your Zen Cart error folder, it lives in public_html/logs (in the same list/location as youradmin, images, includes and so on). It can be viewed via cpanel or ftp.

21 Dec 2013, 8:15 AM
#16
jenvin avatar

jenvin

New Zenner

Join Date:
Sep 2010
Location:
Australia
Posts:
78
Plugin Contributions:
0

Re: Upgraded new site to 1.5.1 and now can't view admin

picandnix:

Sounds like I may be too late, but...
Your 'log' folder is not the cpanel error folder, it is your Zen Cart error folder, it lives in public_html/logs (in the same list/location as youradmin, images, includes and so on). It can be viewed via cpanel or ftp.

That's okay picandnix,

Yeah, a little late, but I did look in that one too and there was nothing there either, or I just couldn't see it.
I'll try again. If anything, it's taught me not to take the easy way out. All I've lost is a few hours of nervousness and one night of uncomfortable sleep. :smile:

21 Dec 2013, 1:58 PM
#17
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Re: Upgraded new site to 1.5.1 and now can't view admin

Jenvin:

All I've lost is a few hours of nervousness and one night of uncomfortable sleep. :smile:

There'll be plenty more of them I bet if I remember my early attempts :wink: