Results 1 to 10 of 1238

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by Debbers View Post
    Well, here I am with some of the previous people who installed the recent security patch and when we went to add an admin permission, it was not saved.

    So, I found this thread, and the first thing I saw was the admin_control.php download from the author for an instant patch. So I downloaded it.

    But alas, that gives me an SQL error:
    1146 Table 'zzzzzzz_sandbox.TABLE_ADMIN_ALLOWED' doesn't exist
    in:
    [select * from TABLE_ADMIN_ALLOWED where page_id = '1' and admin_id = '3']
    Deb

    The offer of ice cream always helps. Here's what I think has happened. I think that like kalin/signs in recent posts you don't have Admin Profiles installed, you actually have the Admin Restrict Product Categories. Unfortunately the author of that fork from Admin Profiles renamed one of the tables. I can see why, and understand, but it does make an installation of that mod incompatible with the main Admin Profiles stream.

    If my hypothesis is correct, then the patch I did for AP won't work for you. However (and I haven't tested this) the single line change that I posted immediately prior to this post probably will.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  2. #2
    Join Date
    Dec 2008
    Location
    Australia
    Posts
    55
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by peco1 View Post
    I got the same error. Please help. Thanks.
    Quote Originally Posted by kuroi View Post
    Deb

    The offer of ice cream always helps. Here's what I think has happened. I think that like kalin/signs in recent posts you don't have Admin Profiles installed, you actually have the Admin Restrict Product Categories. Unfortunately the author of that fork from Admin Profiles renamed one of the tables. I can see why, and understand, but it does make an installation of that mod incompatible with the main Admin Profiles stream.

    If my hypothesis is correct, then the patch I did for AP won't work for you. However (and I haven't tested this) the single line change that I posted immediately prior to this post probably will.
    My cart is 1.3.8a and for a couple of weeks ive been reading over posts, I have the same problem. i did install the Admin Restrict Product Categories before i came accross this one where i tried to over right it with Admin Profiles , i cant save any admin and when i go to catagory/products i get this error
    1146 Table 'website_261449.admin_allowed_categories' doesn't exist
    in:
    [select admin_id from admin_allowed_categories where categories_id = '0']
    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 also changed this
    But here's what you might want to try in the admin/admin_control.php file of mod you're using ...

    find the line
    PHP Code:
    <form id="profileBoxes" name="profileBoxes" action="admin_control.php?adminID=<?php echo $adminID; ?>&amp;action=save" method="post">
    and replace it with
    PHP Code:
    <?php echo zen_draw_form('profileBoxes', FILENAME_ADMIN_CONTROL, 'adminID=' . $adminID . '&amp;action=save', 'post', 'id="profileBoxes"', 'true'); ?>

    I still cant save or change products and im a little lost with it all atm, so if someone could point me in right direction it would be a life saver as i really need to update catagories and return permissions to me.
    To everyone especially kuroi, id like to say how good it is to see such brainy work

  3. #3
    Join Date
    Dec 2008
    Location
    Australia
    Posts
    55
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    I did manage to fix that by installing over with the june updated version but now when i get into my catagory's i get this message

    Categories / Products - Top
    Search:
    Status - Disabled

    Fatal error: Call to undefined function category_allowed() in /misc/19/180/507/995/7/user/web/website.com/myshop/admin/includes/functions/general.php on line 220
    if anyone has any ideas i would appreciate it alot
    thanks :)

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by Vortex12 View Post
    I did manage to fix that by installing over with the june updated version but now when i get into my catagory's i get this message
    It's not fixed. Only partially over-written. You're still running software from the categories mod that is trying to access a function that you have have removed with your over-writing.

    I recommend cleaning the code from that mod out completely. It's unlikely to be exactly the same shape as Admin Profiles so just installing that on top won't clean the other out.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    red flag Re: Admin Profiles Support Thread

    Hi, I am using zen 1.3.8a and have just downloaded Admin Profiles 1.0.7.1 by Kuroi.

    Is this version conpatible with my version of zencart? Previously another version of admin profiles was installed and as a result my site was hacked, so it was removed and the security patch was installed as recommended if your site is hacked. If installed correctly, will this latest version of admin profiles now work properly?

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by Sushigal View Post
    Hi, I am using zen 1.3.8a and have just downloaded Admin Profiles 1.0.7.1 by Kuroi.

    Is this version conpatible with my version of zencart? Previously another version of admin profiles was installed and as a result my site was hacked, so it was removed and the security patch was installed as recommended if your site is hacked. If installed correctly, will this latest version of admin profiles now work properly?
    I have seen your posts about the hack that you suffered. I'm familiar with that hack and it has nothing whatsoever to do with Admin Profiles. If you want support for this mod, then I suggest that you stop making unfounded and derogatory comments about it.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    I apologise, but can assure you that I had no intention of making unfounded and derogatory comments about your mod! My knowledge of all this is fairly limited and seeing as the hack took place after the admin feature was installed, I just linked it to be the cause. So apologies for my ignorance if this isn't the case. You see, once it was installed, the admin seemed to be behaving a bit odd, i.e it would appear to be logged in but not, then id have to log out and in again to access the admin fully. Then I went away, came back and the site was hacked and someone messaged me to tell me the admin was not asking for a password so it was easy to access by anyone so what was I supposed to think? I just made the assumption that the mod caused this, or not neccessarily the mod itsself, perhaps because it was not installed correctly or not compatible with my version of zen.

    Apologies again! I didn't mean to offend you.


  8. #8
    Join Date
    Dec 2008
    Location
    Australia
    Posts
    55
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by kuroi View Post
    It's not fixed. Only partially over-written. You're still running software from the categories mod that is trying to access a function that you have have removed with your over-writing.

    I recommend cleaning the code from that mod out completely. It's unlikely to be exactly the same shape as Admin Profiles so just installing that on top won't clean the other out.
    Thanks Kuroi I went and deleted all the files from the other script and ftp a admin bk up i had and i can get into my catagories again and save my selections which is awesome so it did point me in right direction thank you :) I just have a little problem now where in a couple of my addons eg my file library addon i get the 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.
    Zen Cart:: the art of e-commerce

    Is there a easy way to get permisions back on those pages as everything else seems to be working again

 

 

Similar Threads

  1. v150 Admin New Order [Support Thread]
    By lhungil in forum Addon Admin Tools
    Replies: 121
    Last Post: 5 Feb 2021, 07:51 PM
  2. v150 CSS Buttons for Admin [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 19
    Last Post: 24 Dec 2015, 09:13 PM
  3. Admin-Editable Sidebox - Support Thread
    By kuroi in forum Addon Sideboxes
    Replies: 331
    Last Post: 29 Oct 2014, 04:15 AM
  4. v151 Blue Admin [Support Thread]
    By vvomble in forum Addon Templates
    Replies: 11
    Last Post: 27 May 2013, 09:43 PM
  5. [Support Thread] IE only JavaScripts and Stylesheets Addon
    By Meshach in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 31 May 2011, 08:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg