New Zenner
- Join Date:
- Jun 2007
- Posts:
- 2
- Plugin Contributions:
- 0
Admin Profiles (for v1.3.x only!) Support Thread
It's showing up on mine now. What I did was just to put it the patches in admin.php from the install text file included.
Views: 334,208
New Zenner
It's showing up on mine now. What I did was just to put it the patches in admin.php from the install text file included.
New Zenner
Hi there,
I've just tried to install this Admin Profiles modification to my new install version of Zen 1.3.7 which has no extra 'mods' installed on it.
Followed all the steps but when I now go to my Admin log-in, I get the following message.....
Fatal error: Call to undefined function: menu_header_visible()
in /homepages/34/d204809067/htdocs/zen/admin/includes/boxes/configuration_dhtml.php on line 13
This was reported once earlier on these forums - but it's not a corrupt file as I've checked the remotely hosted version and all is well.
I've checked my database tables based on some of the talk on these threads. I am Admin User ID 1 and all my tables start with the prefix I'd selected on install.
So now I'm 'snookered' in that I can't get into Admin at all! Any solution to this show-stopper?????? (My fingers are tightly crossed!)
New Zenner
What seems to have worked (although I've yet to fully test as got to run....) - Is that I've simply copied the function it moaned about straight into the page that was trying to access it.
That caused it too moan about another missing function - so I did the same, and repeat a few more times.
Now I get my admin menus back including this excellent new 'Admin Settings' one which I'll try later.
Question though - Do you forsee any problems arising from this fix I've done???? Obviously still grateful if there's a answer to the main issue (my prior post) as I'd prefer to understand from those that really know what they're doing!!!!
Thanks!
New Zenner
Hi Kuroi,
Nice Job. I had installed this and working fine. Thank you very much for this wonderful job. But I want to restrict users to categories and product label. Any idea How to do that. I am running a store where the retail shopkeepers will advertise their product in their own category. This is where I need to restrict users of admin section to view their products/category only. Would you pls suggest how to do that.
Thanks
Biren
New Zenner
This mod sounds like what I need. Will this work with 1.3.7? :lookaroun
Totally Zenned
rbobzin:
OK, but keep in mind this will all be based on recollections served up by an increasingly fault-prone memory!Don't I know that feeling!!
I'm puzzled by this. If it weren't for your recollection of the order in which you did things, I would have suggested that you may have accessed Super Orders before adding the specific box files for that mod. However, it's not a mod that I actually use, and it's the 2nd most challenging for Admin Profiles to interpret, so there may be something else going on in there.
I would recommend going to the admin_files database table to obtain the IDs for the two rogue pages (and delete the records), and then go to the admin_allowed_pages table and delete all records that have those page_ids.
Totally Zenned
mlbracewell:
I installed this mod successfully early in the year. I'm running ZC 1.37.
My client has gone in and added categories and products. She has full permissions to access the Catalog but now cannot access most of the products.
What do I need to do?This doesn't sound like an Admin Profile problem. AP is much more all or nothing as it cuts of access to particular functions such as editing categories and doesn't get involved at the level of individual products or categories.
Could you describe what happens when she is unable to access a product? Is there an error message? Is she redirected away from the page? Does her browser fall over?
Totally Zenned
msrache:
I've just uploaded Admin profiles after creating several admin accounts already. When I logged in again using other accounts, the menus are gone, but when I log in using my main account, it lets me access every admin menu. Sounds okay since I haven't set up permissions yet..
Your analysis is correct.
msrache:My question is, why is the P icon not showing up in my Admin Settings? How do I change permissions for individual admins then?Sounds as though you haven't fully implemented step 3 of the installation instructions. Do you have the "Edit Permission" button?
[Aha see from your later post that you've now found the patches! :thumbsup:]
Totally Zenned
IslandGuy:
Question though - Do you forsee any problems arising from this fix I've done????Probably not, though it's not ideal.
IslandGuy:Obviously still grateful if there's a answer to the main issue (my prior post)Can you post the full path for the admin_profiles.php file on your remote server.
Totally Zenned
brianpat:
I want to restrict users to categories and product label. Any idea How to do that. I am running a store where the retail shopkeepers will advertise their product in their own category. This is where I need to restrict users of admin section to view their products/category only. Would you pls suggest how to do that.Admin Profiles doesn't do this as it restricts access to admin functions not individual categories or products.
What you're after is a much requested feature, but would be complex and difficult to maintain as am add-on module, as it would involve going into the category and product files. These change fairly frequently and are also amended by other mods with which it would clash.
Your best bet therefore is the re-write of the whole Admin scheduled for Zen Cart 1.6, when hopefully something like this might get built into the core code.
Totally Zenned
gcomfx.com:
This mod sounds like what I need. Will this work with 1.3.7? :lookaroun
:bored: Yes.
New Zenner
Hi, I have a problem:
I am using a database prefix, and I should run the install_adminlevels.sql, but I can't find the file. I searched the forum and found someone with the same problem, but then he said that he fixed it, but didn't said how. Please help, thanks!
I found (here) that install_adminlevels.sql is in fact install_admin_profiles.sql so I tried that one, but got this error message: > 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
New Zenner
After a little work (it was my first time running an *.sql script :D) I got the idea.
If anyone else encounters this problem,open install_admin_profiles.sql with notepad or wordpad, and copy everything in there. Go to Admin area, Tools->Install SQL patches and paste all of it in 'Enter the query to be executed:' box. :D
Now it works fine!:clap:
Totally Zenned
2 fr33pr0d
Apologies for the confusion. It's a silly typo that went un-noticed (or at least uncommented upon) through 5 releases despite my re-working the install instructions for each release.
It is fixed in the instructions for the next release. There just hasn't been a next release for a while!
Thank you for posting this helpful guidance for other users.
New Zenner
I am trying to install Admin Profiles and thought I had it working but when I went back to my storefront I got this:
Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.require]: failed to open stream: No such file or directory in /home/lincoln6/public_html/shop/includes/languages/english.php on line 50
Fatal error: require() [function.require]: Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lincoln6/public_html/shop/includes/languages/english.php on line 50
New Zenner
bvrettski:
I am trying to install Admin Profiles and thought I had it working but when I went back to my storefront I got this:
Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.require]: failed to open stream: No such file or directory in /home/lincoln6/public_html/shop/includes/languages/english.php on line 50
Fatal error: require() [function.require]: Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lincoln6/public_html/shop/includes/languages/english.php on line 50
I actually fixed this problem which was the result of dropping the "english.php" file into the wrong folder. Duh!!
So...Now I've reinstalled admin_profiles 1.0.6 and I get this error in when I go into tools>admin settings
Fatal error: Cannot redeclare class base in /home/lincoln6/public_html/shop/includes/classes/class.base.php on line 17
On my first installation I did create an additional admin account. I am able to log in with either one but can't get into the admin settings.
Thanks for any help.
Brett
New Zenner
Uh, I thought I installed admin profiles according to the instructions, and ran the sql correctly, but i don't see any result - and wonder if i need to install the 'extras' somewhere - but i really can't seem to figure out where to place them and which of the extras i should use. i'm sure this is simple to fix, but can't find answers in any threads.
any help ?
thanks.
Totally Zenned
bvrettski:
I am trying to install Admin Profiles and thought I had it working but when I went back to my storefront I got this:
Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.require]: failed to open stream: No such file or directory in /home/lincoln6/public_html/shop/includes/languages/english.php on line 50
Fatal error: require() [function.require]: Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lincoln6/public_html/shop/includes/languages/english.php on line 50This is a symptom of a rather screwed up Zen Cart. Your expereinces from your previous post may provide some clues. I would look carefully at your admin/admin.php and your admin/includes/application_top.php files and compare them to the default Zen Cart versions.
Beyond that I can add only that this is nothing to do with Admin Profiles which does not attempt to instantiate any classes, and so this is really outside of my area of expertise.
Totally Zenned
kjb:
Uh, I thought I installed admin profiles according to the instructions, and ran the sql correctly, but i don't see any result - and wonder if i need to install the 'extras' somewhere - but i really can't seem to figure out where to place them and which of the extras i should use. i'm sure this is simple to fix, but can't find answers in any threads.You've not given me much to go on. Which version of Zen Cart are you using, and which version of Admin Profiles? Have you checked that all the files are in the locations listed in step 2 of the installation instructions? Did you do all three of the code patches? And is so which of the alternatives for patch 1 and patch 2 did you do?
New Zenner
Hey everyone,
I'm getting a weird error when a FRESH install of 1.3.7 -
I used the patched files plus the sql install both in my phpMyadmin (1st time) and my Install SQL Patches (2nd time).
I get this error every time when i click on permissions (which by the way isn't the image, just a text link)
500 Error (Internal Server Error) due to it trying to reach this link..
/admin/FILENAME_ADMIN_CONTROL.php?adminID=1
Any ideas on WHY this is happening??
Thanks in advance,
Brad
Fields marked required must be completed.
Tell staff why this post should be reviewed.