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,211

Results 701 to 720 of 1,242
2 Apr 2009, 2:52 AM
#701
robrem avatar

robrem

New Zenner

Join Date:
Mar 2009
Location:
Taos, NM
Posts:
19
Plugin Contributions:
0

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

:oops: I accidentally copied the admin files over to my cart directory before I ran the SQL patch and now have lost access to my admin console. What do I do now?
Incidentally when the files were uploading I received messages asking whether to overwrite/replace a number of box files and wasn't sure how to handle that.

2 Apr 2009, 3:40 AM
#702
robrem avatar

robrem

New Zenner

Join Date:
Mar 2009
Location:
Taos, NM
Posts:
19
Plugin Contributions:
0

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

Got my admin console functions back. I went into the c-panel file manager and removed all the new files that were installed and am back where I started. I'll try this over.

17 Apr 2009, 5:04 PM
#703
zranno avatar

zranno

New Zenner

Join Date:
Apr 2008
Posts:
9
Plugin Contributions:
0

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

kuroi:

Admin Profiles works by controlling which pages a user can access. What you are wanting would require the pages themselves to be re-written. This was something that I considered doing for the Admin Control page, but there just didn't seem to be enough interest to justify the effort.

Thanks for the reply Kuroi. I think what I'm asking is to have the "Super User" placed separately from other users, so that the other users can change their passwords without exposing the "Super User" settings. I recall a similar function in the CRELoaded version--was hoping to find it in ZenCart.

17 Apr 2009, 5:11 PM
#704
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

zranno:

Thanks for the reply Kuroi. I think what I'm asking is to have the "Super User" placed separately from other users, so that the other users can change their passwords without exposing the "Super User" settings. I recall a similar function in the CRELoaded version--was hoping to find it in ZenCart.My previous response still applies, and will probably continue to do so until while Admin Profiles is bolted onto the outside of Zen Cart. However, I have good reason to believe that built-in access control is very much on the agenda for Zen Cart's Admin Re-write delivery (probably version 2.2).

23 Apr 2009, 4:31 PM
#705
seomaestro avatar

seomaestro

New Zenner

Join Date:
Apr 2009
Posts:
1
Plugin Contributions:
0

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

Katies30f:

I am using the newest version of Zen Cart 1.3.8
1146 Table 'scr0908708265688.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.

I've had this problem too and I was able to get it to work. Disclaimer: I'm really dumb and I don't know what the hell I'm doing with php or Zen Cart.

But this worked:
Using the Install php query tool under admin, I merely copied and pasted this into the box and pressed "send:"

CREATE TABLE zen_admin_allowed_pages (
categories_id int(11) NOT NULL default '0',
admin_id int(11) NOT NULL default '0'
) TYPE=MyISAM;

Whatever table it said wasn't there, I made it there by editing the line from the error line. I copied this line straight from the output screen (or the install_admin_profiles file that came with the mod) and just changed the name to whatever it needed. In this case, I had to add "zen_" to the front of "admin_allowed_pages." Someone in this post made a reference to appending "zen_" to it but didn't explain.

When you run the full install_admin_profiles file it will list the errors at the very very top of the page. This was also an indicator that this remedy might work. I don't know if it's the proper fix, but so far things are operating correctly.

I hope this is a solution for you.

You can also find examples of the other table setups in that same file, so zen_admin_menu_headers has lots of entries for it. It wouldn't be just one line of code, I'm guessing. But there's probably a better solution. I'm just glad this worked.

26 Apr 2009, 1:27 PM
#706
esavino avatar

esavino

New Zenner

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

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

Hi, I've just installed Admin profiles 1.1.0 with Zen Cart 1.3.8 but configuration menù can't be shown.
Sorry for my english.
help me please!:frusty:

26 Apr 2009, 1:42 PM
#707
esavino avatar

esavino

New Zenner

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

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

Hi, I've just installed Admin profiles 1.1.0 with Zen Cart 1.3.8 but as administratore the configuration menù is not visible when I move on configuration link.
Sorry for my english.
help me please!:frusty:

26 Apr 2009, 5:22 PM
#708
sawhorse avatar

sawhorse

Zen Follower

Join Date:
Oct 2007
Location:
Kentucky - USA
Posts:
425
Plugin Contributions:
0

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

Look under Tools>Admin settings> edit permissions

Sawhorse

27 Apr 2009, 10:04 AM
#709
esavino avatar

esavino

New Zenner

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

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

Thanks for reply but permissions for Configuration Menù are already turn on despite this the configuration menù is not visible.

27 Apr 2009, 10:07 AM
#710
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

Version 1.1 is an unsupported fork of Admin Profiles. I recommend either contacting the author directly or reverting to the supported 1.0.7 version.

27 Apr 2009, 11:38 AM
#711
esavino avatar

esavino

New Zenner

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

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

Ok but also with Admin_profiles 1.0.7 the configuration menu is not shown. I've installed the admin_profiles 1.0.7 as follow:

  1. Install Patches SQL "install_admin_profile.sql"
  2. Install Patches SQL "upgrade_admin_profiles.sql"
  3. Replace folder admin with "admin_profiles_v1_0_7/admin"
  4. Replace folder admin with "admin_profiles_v1_0_7extras - patched files for ZC1.3.8a/admin"

The file that doesn't function seems to be "configuration_dhtml.php".
If I replace this file with the original "configuration_dhtml.php" the configuration menù is shown but when I click on the sections (for example: info negozio, sessioni, regolamenti) I've the follow error: "Sorry, your security clearance does not allow you to access this resource.
Please contact your site administrator if you believe this to be incorrect.
Sorry for any inconvenience."
:huh:

5 May 2009, 9:39 AM
#712
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

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

I am having problems installing admin_profiles.

In admin-tools-install sql patch : First I browse to the correct file and upload it. then I attempt to run it.

What I get is :

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'install_admin_profiles.sql' at line 1
in:
[install_admin_profiles.sql;]
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.

This is the first time I have used asql patch. So, this may be a obvious error on my part.

I am using Zen Cart 1.3.8a and it is admin profiles 1.0.7.

Any advice would be hugely appreciated!

Thanks

Nick

6 May 2009, 11:50 AM
#713
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

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

Please I need urgent help as I just installed the admin profile to my zencart and I can't access my admin menus, the thing is when I log in to my Admin page I get to my admin home page but whenever I click on any of the links on my admin menu I get this message " Sorry, your security clearance does not allow you to access this resource. Please contact your site administrator if you believe this to be incorrect. Sorry for any inconvenience." and the other strange thing is for some reasen the e icon/button didn't show up on the admin page ! although I'm sure that I uploaded to the right loaction, my zencart version is 1.3.8a, I have only one admin for now but I'm planning to assign two more admins to have access, can anybody tell me what I did wrong and how to fix that problem !:no:

6 May 2009, 2:53 PM
#714
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

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

I'm still waiting for help !! :wacko:

6 May 2009, 3:08 PM
#715
alhakeem2001 avatar

alhakeem2001

Zen Follower

Join Date:
Nov 2007
Posts:
434
Plugin Contributions:
1

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

This is a print-screen of the error message

6 May 2009, 10:36 PM
#716
stickman avatar

stickman

New Zenner

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

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

alhakeem2001:

Please I need urgent help as I just installed the admin profile to my zencart and I can't access my admin menus, the thing is when I log in to my Admin page I get to my admin home page but whenever I click on any of the links on my admin menu I get this message " Sorry, your security clearance does not allow you to access this resource. Please contact your site administrator if you believe this to be incorrect. Sorry for any inconvenience." and the other strange thing is for some reasen the e icon/button didn't show up on the admin page ! although I'm sure that I uploaded to the right loaction, my zencart version is 1.3.8a, I have only one admin for now but I'm planning to assign two more admins to have access, can anybody tell me what I did wrong and how to fix that problem !:no:

Hello alhakeem2001, maybe this extract from the Wiki will help:

http://www.zen-cart.com/wiki/index.php/Contribution:Admin_Profiles#I_have_installed_Admin_Profiles_and_now_all_my_Admin_menus_have_disappeared

Good Luck

7 May 2009, 8:42 AM
#717
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

esavino:

Ok but also with Admin_profiles 1.0.7 the configuration menu is not shown. I've installed the admin_profiles 1.0.7 as follow:

  1. Install Patches SQL "install_admin_profile.sql"
  2. Install Patches SQL "upgrade_admin_profiles.sql"
  3. Replace folder admin with "admin_profiles_v1_0_7/admin"
  4. Replace folder admin with "admin_profiles_v1_0_7extras - patched files for ZC1.3.8a/admin"

The file that doesn't function seems to be "configuration_dhtml.php".
If I replace this file with the original "configuration_dhtml.php" the configuration menù is shown but when I click on the sections (for example: info negozio, sessioni, regolamenti) I've the follow error: "Sorry, your security clearance does not allow you to access this resource.
Please contact your site administrator if you believe this to be incorrect.You've not done anything wrong here (although it wasn't necessary to install the upgrade SQL). Rather the problem is most likely a restriction in the way that Admin Profiles currently works, which makes it difficult to change language. If you have English installed as a language for your Admin, then if you switch into that the Configuration Menu should work. Alternatively you would need to change the values in the admin-files database table to match exactly the text for each entry in the Configuration drop down menu.

I have a Pro version (paid for and includes installation) which completely reworks the structure with a view to extending it to be multilingual, and adding language will be high on my list of features to trickle down to the community version.

7 May 2009, 8:51 AM
#718
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

niccol:

I am having problems installing admin_profiles.

In admin-tools-install sql patch : First I browse to the correct file and upload it. then I attempt to run it.

What I get is :

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'install_admin_profiles.sql' at line 1
in:
[install_admin_profiles.sql;]
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.

This is the first time I have used asql patch. So, this may be a obvious error on my part.

I am using Zen Cart 1.3.8a and it is admin profiles 1.0.7.

Any advice would be hugely appreciated!

Thanks

NickIt's a big of a guess, but historically we used a funny back apostrophe thingy around fields because some MySQL installations seemed unhappy if we didn't. More recenly I've been hearing of versions that don't like it.

So I'd recommend making a copy of the installation SQL and doing a global find and replace to remove them all, and then try running that file. And please let us know how you get on.

7 May 2009, 8:57 AM
#719
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

@alhakeem2001

stickman's diagnosis is the same as I would have made if I'd got here earlier. Did that resolve the problem for you?

9 May 2009, 6:14 PM
#720
wittlethings avatar

wittlethings

New Zenner

Join Date:
Apr 2009
Posts:
9
Plugin Contributions:
0

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

umm ok. I downloaded the admin_profiles_v1_0_7 and I backed up my public_html file before I began.

I then opened file zilla and uploaded the admin folder found in the admin_profiles_v1_0_7 folder. I then uploaded the admin folder found in the extras_patched files for ZC1.3.8a.

I also went to the Admin - Tools - Install SQL Patches and I chose the file install_admin_profiles SQL file from the admin_profiles_v1_0_7.

Now from what I can gather from the instruction (which are VERY confusing by the way) that's all the appropriate steps.

However when I log into my admin and I go to admin - Tools - Admin Settings I see the two admin passwords there. Mine and the one I'm trying to limit access to. I'm ID 1 and she is ID 2. But there is no Orange Circle with a white P as the instructions in the install.txt states. All that is there is a green with white e circle, a red with white x circle and a arrow looking triangle.

Where did I go wrong?

Please tell me here and possible if you can e-mail it to me - [email protected]? If need be I can let you into my zencart to edit it. I need to get this where this girl can add her products but does not have access to other things. I tried very hard to follow the instructions and now I'm lost. I thought what I was doing was correct, but I don't see the p so I must have misstepped or misunderstood somewhere.

PLEASE HELP!

Thank you!