@baby-information, which version of Admin Profiles have you installed?
Printable View
@baby-information, which version of Admin Profiles have you installed?
My problem is that when i check the third party mode and save the changes it does not hold, when i try to access some of these third party modes 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."
When i check the permission again i find out that the mod that i wanted to access is unchecked and every thing else is still checked. Any ideas?
my zen cart is 1.3.7
@TamyA
There were significant changes to the way in which Zen Cart handles admin forms since 1.3.7. Recent releases of Admin Profile confirm to the new standards, and it sounds as though incompatibilities in this area may be causing your problem.
The only solution that I can suggest is to bring your Zen Cart up-to-date, by upgrading to 1.3.9. This would be standard advise to anyway running 1.3.7 as these sites are vulnerable to being hacked.
Thanks Kuroi,
I know i need to upgrade to the latest Zen Cart, what is stopping me is i did not follow the follow the override system of zen cart and lots of changes made directly to core files. I need to see if there is an easy way to upgrade and get the changes from those files to the new version.
Thanks again
Hi TamyA,
This may help you in your upgrade to undo what you have since you did not make changes by following override system. What you are going to do is reverse install and when finished will leave you with the parts to install in the new 1.3.9.h. This also assumes you have working knowledge of Beyond Compare and how to compare and merge files and folders.
Here are the steps:
- Make a list of all your 3rd party installs with the version number.
- Download your shopping cart and name “Work Copy”.
- Download a copy of Beyond Compare.
- Download a copy of each 3rd party mod and place in a folder called Mods. Then place each mod in their own folder inside Mods Folder.
- Un-Zip each mod inside its Zip up folder and look for any folders called “YOUR_TEMPLATE” folders/files that should been placed in your override folder. Make a note of these 3rd party mods on your list in step 1.0 so you know which later to Change (the name of “YOUR_TEMPLATE” to what you should have named your override folder).
- Open Beyond Compare and first load a mod that does not have a override folder in the mod on the “Left Side” and load the “Work Copy” of your shopping cart on the “Right Side”. Next Compare the “Left side” to “Right Side” and DELETE any files that are “equal or the same” from your “Right Side the “Work Copy” ” After you have finished removing all Mods that Do Not have a “YOUR_TEMPLATE” folders you are ready to remove the Mods that are in “Core Files”. Save a copy of the “Work Copy” with Mods removed each time just in case of a mistake.
- Make and name a work copy of each Mod that has the “YOUR_TEMPLATE” folder. Next in this work copy mod “REMOVE” the “YOUR_TEMPLATE” folder leaving all folders and files downstream intact.
- Load one of these Work Mods from step 1.6 in the “Left Side” just like you did in step 1.5. Compare Left Side to Right Side and preform the same steps in 1.5 loading each of the Work Mods on Left Side from step 1.6. Be sure to save a copy of “Work Copy” after you remove each Mod.
- What you now have left is your Shopping Cart with all mods removed, and should only have the changes that make your Shopping Cart different than the Original Basic Zencart.
- Now load in Beyond Compare and on the Left Side the Original Version of Zencart you used to build your shopping cart. Do a Compare then remove all files that are equal leaving the folder empty on the Right Side.
- Next load each file that is not equal and remove all lines of code on the Right Side that match the Left Side. When finished what remains on the Right Side is the path of empty folders to the few folders containing files with a few lines of code that is the mod “For Your Cart” Save this file inside a Folder called “My zencart Mod” and make a Master Copy.
- Load into the Right Side of Beyond Compare zencart 1.3.9h and load on Left Side “MY zencart Mod” merged Left Side into Right Side. Save a copy of “My_Master_zencart_no_Mods” and UpLoad this copy and test to see if appearance of your shopping cart is correct. If all OK you are ready for 3rd Party mods.
Creating a Master 3rd Party Mod. Be sure first to change the name of “YOUR_TEMPLATE” to your override name on each of the mods.
Take your list of 3rd party mods and load the largest one into Beyond Compare Right Side. Load the next mod in your list and merge into Left Side. Do this with each mod in your list. When finished you will have a Master 3rd Party Mod. that was working with your previous version. Save and name a copy to be merge into your new 1.3.9h from step 1.11 Before you merge your 3rd party mod always make a careful comparison to all files on Right Side “1.3.9h” to make sure you are not going to be overwriting any core files or if you will be you know why/where and if it is OK.
Only use this method after you know the mods works with your shopping cart. Then when new versions of same series of cart are released is simple to update. I have used this method for years now with no problem and I don't install a new unproven mod until it has been tested, if OK then add to your Master 3rd Party mod file.
Thanks EZorb,
I am about 95% done with the upgrade.
I am doing it on a local server (wampserver), i kind followed something like your guidelines and it has been fun seeing the result coming a long.
Thanks again and you trouble is much appreciated.
I have a problem. I can't log into admin. It's saying wrong username or password. Is there a way to retrieve the password or get in and change it? Don't know what to do. Thanks for anyones help.
I installed the Admin Profiles plugin and updated all of the PHP scripts, as per the installation instructions. I double checked the changes I made, but the following error is still occuring:
1146 Table 'erezer_net_13.zen_pet_storeadmin_menu_headers' doesn't exist
in:
[SELECT id FROM zen_pet_storeadmin_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 searched the Internet, the support forum and this thread for an answer to this problem and I still cannot find an answer.
This thread is huge, so it could be cumbersome to read the entire thread to find an answer for this problem in the time I need it solved.
Also, I'm using ZenCart v1.3.9h (supposedly current) with Admin Profiles Version: 1.1.1.