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 planetdh View Post
    Awesome! Fixed the problem! The last line of code (Line 346) on the admin.php file, it's missing a '}' at the front of the closing php tag!

    But NOW...I have a new problem, I can't add additional users!!

    From the Admin Settings page, I click 'Insert' to create a new user, but the only thing that happens is the Insert button disappears and the url changes to what SHOULD be the add new user page!

    Any thoughts or suggestions on this one?
    Sort of. I'm not convinced that your fix was correct. The line number reported is merely where the PHP parser detected the problem of the missing bracket. The place from which it was missing would have been rather earlier.

    So although you've managed to get past the error, the underlying problem is still there.

    Trouble is it doesn't resolve any that I've seen before, so is specific to your site, making it difficult to comment with greater clarity.
    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
    May 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    So what do you suggest I do? I copy/pasted the code below for clarity.


    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //-->
    <br>
    </body>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); }?>

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

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by planetdh View Post
    So what do you suggest I do?
    I suggest doing a file comparison between your version of this file and the one in an unchanged version of Zen Cart to find the place where the bracket matching problem has slipped in, rather than just adding an extra bracket at the end.
    Kuroi Web Design and Development | Twitter

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

  4. #4
    Join Date
    May 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by kuroi View Post
    I suggest doing a file comparison between your version of this file and the one in an unchanged version of Zen Cart to find the place where the bracket matching problem has slipped in, rather than just adding an extra bracket at the end.

    Wow...I guess file comparisons really do work! I found where I left out the }

    Thank you very much for pointing me in the right direction. I guess I need to be more careful about copying ALL info in the instructions!

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

    Default Re: Admin Profiles Support Thread

    Glad you found it. I find file comparisons from a good automated tool (I particularly like Beyond Compare) invaluable for getting a much more accurate assessment of changes (working or otherwise) than I could possibly achieve from a visible inspection alone.

    Oh, and credit to you too. Often when us old hands keep telling people the same thing they get frustrated thinking that we're not getting it. Can happen, but usually it's the opposite. You though were listening and so got to the bottom of the issue, which is always good to see.
    Last edited by kuroi; 12 May 2011 at 12:53 AM.
    Kuroi Web Design and Development | Twitter

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

  6. #6
    Join Date
    May 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Admin Profiles Support Thread

    Quote Originally Posted by kuroi View Post
    Sort of. I'm not convinced that your fix was correct. The line number reported is merely where the PHP parser detected the problem of the missing bracket. The place from which it was missing would have been rather earlier.

    So although you've managed to get past the error, the underlying problem is still there.

    Trouble is it doesn't resolve any that I've seen before, so is specific to your site, making it difficult to comment with greater clarity.

    So what do you suggest I do? I copy/pasted the code below for clarity.


    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //-->
    <br>
    </body>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); }?>

 

 

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