Re: Admin Profiles Support Thread
I'm running 1.3.0.2. all is well except the menus and pages I want to disable still appear. If the user clicks on a particular item which I have "unchecked", they get the denied access page. However the links are still there.
I checked the db and the admin headings are correct in the sense that user id 2 does not have all the headings listed. But when user id 2 logs in, page loads, everything shows up.
I have another installation of the same version for another client and it seems to work flawlessly.
Any suggestions ?
Re: Admin Profiles Support Thread
The menu options are driven by the files in the /admin/includes/boxes files/folders. Perhaps these have been reverted back to old versions on your site somehow?
Re: Admin Profiles Support Thread
Dr., i checked, and you were correct... i overwrote the files and ta-da !
btw... do you ever sleep or NOT be on this site ?
Thanks again !
Re: Admin Profiles Support Thread
Quote:
Originally Posted by kuroi
Step 1: is register_globals ON or OFF on your server? and has it changed recently?
It's set to OFF with .htaccess
php_flag session.use_trans_sid off
php_flag register_globals off
Re: Admin Profiles Support Thread
Quote:
Originally Posted by kuroi
Step 2: Has the orange icon disappeared from all users? Has the "edit permissions" button also disappeared?
Yes, all users are missing orange icon and button is gone too.
Re: Admin Profiles Support Thread
Quote:
Originally Posted by teva
Yes, all users are missing orange icon and button is gone too.
This is sounding as though your admin.php file may have somehow been overwritten. However I have checked the two add-ons that you metioned earlier and would not expect either to do this.
Could you check whether or not the results of the first two code patches that you did during Admin Profiles installation are still intact. Here's a reminder of them ...
Quote:
In admin\admin.php find the line containing the constant ICON_RESET (line 203 in a clean install of ZC 1.3). Insert a new line immediately afterwards containing the following ...
<?php echo '<a href="' . zen_href_link(FILENAME_ADMIN_CONTROL, 'adminID=' . $admins->fields['admin_id']) . '">' . zen_image(DIR_WS_IMAGES . 'icon_permissions.gif', ICON_PERMISSIONS) . '</a>'; ?>
In admin\admin.php find the 2nd line containing the constant IMAGE_DELETE (line 427 in a clean install of ZC 1.3 with the above patch installed). Insert a new line immediately afterwards containing the following ...
<br /><a href="' . zen_href_link(FILENAME_ADMIN_CONTROL, 'adminID=' . $adminInfo->admin_id) . '">' . zen_image_button('button_edit_permissions.gif', IMAGE_PERMISSIONS) . '</a>
Re: Admin Profiles Support Thread
I did a fresh install of Zen Cart version 1.3.0.1. Then I upgraded to 1.3.0.2. Then I installed Admin Profiles.
Step 1: I don't think I am using a DB prefix
Step 2: copied all files over to server in proper places
Step 3: Ctrl-copied code so I wouldn't make a typo
Step 4: didn't do
Step 5: didn't do
Step 6: When I logged in, I got this message and no headers, so I couldn't go to Tools
1146 Table 'designit_zc2.admin_menu_headers' doesn't exist
in:
[select id from 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 hope you can help me. I really want this to work.
Thanks so much.
Re: Admin Profiles Support Thread
Quote:
Originally Posted by cindyjw
I did a fresh install of Zen Cart version 1.3.0.1. Then I upgraded to 1.3.0.2. Then I installed Admin Profiles.
Step 1: I don't think I am using a DB prefix
Step 2: copied all files over to server in proper places
Step 3: Ctrl-copied code so I wouldn't make a typo
Step 4: didn't do
Step 5: didn't do
Step 6: When I logged in, I got this message and no headers, so I couldn't go to Tools
1146 Table 'designit_zc2.admin_menu_headers' doesn't exist
in:
[select id from 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 hope you can help me. I really want this to work.
Thanks so much.
I'm surprised that this hasn't been raised before. You still need to do step one to create the tables that Admin Profiles uses. You just don't need to edit the SQL first to add a DB prefix. However, the installation instructions could be a little more clear on this. I will make them so with the next update.
Re: Admin Profiles Support Thread
Quote:
Originally Posted by kuroi
I'm surprised that this hasn't been raised before. You still need to do step one to create the tables that Admin Profiles uses. You just don't need to edit the SQL first to add a DB prefix. However, the installation instructions could be a little more clear on this. I will make them so with the next update.
Since I am fairly new to this coding stuff, could you explain step one to me a little more. I don't know where to go to go or what to do exactly.
Thank you so much!
Re: Admin Profiles Support Thread
Quote:
Originally Posted by cindyjw
Since I am fairly new to this coding stuff, could you explain step one to me a little more. I don't know where to go to go or what to do exactly.
Thank you so much!
I got it fixed. My server host helped me. He imported the install_admin_profiles.sql file into my database. The problem is...I don't know how he did that. I should have asked him. Could you make that clear on your instructions for future users?
This mod is fabulous! Thank you so much. Is there a way to choose which is the opening default page when they log in?
Thanks again!