Zen Cart Logo
Forums / Basic Configuration / Page not found for admin page

Page not found for admin page

Views: 4,109

Results 21 to 30 of 30
14 Aug 2015, 2:40 PM
#21
mc12345678 avatar

mc12345678

Totally Zenned

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

Page not found for admin page

lat9:

Please note that, as of Zen Cart v1.5.0, the admin folder name (see the highlighted section above) is *programmatically *determined -- it's no longer necessary to hand-edit the /YOUR_ADMIN/includes/configure.php file when you change your admin folder's name.

True when the configure.php files are those generated during installation or if upgraded/rebuilt following the directions posted on this site. If the configure.php files are those from prevous versions of ZC, then there are changes needed.

15 Aug 2015, 3:20 PM
#22
stevenuk avatar

stevenuk

New Zenner

Join Date:
Aug 2015
Location:
United Kingdom East Coast
Posts:
55
Plugin Contributions:
0

Re: Page not found for admin page

Hi Guys

Thank you to everyone for their help.

After so many problems, I deleted all the files of Zen Cart and using the quick install feature I re installed, I was up and running in about 20 mins (Wow) I was very impressed, This time I made sure back-ups were made before any tweak's

Thanks Again
Stephen.

15 Aug 2015, 6:18 PM
#23
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Page not found for admin page

using the quick install feature I re installed
Make this the last time you use it - NEVER rely upon it to upgrade

16 Aug 2015, 3:30 PM
#24
stevenuk avatar

stevenuk

New Zenner

Join Date:
Aug 2015
Location:
United Kingdom East Coast
Posts:
55
Plugin Contributions:
0

Re: Page not found for admin page

Thanks Kobra

I will keep that in mind :smile:

4 Dec 2015, 2:58 AM
#25
t1000 avatar

t1000

New Zenner

Join Date:
Jun 2014
Location:
Vancouver, Canada
Posts:
7
Plugin Contributions:
0

Re: Page not found for admin page

After scratching my head for awhile, just wanted to mention my fix for blank or 404 admin pages:

Make sure your file permissions are 644!

6 Dec 2015, 11:31 AM
#26
lucidlee avatar

lucidlee

Zen Follower

Join Date:
Aug 2005
Location:
Bondi, Australia
Posts:
101
Plugin Contributions:
0

Re: Page not found for admin page

I'm also having all sorts of trouble getting an updated zencart running my hosted server.

I rebuilt the cart from scratch on my MAMP dev machine.
Got it running with an array of plugins and the demo database.
I then downloaded the production database into a new db container, switched it over and upgraded it.
So at that stage I had a fairly well functioning 1.5.4 zencart on my MAMP - to the extent that I can log into the admin side and do whatever, and on the catalog side I can do a purchase order. OzPost and Paypal are still nonfunctional and really can only be debugged from the host server, so…

I created a new subdomain on the webhost and uploaded the new zencart.
I created a new instance of the database and "migrated" the data to it with the nifty MySQL Workbench.
I twiddled the configure.php files to match the new setup.
I can use the catalog to visit products and can also complete a purchase order.
I can't log into the admin side of this installation, though. there is no error page. Entering the credentials and hitting logon merely clears the fields. the page doesn't blank out.
No error log is generated and in general I'm at a loss as to how to diagnose the problem.

I've done a file by file comparison between the MAMP install and the webhosted cart - no differences
I've checked permissions by comparing it with my functioning production and MAMP installs - no differences other than configure.php settings.
So, maybe it's the environments?
MAMP:

Server Host: mamp.local Database Host: localhost (127.0.0.1)
Server OS: Darwin 15.0.0 Database: MySQL 5.5.42
Server Date: 12/06/2015 21:06:28 Database Date: 12/06/2015 21:06:28
Server Up Time: Disabled/Unavailable HTTP Server: Apache
PHP Version: 5.5.26 (Zend: 2.5.0) PHP Memory Limit: 128M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 32M POST Max Size: 32M
Database Data Size: 23,015 kB Database Index Size: 1,161 kB

WebHost:

Server Host: store.domain.com.au Database Host: 127.0.0.1 (127.0.0.1)
Server OS: Linux c3s1-2e-syd.hosting-services.net.au 2.6.32-531.29.2.lve1.3.11.1.el6.x86_64 #1 SMP Thu Dec 18 06:49:17 EST 2014 x86_64 Database: MySQL 5.6.27
Server Date: 12/06/2015 22:25:44 Database Date: 12/06/2015 22:25:44
Server Up Time: Disabled/Unavailable HTTP Server: LiteSpeed
PHP Version: 5.6.15 (Zend: 2.6.0) PHP Memory Limit: 128M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 32M POST Max Size: 8M
Database Data Size: 26,806 kB Database Index Size: 3,337 kB

What have I missed?

7 Dec 2015, 3:19 AM
#27
lucidlee avatar

lucidlee

Zen Follower

Join Date:
Aug 2005
Location:
Bondi, Australia
Posts:
101
Plugin Contributions:
0

Re: Page not found for admin page

Well after all that what it really takes is just a pair of fresh techie eyes…

My ISP came back in just half an hour with the solution. The problem was in the admin/includes/configure.php file after all:

define('HTTP_SERVER', 'http:/dev.domain.com.au');

Which I have corrected to :-

define('HTTP_SERVER', 'http://dev.domain.com.au');

Just one little "/" missing

7 Dec 2015, 4:29 AM
#28
ajeh avatar

ajeh

Oba-san

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

Re: Page not found for admin page

Thanks for posting the solution to your issue ... this is a great help for others ... :smile:

16 Dec 2015, 10:25 PM
#29
germerican avatar

germerican

New Zenner

Join Date:
May 2010
Posts:
27
Plugin Contributions:
0

Re: Page not found for admin page

My problem is after having the Zen Cart installed and finally finding the admin login page, I do not know what my is. I can reset the password as often as I want, but not the username. Where do I find this? The config data only has a sql db username which is not the one I need (I guess, at least it doesn't work)

16 Dec 2015, 10:59 PM
#30
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: Page not found for admin page

germerican:

My problem is after having the Zen Cart installed and finally finding the admin login page, I do not know what my is. I can reset the password as often as I want, but not the username. Where do I find this? The config data only has a sql db username which is not the one I need (I guess, at least it doesn't work)

After you login following the instructions at: http://www.zen-cart.com/content.php?44

You will be asked to change your password. Keep the same userid as required for the instruction the old password is from the instruction also. Give a new password. Now you should be in the admin account.

Towards the top right of a 154 installation (151 and above) you should see an admin area where you can manage admin users. That is if the software was obtained from the ZC site. Some auto-installs do not include the admin menu option upon installation.

The other username/password directly relates to the store's ability to speak with the database.