Page 66 of 124 FirstFirst ... 1656646566676876116 ... LastLast
Results 651 to 660 of 1238
  1. #651
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by stxmona View Post
    Parse error: syntax error, unexpected T_DOUBLE_ARROW in /homepages/7/d236731769/htdocs/zen/admin/admin.php on line 222
    The problem is a syntax error earlier in your code than line 222. Line 222, is where it is detected, rather than where it occurs. The actual error is probably just a lone or two earlier.

    Did you edit the file yourself or use the versions provided with the mod?

    If you edited it yourself, are you sure that you did precisely what was stated in the instructions; even a character out of place could cause a syntax error.
    Kuroi Web Design and Development | Twitter

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

  2. #652
    Join Date
    Aug 2008
    Posts
    105
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by kuroi View Post
    The problem is a syntax error earlier in your code than line 222. Line 222, is where it is detected, rather than where it occurs. The actual error is probably just a lone or two earlier.

    Did you edit the file yourself or use the versions provided with the mod?

    If you edited it yourself, are you sure that you did precisely what was stated in the instructions; even a character out of place could cause a syntax error.
    Hi Kuroi - thanks for the answer!
    Yes I did edit it myself as I was not sure if any of the previously mods change those page or not so I thought the instructions were very straight forward and easy enough to follow.....so I did. Below is a copy of the first change on line 194 to 222.

    <?php echo '<a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $admins->fields['admin_id'] . '&action=edit') . '">' . zen_image(DIR_WS_IMAGES . 'icon_edit.gif', ICON_EDIT) . '</a>'; ?>
    <?php echo '<a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $admins->fields['admin_id'] . '&action=delete') . '">' . zen_image(DIR_WS_IMAGES . 'icon_delete.gif', ICON_DELETE) . '</a>'; ?>
    <?php echo '<a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $admins->fields['admin_id'] . '&action=resetpassword') . '">' . zen_image(DIR_WS_IMAGES . 'icon_reset.gif', ICON_RESET) . '</a>'; ?>
    <?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>'; ?>
    </td>
    </tr>

    <?php
    $admins->MoveNext();
    }
    ?>

    <tr>
    <td colspan="2">

    <table border="0" width="100%" cellspacing="0" cellpadding="4">
    <tr>
    <td class="smallText" valign="top"><?php echo $admins_split->display_count($admins_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, $_GET['page'], TEXT_DISPLAY_NUMBER_OF_ADMINS); ?></td>
    <td class="smallText" align="right"><?php echo $admins_split->display_links($admins_query_numrows, MAX_DISPLAY_SEARCH_RESULTS, MAX_DISPLAY_PAGE_LINKS, $_GET['page']); ?></td>
    </tr>
    </table>

    </td>
    </tr>

    <?php
    if (empty($action)) {
    ?>
    <tr>
    <td align="right" colspan="4" class="smallText">
    <?php
    'text' => '<a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $adminInfo->admin_id . '&action=edit') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a><a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $adminInfo->admin_id . '&action=resetpassword') . '">' . zen_image_button('button_reset_pwd.gif', IMAGE_RESET) . '</a><a href="' . zen_href_link(FILENAME_ADMIN, 'page=' . $_GET['page'] . '&adminID=' . $adminInfo->admin_id . '&action=delete') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a><br /><a href="' . zen_href_link(FILENAME_ADMIN_CONTROL, 'adminID=' . $adminInfo->admin_id) . '">' . zen_image_button('button_edit_permissions.gif', IMAGE_PERMISSIONS) . '</a>');



    Would you mind looking at it and seeing if you see anything? I really don't know PHP - something I now know I should at least learn the basics.

    Thanks again
    Mona

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

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by stxmona View Post
    Hi Kuroi - thanks for the answer!
    Yes I did edit it myself as I was not sure if any of the previously mods change those page or not so I thought the instructions were very straight forward and easy enough to follow.....so I did.
    I'm afraid that you replaced the wrong line for the second patch. The one you need to replace is much further on in the file.
    Kuroi Web Design and Development | Twitter

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

  4. #654
    Join Date
    Aug 2008
    Posts
    105
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    now I am in a pickle because I did NOT make a copy of that file before changing it!! something I rarely do but it was midnight and I was in a hurry. Any ideas?

    TIA
    Mona

  5. #655
    Join Date
    Jul 2008
    Posts
    138
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    I don't use Firefox, I'm an IE gal completely but I did have one of my designers check that uses Firefox and she gets all the headers there as well instead of just the Catalog & Reports headers like she should get. All the files & patches are uploaded. Any other suggestions?

  6. #656
    Join Date
    Jul 2008
    Posts
    138
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    I figured it out! It was the files in the Boxes folder, they hadn't transferred over properly.

  7. #657

    Default Re: Admin Profiles Support Thread

    HELP me please....I need to make it work soon as I need a statistic page for a client...

    I got an error I found in some other posts of this Thread,
    but it was not clear how it was solved.

    Fatal error: Call to undefined function: menu_header_visible() in /web/htdocs/www.musicandsons.it/home/store/mands_12/includes/boxes/configuration_dhtml.php on line 13

    I have the function menu_header_visible() defined in functions/admin_profiles.php and I checked that the file was on the server ...
    What to do?

    I have a new name for the "admin" folder: could this be the reason?
    Last edited by m_and_s; 19 Dec 2008 at 01:47 PM.
    [FONT=Impact]Music and Sons[/FONT] ipod/mp3 tees - WEAR YOUR MUSIC
    http://www.musicandsons.it

  8. #658

    Default Re: Admin Profiles Support Thread

    FIXED!
    I was missing autoloaders file....
    [FONT=Impact]Music and Sons[/FONT] ipod/mp3 tees - WEAR YOUR MUSIC
    http://www.musicandsons.it

  9. #659

    Idea or Suggestion Re: Admin Profiles Support Thread

    I need to show a statistics Report Page (third party mods) to a newly created user, that should see only that page.

    Is there a way after logging in, to force the user to go directly to that target page skipping the Admin Home?


    Thanks

    [FONT=Impact]Music and Sons[/FONT] ipod/mp3 tees - WEAR YOUR MUSIC
    http://www.musicandsons.it

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

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by stxmona View Post
    now I am in a pickle because I did NOT make a copy of that file before changing it!! something I rarely do but it was midnight and I was in a hurry. Any ideas?
    Quick and easy approach would be to use the pre-patched file. It's unlikely that you are using mods that have changed this admin file, but keep a copy of it, as you might need to refer to it if your have knock on problems.

    In that unlikely case you would have to go back to whichever other mod you had installed that had already changed this file and re-edit the version supplied there.
    Kuroi Web Design and Development | Twitter

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

 

 

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