Re: Admin Profiles 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.
Re: Admin Profiles 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.
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
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.
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
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).
Re: Admin Profiles Support Thread
Quote:
Originally Posted by
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.
Re: Admin Profiles 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:
Re: Admin Profiles Support Thread
Look under Tools>Admin settings> edit permissions
Sawhorse
Re: Admin Profiles Support Thread
Thanks for reply but permissions for Configuration Menù are already turn on despite this the configuration menù is not visible.
http://www.esavino.altervista.org/bar.jpg
Re: Admin Profiles 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.
Re: Admin Profiles 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: