Zen Cart Logo
Forums / All Other Contributions/Addons / Admin Profiles (for v1.3.x only!) Support Thread

Admin Profiles (for v1.3.x only!) Support Thread

Views: 334,210

Results 961 to 980 of 1,242
30 Mar 2010, 11:43 PM
#961
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Admin Profiles (for v1.3.x only!) Support Thread

Why are you cluttering the forum with unnecessary code? The line is there as described in the installation instructions. I suggest that you try Ctrl-F (or Command-F on a Mac) in whatever editor you're using, put in the string ICON_RESET, and it will take you straight there.

31 Mar 2010, 1:56 PM
#962
onnengling avatar

onnengling

New Zenner

Join Date:
Mar 2010
Posts:
4
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

:oops:
Sorry. I had read the word wrongly and also not aware that code is so long...

I've now managed to find the line & completed the installation instruction. It works.
Thank you very much...

31 Mar 2010, 7:34 PM
#963
ekneifel avatar

ekneifel

New Zenner

Join Date:
Mar 2010
Posts:
4
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Hi,

I tried looking through this forum but am having a hard time finding an answer to my problem; perhaps someone can help me.

I have two Admin profiles set up, with IDs of 6 and 8, meaning they're not the original Admin profile. I was hoping to use one of the two as the main admin profile, but at some point, some of the permissions were deselected for that user. So now, both admin user accounts do not have access to modify admin permissions, and I can't access about 1/2 of my admin panel because of deselected permissions. Is there a way to edit permissions in an actual file on the server, or a way to reset my admin profiles so they can access all of the Admin panel?

Thank you.
Eric

Zencart version: 5.1.12

2 Apr 2010, 3:06 PM
#964
ekneifel avatar

ekneifel

New Zenner

Join Date:
Mar 2010
Posts:
4
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Anyone?

3 Apr 2010, 1:24 AM
#965
bbsbcastle avatar

bbsbcastle

New Zenner

Join Date:
Aug 2009
Location:
Greeneville, TN USA
Posts:
55
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Here's one quick solution. You can go to your MySQL phpMyAdmin console and edit the ID 0 user profile to some other number. Then edit wither the #6 or 7 to 0. You should be able to do everything.

3 Apr 2010, 4:15 PM
#966
ekneifel avatar

ekneifel

New Zenner

Join Date:
Mar 2010
Posts:
4
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Unfortunately when I go in my MySQL phpmyAdmin, looking under Admin there's only one user that appears, and it's not one of the two that appear when I'm logged into zencart Admin section. I tried logging in using this admin but zencart wouldn't accept it. Am I looking in the wrong section? This is the only place I could find to edit the Admin level status.

Thanks.

7 Apr 2010, 6:50 AM
#967
jaishem avatar

jaishem

New Zenner

Join Date:
Feb 2010
Posts:
55
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

After Admin profile installed sucessfully, No effect in database / changes after click the Update button.

:frusty:

7 Apr 2010, 9:13 AM
#968
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

ekneifel:

Unfortunately when I go in my MySQL phpmyAdmin, looking under Admin there's only one user that appears, and it's not one of the two that appear when I'm logged into zencart Admin section. I tried logging in using this admin but zencart wouldn't accept it. Am I looking in the wrong section? This is the only place I could find to edit the Admin level status.

Thanks.It sounds as though you're looking in the wrong database. If you see two admins via Admin Profiles and you login with a third, there must be at least three admins listed in the admin table of your store's database, otherwise AP would have nowhere to pull the information from.

7 Apr 2010, 9:14 AM
#969
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

jaishem:

After Admin profile installed sucessfully, No effect in database / changes after click the Update button.Do you have the Zen Cart security patch installed? Do you have the Admin Profiles patch for the Zen Cart security patch installed?

7 Apr 2010, 5:38 PM
#970
ekneifel avatar

ekneifel

New Zenner

Join Date:
Mar 2010
Posts:
4
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

ZC Security patch is not installed, but Admin Profiles patch is. I looked deeper & apparently there are two databases. The two users I mentioned earlier (IDs 6 and 8) that appear in Zencart's admin are in a separate database from what I mentioned earlier.

I changed the Admin ID to 1 for the profile that doesn't appear in Zencart Admin, and changed my main Admin login to 0 as bbsbcastle mentioned above. Unfortunately, when I log in as that user after that, none of the Admin menu appears. Changing that admin ID back to 6 shows some all menus and allows access to some things, but the ID as 0 cuts access off. Any ideas?

Thank you for your guidance.

12 Apr 2010, 8:10 PM
#971
jaishem avatar

jaishem

New Zenner

Join Date:
Feb 2010
Posts:
55
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

The problem is after install Admin Profile, I logged in as admin (admin_id=1) and tried assigning rights to other admins.
After select menu and submenu rights to the admin I clicked on the Save Changes button and there was no rights assigned to that admin.

This is happened because of rewrite rule applied to the website.

Solution:

Page Name: admin/admin_control.php

Replaced

<form id="profileBoxes" name="profileBoxes" action="admin_control.php?adminID=<?php echo $adminID; ?>&action=saver" method="post"> with <?php echo zen_draw_form('profileBoxes', FILENAME_ADMIN_CONTROL, 'adminID=' . $adminID . '&action=save', 'post', 'id="profileBoxes"', 'true'); ?>

Now it works! :)
Thanks!

15 Apr 2010, 1:30 AM
#972
tagon avatar

tagon

New Zenner

Join Date:
Apr 2010
Posts:
6
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

I'm not a programmer but I've been designing for 7 years and have never had an issue like I'm having with this addon. When I installed Admin Profiles, my entire admin went out and I get a message saying:
"1146 Table 'eugenio60_IC_20100413_160113.zen_admin_menu_headers' doesn't exist
in:
[select id from zen_admin_menu_headers where header = 'Configuration']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields."

Now to ME....common sense would say that upon uploading the new files...nothing would change except for the actual permissions box with the menu "Tools -> Admin Profiles" (or where ever it was designed to be located.) And that AFTER they are uploaded...THEN you would assign permissions to the different profiles. But this SOB blocked me out right after uploading! Immediately after the FTP finished, I refreshed my admin tab and voila...this message above. I have searched in this thread for a solution under several key terms (because unfortunately I don't have enough time in my life to read all 97 pages of opinions) and I have seen many people with the same problem, however the solutions posted for them were not related to my particular problem.

Can someone point me in the direct direction or at least tell me where in the world I can get the original files for zen cart? I ask for original files because apparently, the admin .php files for Admin Profiles don't like to go back when you overright them with the backup files you make before installation.

15 Apr 2010, 1:40 AM
#973
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

jaishem:

The problem is after install Admin Profile, I logged in as admin (admin_id=1) and tried assigning rights to other admins.
After select menu and submenu rights to the admin I clicked on the Save Changes button and there was no rights assigned to that admin.

This is happened because of rewrite rule applied to the website.This looks to me more like using an older version of Admin Profiles (i.e. anything prior to 1.0.7.1 on a site that has had the Zen Cart security patch for the admin applied. 1.0.7.1 was release in June of last year and already includes the "solution" that you posted.

15 Apr 2010, 1:44 AM
#974
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

tagon:

I'm not a programmer but I've been designing for 7 years and have never had an issue like I'm having with this addon. When I installed Admin Profiles, my entire admin went out and I get a message saying:
"1146 Table 'eugenio60_IC_20100413_160113.zen_admin_menu_headers' doesn't exist
in:
[select id from zen_admin_menu_headers where header = 'Configuration']This is an installation error, and everything else that you posted is irrelevant until the original error is fixed, e.g. putting back your admin.php file won't make any difference as your site is tripping over before it gets there, nor are you able to access the main Admin Profiles functions (so probably would be wise not to get over critical until you've actually installed the mod properly and seen them).

Did you do step 1 of the installation instructions?

If so, did you use the Zen Cart Install SQL Patch facility?

16 Apr 2010, 12:41 AM
#975
tagon avatar

tagon

New Zenner

Join Date:
Apr 2010
Posts:
6
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

You're probably right about me trying not to be so critical...I guess the steps are not quite specific enough for me to understand.

As far as doing step 1, I THOUGHT I did...but it never said which admin->settings to modify. Is it talking about making these changes to the LIVE admin of the site, or an admin file that came with this module's download?

As far as the "Zen Cart Install SQL Patch facility" I'm not sure I know what you're referring to. Zen Cart and osCommerce are two of the shopping cart options available inside of my hosts' cPanel. I just choose which one I want and click an install button and voila...I go to the url to log in to admin. Not sure what a SQL Patch facility is and I've never written tables or anything that makes up DB's.

Is this something I have to get a programmer to do? Cause if I'm oblivious to the very first step...there's a high chance I'm gonna fail this horribly!!! lol :shocking:

16 Apr 2010, 12:52 AM
#976
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin Profiles (for v1.3.x only!) Support Thread

tagon:

As far as doing step 1, I THOUGHT I did...but it never said which admin->settings to modify. Is it talking about making these changes to the LIVE admin of the site, or an admin file that came with this module's download?

As far as the "Zen Cart Install SQL Patch facility" I'm not sure I know what you're referring to. Zen Cart and osCommerce are two of the shopping cart options available inside of my hosts' cPanel. I just choose which one I want and click an install button and voila...I go to the url to log in to admin. Not sure what a SQL Patch facility is and I've never written tables or anything that makes up DB's.
Take a deep breath. This sound like a confidence issue more than anything else. You're in an unfamiliar place dealing with unfamiliar vocabulary.

If you've just installed Zen Cart then you probably only have one admin user, and their ID is probably 1. Step starts by asking you to to verify this to avoid the risk of awkwardness later.

You do so by logging into the Admin area and then finding the Admin Settings option on the Tools menu.

Provided that you are doing this as user one, you then find the Install SQL Patch facility on the same Tools menu in the Admin. From there you can browse to and run the SQL installation file.

This method is recommended as it's the easiest for new users. It avoids problems with database prefixes for example. But if you are unable to get into your Admin because of steps taken ealier, then we'll need to get into that - but even so, it's really not too difficult, and you'll learn at every step of the way.

16 Apr 2010, 2:25 PM
#977
alecat83 avatar

alecat83

New Zenner

Join Date:
Mar 2010
Posts:
12
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Hello guys!
Nice work with this mod, but I have a problem.
I've installed correctly the mod in my website.
Now when I enter in the admin area, with my user and also with another, the configuration drop-down menu is visible, but when I go over with the mouse no option are listened, so I can't access any of the configuration functionality.
All the other menù like catalog or tools are correctly visible and works.

I've readed this thread and I've checked the category menù and also all is content in the admin profiles, but nothing changed.

Please,m can you help me?

Thank you

Alessandro

16 Apr 2010, 3:29 PM
#978
alecat83 avatar

alecat83

New Zenner

Join Date:
Mar 2010
Posts:
12
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

Solved it, it was a problem with extra modules and second lenguage I think, anyway now it is ok!
thank you

Alessandro

17 Apr 2010, 7:19 PM
#979
waytoolate avatar

waytoolate

New Zenner

Join Date:
Sep 2008
Location:
California
Posts:
40
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

I was installing the Admin_Profiles to 3 carts (1.3.8) with no other admin add-ons.
The first store went well and works fine. However, I got interrupted and confused with the 2nd and 3rd stores and overwrote the files with one without first applying the patch.

When I tried to log-in, it gave me messages that it couldn't find the proper tables.

Using PHPMyAdmin, I was able to run the patch to create the proper tables. Now, when I try to log-in, I get this error:

1054 Unknown column 'admin_id' in 'field list'
in:
[select admin_id from zen_admin_visible_headers where header_id = '1']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

Now that I have 'stepped in it', how can I fix it?

Prompt help is greatly appreciated!

17 Apr 2010, 9:36 PM
#980
waytoolate avatar

waytoolate

New Zenner

Join Date:
Sep 2008
Location:
California
Posts:
40
Plugin Contributions:
0

Re: Admin Profiles (for v1.3.x only!) Support Thread

OK... I think I have muddled my way through...

It seems that the "zen_" prefix is added to tables when created via the Admin's SQL Patch module. So I got the table names corrected using MyPHPAdmin.

However, the same prefix does NOT apply to field names.

By correcting this, I was able to log-in, but the profile functions did not work. Admin #1 was able to access everything but could not make the permissions work. All other logins only saw the home page - unable to navigate - no menu headers are visible...

However since Admin #1 was functioning, I patched the system via the admin tools - (as I should have originally).

NOW IT WORKS!

Hopefully, if any other knuckleheads repeat my folly, they can find this thread and save themselves a lot of grief!