
Originally Posted by
hrinfo
Hi there
First of all I do use zen cart 1.51v
Now to the problem and explanation. I can use the plugin with no problem as long as I log into the system as Superuser. When I create a profile called Editor and assign permissions to that Editor to use the plugin, I can create backups and store them on the server no problem. When though I chose to download such backup then and only then I get the security clearance error.
That of course means that the permissions for directories etc are correct but there is something that the plugin does not like with regards to user roles. That's irrespectively of what permissions someone has added to the user profile.
Any ideas will be highly appreciated :-)
Regards
Tassos
I wish all explanations or a error where stated so well. Thank You
Here is what should fix your error.
Open and edit YOUR_ADMIN/includes/extra_datafiles/backup_zc.php
You will see:
Code:
define('FILENAME_BACKUP_ZC', 'backup_zc');
define('BOX_TOOLS_BACKUP_ZC', 'BackUp ZenCart');
Make it look like this:
Code:
define('FILENAME_BACKUP_ZC', 'backup_zc');
define('FILENAME_BACKUP_ZC_DOWNLOAD', 'backup_zc_download');
define('BOX_TOOLS_BACKUP_ZC', 'BackUp ZenCart');
Next use tools install sql patch and paste this in:
Code:
INSERT INTO `admin_pages` (`page_key`, `language_key`, `main_page`, `page_params`, `menu_key`, `display_on_menu`, `sort_order`) VALUES('backup_zc_download', 'BOX_TOOLS_BACKUP_ZC', 'FILENAME_BACKUP_ZC_DOWNLOAD', '', 'tools', 'N', 28);
When you go to Admin Profiles Tools you will see two(2) Backup ZenCart listed check both.
Now you should go to Admin Profiles and select your user and check that both Backup ZenCart boxes are checked.
Skip
Bookmarks