Zen Cart Logo
Forums / Upgrading to 1.5.x / Not Found Admin.php error message given when trying to log in to Admin tools

Not Found Admin.php error message given when trying to log in to Admin tools

Views: 4,372

Results 1 to 7 of 7
12 Dec 2012, 8:45 PM
#1
ageorgec avatar

ageorgec

New Zenner

Join Date:
May 2011
Posts:
3
Plugin Contributions:
0

Not Found Admin.php error message given when trying to log in to Admin tools

Hello, I have recently upgraded my zen cart from 1.3.9 versions to the 1.5.1 and now I can not log into the admin tool area and continue to receive 404-error message "The requested URL /padmin/FILENAME_ADMIN.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

Please help, I was able to locate the file and see that it exist in on my server but for some reason I receive error message...

13 Dec 2012, 1:59 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Not Found Admin.php error message given when trying to log in to Admin tools

As there is no file named "FILENAME_ADMIN.php" in a standard distribution
I suggest that you re-upload all the admin files from a fresh distribution and try again to access

13 Dec 2012, 3:01 AM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Not Found Admin.php error message given when trying to log in to Admin tools

In v1.3.9h ... there is a define for that in:

/includes/filenames.php

Line #24 : define('FILENAME_ADMIN', 'admin');

This was removed in v1.5 and now the new
/your_secret_admin/includes/configure.php

uses a different method for the Admin directory ... and a different URL for managing admin users (see the Admin Access Management menu in your Admin menu bar)

You might look at the dist-configure.php for your current version ...

16 Dec 2012, 9:06 PM
#4
ageorgec avatar

ageorgec

New Zenner

Join Date:
May 2011
Posts:
3
Plugin Contributions:
0

Re: Not Found Admin.php error message given when trying to log in to Admin tools

I think I am more confused than at first. The zen cart admin panel states that I am using 1.5.1 I just recently ungraded from 1.3.9 version and some how I have noticed that I now can not log into the admin panel under tools. Please advise on where to locate the files? I did search my ftp for the missing file and noticed that the file was there but not being recognized.

16 Dec 2012, 9:47 PM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,099
Plugin Contributions:
56

Re: Not Found Admin.php error message given when trying to log in to Admin tools

In v1.5.x, the admin-related functions were moved to their own "tab" on the admin menu; the link from the tools menu was removed at that time.

16 Dec 2012, 9:47 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Not Found Admin.php error message given when trying to log in to Admin tools

There is no /admin/admin.php file anymore. That was removed since v1.5.0
That was the old page that you could use to add new admin users. It's been changed, and is now accessed from the new "Admin Access Management" option on the menu bar (BESIDE the Tools menu, not under it).

The reason you're seeing a link to FILENAME_ADMIN is because you've got an old link someplace that's pointing to the OLD menu and the OLD way of managing users.

So, that basically means you've still got some old v1.3.x code on your site which needs removing.

28 Dec 2012, 8:38 PM
#7
hawkwynd avatar

hawkwynd

New Zenner

Join Date:
Jun 2007
Location:
Nashville, TN
Posts:
32
Plugin Contributions:
1

Re: Not Found Admin.php error message given when trying to log in to Admin tools

ageorgec:

Hello, I have recently upgraded my zen cart from 1.3.9 versions to the 1.5.1 and now I can not log into the admin tool area and continue to receive 404-error message "The requested URL /padmin/FILENAME_ADMIN.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

Please help, I was able to locate the file and see that it exist in on my server but for some reason I receive error message...

If you have uploaded them, check your docs/ folder for two important files which you will want to review:

/docs/changed_files-v1-5-0.html
/docs/changed_files-v1-5-1.html

These two documents will list all the files to be deleted, and which ones are new, and which ones have been changed. It takes a little doing, but methodically, you will be able to track down which files are to be removed/added/updated on your website.

Good luck!