Page 17 of 124 FirstFirst ... 715161718192767117 ... LastLast
Results 161 to 170 of 1238
  1. #161
    Join Date
    Jul 2006
    Location
    UK
    Posts
    158
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    by the way my line 218 says:

    PHP Code:
    <td class="smallText" valign="top"><?php echo $admins_split->

  2. #162
    Join Date
    Jul 2006
    Location
    UK
    Posts
    158
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Ok, I fixed it! had some of the new code in slightly the wrong placed

  3. #163
    Join Date
    Jul 2006
    Location
    UK
    Posts
    158
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    I am running Zen Cart 1.3.0.1 with Database Patch Level: 1.3.0.1.

    I have installed Admin Profiles Version: 1.0.4. and had it working fine until this morning.

    Now when logged in as admin and I try to access anything it just logs me out & takes me back to the login page.

    I have been through this forum and yes register globals if off.

    Any ideas please?

    Cheers
    Claire

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

    Default Re: Admin Profiles for zen 1.3.6 crashed all the cart

    Quote Originally Posted by reza View Post
    hi
    i tried to install admin profil for 1.3.6 on zen 1.3.6.
    furtunately i did it firstly on my pc/localhost, and the results after copying and installin the patch, was that no more the administrator home page of admin area could be opened.
    i got this message above the page in the green zone:
    1146 Table 'zen136.zen136admin_menu_headers' doesn't exist
    in:
    [select id from zen136admin_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.


    can somebody tell me, where may I did a mistake, as I know the provider of this version probabely checked it already on zen1.3.6?!!!! I hope
    Reza

    If you're still having problems, this is goiung to be about how you installed the patch. Can you tell me more about how you did this? E.g. through the Zen CArt patch facility or via an external tool. Did you add the database prefix yourself? What should it be?
    Kuroi Web Design and Development | Twitter

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

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

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by cjsmiff View Post
    I am running Zen Cart 1.3.0.1 with Database Patch Level: 1.3.0.1.

    I have installed Admin Profiles Version: 1.0.4. and had it working fine until this morning.

    Now when logged in as admin and I try to access anything it just logs me out & takes me back to the login page.

    I have been through this forum and yes register globals if off.

    Any ideas please?

    Cheers
    Claire
    Hi Claire

    This doesn't sound like an Admin Profiles problem. If it were, I would expect that you would get bumped to the access denied page rather than get logged out. This sounds more like your environment not properly holding onto session variables.

    To test this I recommend the following
    Insert the following lines
    <?php echo 'cjsmiff - trace admin flag: ' . IS_ADMIN_FLAG . '<br />'; ?>
    <?php echo 'cjsmiff - trace admin id: ' . $_SESSION['admin_id'] . '<br />'; ?>
    between lines 58 and 59 of admin/index.php and between 52 and 53 of admin/logon.php. Also comment out line 24 of admin/logoff.php. Then close your browser and start from fresh. What values does this give you as you go through the process of logging in and being bumped out?
    Kuroi Web Design and Development | Twitter

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

  6. #166
    Join Date
    Jul 2006
    Location
    UK
    Posts
    158
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Hi,

    Seems to be ok since pc restart!

    Will check that anyway, thanks loads

  7. #167
    Join Date
    Nov 2006
    Posts
    10
    Plugin Contributions
    0

    help question Re: Admin Profiles Support Thread

    Hi,
    I have been having the same logoff issue as cj and I tried your test. Sometimes it either loogs me off OR it denies access to a page and then whn I go back to sames I am a different admin ID....

    help :)

    BTW I have Zen 1.3.6 and AdminProfiles version 1.0.6



    I also run
    User_Tracking
    Super Orders
    Sales Report
    Last edited by m8trixdg; 4 Dec 2006 at 10:09 PM. Reason: Updated

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

    Default Re: Admin Profiles Support Thread

    This certainly sounds like your adminID being reset. Admin Profiles doesn't do this, but it does show it up when it happens.

    Puzzlingly this was a known problem in earlier versions of Zen Cart (when registers global is ON), but was fixed from 1.3.5 onwards.

    If you're using up-to-date versions of the other mods, none of them should cause this to happen (I doubt whether older versions would either) and I've rechecked every refer to it in Admin Profiles in case I had some sloppy programming (unlikely, but wanted to be safe).

    So no, obvious answer. Let's start tweaking at the threads instead ...

    Do you have registers global ON or OFF (you can find out by going into Admin, selecting "version" from the menu top right and then searching on register_globals)?

    Could you post lines 74-75 and 101-103 of admin.php?
    Kuroi Web Design and Development | Twitter

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

  9. #169
    Join Date
    Nov 2006
    Posts
    10
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Hi

    I did the esearch and register_globals was OFF for both values in the version screen.


    As for the admin.php lines here they are:


    74-75
    $new_admin_id = zen_db_insert_id();
    $admins_id = $new_admin_id;

    101-106
    case 'deleteconfirm':
    $new_admin_id = zen_db_prepare_input($_GET['adminID']);
    $db->Execute("delete from " . TABLE_ADMIN . " where admin_id = '" . (int)$new_admin_id . "'");

    zen_redirect(zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page']));
    break;

  10. #170
    Join Date
    Jan 2004
    Posts
    482
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Will this mod allow you to give manufacturers their own access to put their own products in the store... but not allow them to go anywhere else in the store admin?

 

 

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR