Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,668
    Plugin Contributions
    11

    Default problem with admin/users.php and admin/profiles.php??

    ok, i think i have as much a vanilla install for this problem.... it could be a sever configuration issue, i'm just not sure which way to go...

    it is an url encoding situation involving & and &.

    in admin/users.php on lines 237 to 240 the code is:

    PHP Code:
    <?php if ($action != 'delete') { ?>
              <a href="<?php echo zen_href_link(FILENAME_USERS'action=edit&amp;user=' $userDetails['id']) ?>"><?php echo zen_image_button('button_edit.gif'IMAGE_EDIT?></a>
              <a href="<?php echo zen_href_link(FILENAME_USERS'action=password&amp;user=' $userDetails['id']) ?>"><?php echo zen_image_button('button_reset_pwd.gif'IMAGE_RESET_PWD?></a>
    <?php ?>
    when this generates the link, i have a URL similar to:

    https://mysite.com/ADMIN/users.php?a...it&amp;user=12

    and now ZC is not properly parsing the $_GET variables.

    i'm seeing this behavior on v1.5.4 in addition to v1.5.5. in addition i'm also seeing it on the profiles.php script.

    i do not believe i have changed anything on the GET sanitizer...

    is it me or is it ZC?
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: problem with admin/users.php and admin/profiles.php??

    All I can see is that the code listed is breaking at "&amp"
    Here is what I have for it and I get /users.php?action=edit&user=8
    <?php if ($action != 'delete') { ?>
    <a href="<?php echo zen_href_link(FILENAME_USERS, 'action=edit&amp;user=' . $userDetails['id']) ?>"><?php echo zen_image_button('button_edit.gif', IMAGE_EDIT) ?></a>
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,668
    Plugin Contributions
    11

    Default Re: problem with admin/users.php and admin/profiles.php??

    kobra thanks.

    it must be my SEO url rewriting now that i'm looking at it. i'll look closer later.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: problem with admin/users.php and admin/profiles.php??

    it must be my SEO url rewriting
    This should not be re-writing url's for your admin - just saying
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,668
    Plugin Contributions
    11

    Default Re: problem with admin/users.php and admin/profiles.php??

    Quote Originally Posted by kobra View Post
    This should not be re-writing url's for your admin - just saying
    completely concur. i was actually thinking the same thing 5 minutes after i made that last post.

    i "think" the SEO url rewrite modifies some functions on the admin side, as they establish a URL cache for products, categories, etc. if by chance, an admin enters the item name wrong, and corrects it later, you can reset the cache on the admin side which would recreate all of the SEO friendly URLs. which I think is why the plugin modifies some of the admin URL functions.

    in any event, i did find the culprit code within the html_output.php script and have since corrected it. i have not tracked down how that line got there, ie if it was from the SEO plugin, old non-updated ZC code, or something that i added in the wrong place (entirely possible). i did confirm (at least in my mind) that the ZC v1.5.5 code out of the box operates correctly (as you stated) and was definitely NOT part of the problem. my mistake.

    thanks again.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: problem with admin/users.php and admin/profiles.php??

    Glad you got this sorted
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Replies: 1
    Last Post: 5 Jan 2015, 03:40 PM
  2. Problem with admin module page admin/modules.php?set=shipping
    By AJBUY in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 13 Dec 2014, 11:23 PM
  3. v150 [Fixed v1.5.1] extra closing head in admin profiles.php
    By torvista in forum Bug Reports
    Replies: 2
    Last Post: 19 Sep 2012, 03:55 AM
  4. Problems with includes/config.php and admin/includes.php
    By Scott83 in forum Basic Configuration
    Replies: 2
    Last Post: 23 Oct 2009, 07:09 PM
  5. Problem with admin>orders.php
    By tolefairy in forum Managing Customers and Orders
    Replies: 2
    Last Post: 28 Mar 2007, 08:05 AM

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