Zen Cart Logo
Forums / Upgrading to 1.5.x / Upgraded to V150 now admin Access is gone

Upgraded to V150 now admin Access is gone

Views: 2,915

Results 1 to 19 of 19
25 Mar 2012, 8:38 PM
#1
silks avatar

silks

New Zenner

Join Date:
Jul 2007
Posts:
6
Plugin Contributions:
0

Upgraded to V150 now admin Access is gone

I upgraded to lates version and now I have no admin access, can not edit admin info, add new admin, nothing. When linked is clicked on it goes to an error page. Please point me in the right direction. Silks

26 Mar 2012, 2:33 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Upgraded to V150 now admin Access is gone

In versions prior to 1.5.0 the Admin user control was in the Tools->Admin Settings menu. That was removed and replaced with a new top-level menu entitled Admin Access Management.

27 Mar 2012, 1:04 AM
#3
silks avatar

silks

New Zenner

Join Date:
Jul 2007
Posts:
6
Plugin Contributions:
0

Re: Upgraded to V150 now admin Access is gone

The Admin Access Management is not there at all. Missing from the tool bar.. Silks

27 Mar 2012, 3:04 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Upgraded to V150 now admin Access is gone

What exactly did you do to get to this point?
What were the steps you took in your upgrade? Who did your upgrade for you, and how?

27 Mar 2012, 11:23 PM
#5
john_12 avatar

john_12

New Zenner

Join Date:
Mar 2012
Posts:
2
Plugin Contributions:
0

Re: Upgraded to V150 now admin Access is gone

yep same here - upgraded from 1.37 to 1.50 using fantastico.

Is there a fix to this yet?

28 Mar 2012, 1:34 AM
#6
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Upgraded to V150 now admin Access is gone

john_12:

yep same here - upgraded from 1.37 to 1.50 using fantastico.

Is there a fix to this yet?

The "fix" is to not use Fantastico, but to follow the upgrade instructions provided in the documents folder of the download pack. Fantastico and other auto-installers often make critical errors (especially when you have addons or mods installed in your old version).

Hopefully you made a back up before you used Fantastico to do your upgrade. This will allow you to roll back to your pre-upgrade state and start fresh with the manual process.

28 Mar 2012, 4:01 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Upgraded to V150 now admin Access is gone

Please report your problem to Fantastico directly: https://netenberg.com/#customer.html

30 Mar 2012, 2:40 PM
#8
silks avatar

silks

New Zenner

Join Date:
Jul 2007
Posts:
6
Plugin Contributions:
0

Re: Upgraded to V150 now admin Access is gone

Part of my problem I found is that I have :oops:two Admin folders, one is admin and the other is zc_admin. How do I combine them into a new secure folder? Silks

30 Mar 2012, 4:20 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: Upgraded to V150 now admin Access is gone

The same way you would if you were doing a proper normal upgrade by hand. Use the NEW one only, and add in the things required by any customizations you've made or (compatible) addons you've added, and then delete the old one. https://www.zen-cart.com/upgrade

10 Jun 2012, 10:46 PM
#10
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Upgraded to V150 now admin Access is gone

I've just experienced the same thing. Its like it disappeard into thin air. I already had it up and running and created two new super users. At some point later it disapppeared from the top level menu.

jUST FOUND THE SOLUTION. /INCLUDES/FILENAME.PHP WAS ORIG 1.39

10 Jun 2012, 11:51 PM
#11
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Upgraded to V150 now admin Access is gone

Is there any chance of getting override directory in includes? filenames.php is a custom file for anyone who has added additional pages to their store. I just went thru it and spent half a day trying to figure out why admin access management disappeared.

11 Jun 2012, 12:00 AM
#12
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,694
Plugin Contributions:
56

Re: Upgraded to V150 now admin Access is gone

The way to do this is to use extra_configures and extra_datafiles.

11 Jun 2012, 11:31 AM
#13
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Upgraded to V150 now admin Access is gone

can you elaborate?

11 Jun 2012, 12:30 PM
#14
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,694
Plugin Contributions:
56

Re: Upgraded to V150 now admin Access is gone

Put your additional filename defines in

./admin/includes/extra_datafiles/yet_more_filenames.php

12 Jun 2012, 12:34 AM
#15
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Upgraded to V150 now admin Access is gone

so for example I added page_22, I would create a new file called anything-but-filenames.php and have a single line of text in it? This is what I mean about more elaboration.

12 Jun 2012, 12:38 AM
#16
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,694
Plugin Contributions:
56

Re: Upgraded to V150 now admin Access is gone

You said you overrode filenames.php. Whatever you put in your changed file, put it under extra_datafiles. I have no idea what the contents you need are, but I would hope that they would look like what's in includes/filenames.php (except for your new pages).

12 Jun 2012, 1:51 AM
#17
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Upgraded to V150 now admin Access is gone

swguy:

You said you overrode filenames.php. Whatever you put in your changed file, put it under extra_datafiles. I have no idea what the contents you need are, but I would hope that they would look like what's in includes/filenames.php (except for your new pages).
I simply copied the original filenames.php and added a few pages and saved it as filenames.php in an override directory.

12 Jun 2012, 1:54 AM
#18
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Upgraded to V150 now admin Access is gone

pixelpadre:

so for example I added page_22, I would create a new file called anything-but-filenames.php and have a single line of text in it? This is what I mean about more elaboration.

Could you reply directly to this question and nothing else?

12 Jun 2012, 1:57 AM
#19
drbyte avatar

drbyte

Sensei

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

Re: Upgraded to V150 now admin Access is gone

No, there isn't an "override" of filenames.php. That's intentional, as there's rarely any need to change that file's existing contents.
Instead, simply by using Zen Cart's autoloading support, you can put a new file in the extra_configures (or extra_datafiles) folder, and that file will automatically be executed on every page load.

Thus, the following would suffice:

/includes/extra_datafiles/my_added_filenames.php```

<?php define('FILENAME_PAGE_22', 'page_22'); define('FILENAME_ANOTHER_PAGE_BY_ME', 'the_page_filename_used.php'); // etc ```