Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2009
    Posts
    46
    Plugin Contributions
    0

    Default Developers Tool Kit Problem

    I'm having a class order problem and went into the Developers Tool Kit to do a search, but my search doesn't work, once I click submit it takes me to the main admin home page.

    I'm using v1.3.9h.

    Any idea on how I start to figure out what I need to look at?

    Thanks

    Dan

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

    Default Re: Developers Tool Kit Problem

    What are you searching for? Sometimes the strings in the search are an issue


    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  3. #3
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Developers Tool Kit Problem

    Old thread but still valid

    Quote Originally Posted by mprough View Post
    What are you searching for? Sometimes the strings in the search are an issue


    ~Melanie
    Learned this the hard way today

    On a 1.5.4 install I was looking for the phrase 'if (preg_match(' (without the quotes) in DTK and promptly got error 403 - access denied. All I can say: security works!

    But before I got there I thought 'WTF, are file or folder permissions changed? Did some .htaccess files change?' etc etc

    So, I reset permissions of all *.php files to 644 (except for the 2 configure.php files), checked that all folders are 755 or 777 if required, checked the .htaccess files >> all good! Tried again, same result - until I got to this post and it clicked.

    Next search was just for 'preg_match' and bingo!

    Thanks Melanie, only shows that we are never too old to learn something new!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Developers Tool Kit Problem

    Quote Originally Posted by frank18 View Post
    On a 1.5.4 install I was looking for the phrase 'if (preg_match(' (without the quotes) in DTK and promptly got error 403 - access denied. All I can say: security works!
    Yup, that's mod_security on your server ... simply preventing things that hackers might try to use to damage the server.

    If it causes a problem for you, you'll need to negotiate with your hosting company to have them disable that security rule for your site.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Developers Tool Kit Problem

    Quote Originally Posted by DrByte View Post
    Yup, that's mod_security on your server ... simply preventing things that hackers might try to use to damage the server.

    If it causes a problem for you, you'll need to negotiate with your hosting company to have them disable that security rule for your site.
    Thanks DrByte - no, it does not cause any problems at all, just needed to widen the search a bit. And yes, good to see that my server people are on the ball!

  6. #6
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Developers Tool Kit Problem

    Sort of thinking around the corner, seeing that 'preg_match' worked and 'if (preg_match(' would throw an error, if the number of results were still "too" long, then could try 'f (preg_match' at least that way don't have the test statement of if, and don't have the opening parethesis for the preg_match function, but do have the end of the if statement (or possibly other functions such as sprintf) and do therefore "narrow" down the results.

    That way don't have to request a modification to the security system and still able to mostly search on the desired phrase. Will say that for some reason, one result came back from the above when there was no space between f and (, but several when there was a space.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Developers tool kit
    By eden in forum General Questions
    Replies: 1
    Last Post: 25 Nov 2008, 11:01 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