Results 1 to 10 of 22

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    825
    Plugin Contributions
    0

    Default Developer Tools Error Message Every Time

    ZC 1.5.5e on PHP 7. I have just added Ultimate SEO Urls and Colorbox mods. Working on the next I find out that Developers Tools is no longer working. I am now getting an error message at the top of the dev tools admin page "Error: No Configuration Key or Text was entered to search for ... Search was terminated"
    No matter what I search for... even searching for "zen-cart" in any of the search fields I get this message.
    What's going on here?

    Thank you,
    John

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

    Default Re: Developer Tools Error Message Every Time

    Hard to say how to approach, USU affects uris, colorbox should have no impact on the admin side when installed as expected other than to execute the installer code. Improper installation of either could cause a problem, though it seems more like there is possibly a sanitization issue occurring when posting the developer's toolkit information that is causing all of the entered content to be sanitized out/removed. I might actually suggest starting with activating the debug for admin/includes/classes/AdminRequestSanitizer.php to see what is happening with the data that is posted (assuming that it makes it there) and then try to figure out what changes were made to "get things to work" to ensure the correct fix was applied to the correct area.

    To enable the logging, suggest temporarily adding a file to the admin/includes/extra_datafiles folder that has this content in it:
    Code:
    <?php define('DO_DEBUG_SANITIZATION', 'true');
    Then attempt to search again from within the developer tool kit and look in the logs directory for the most recent file that was generated related to sanitization and review/post the results. Should see a sort of input set of post data which should contain your search criteria and then an output section to show what was done with the sanitization. If not then, certainly seems like more investigation is necessary to resolve the issue(s).
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    825
    Plugin Contributions
    0

    Default Re: Developer Tools Error Message Every Time

    This is out of control. I'm really not such a noob. I can normally get this stuff hashed out... I can't log into the admin now. I have no failed attempts being logged in the admin table in the database either. I've put up a fresh /admin/ directory and added the correct /admin/includes/configure.php file for the database I'm working with. ... nothing... can't get it send me a new password either.

  4. #4
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    825
    Plugin Contributions
    0

    Default Re: Developer Tools Error Message Every Time

    I forgot. I have also installed USU (https://www.zen-cart.com/downloads.php?do=file&id=132). I just found out that I can also no log into customer accounts on the front end either. Getting the message that the email doesn't exist.

  5. #5
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    825
    Plugin Contributions
    0

    Default Re: Developer Tools Error Message Every Time

    it's the htaccess file causing all of these issues. now I just need to figure out why. Sorry I forgot to mention USU. Thanks for the help.

    John

  6. #6
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    825
    Plugin Contributions
    0

    Default Re: Developer Tools Error Message Every Time

    in my htaccess - this is what's causing the problem. I just don't know why...

    Code:
    RewriteCond %{HTTP_HOST} ^domain.com$ [NC]
    RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
    
    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
    Removing these entries and everything works well. Adding either of these two entries and the above mentioned problems re-emerge.

    Thank You,
    John

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

    Default Re: Developer Tools Error Message Every Time

    And in your includes/configure.php or admin/includes/configure.php, settings related to HTTP_SERVER, HTTPS_SERVER, ENABLE_SSL, etc???

    Also, where in the htaccess file are those rules applied? I thought USU "instruction" identified the recommended location for such information.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    825
    Plugin Contributions
    0

    Default Re: Developer Tools Error Message Every Time

    The rules in the htaccess file are at the top just below
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /

    Removing them allows the site to be accessed with or without www, but zc adds www to all links which creates duplicate content.

    in admin configure
    define('HTTP_CATALOG_SERVER', 'http://www.domain.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.domain.com');
    ENABLE_SSL is false for time being

    in front end
    define('HTTP_SERVER', 'http://www.domain.com');
    define('HTTPS_SERVER', 'https://www.domain.com');
    ENABLE_SSL is false for time being

 

 

Similar Threads

  1. v151 Custom 404 Error every time I type % sign into form and click submit
    By LetsLearnIt in forum General Questions
    Replies: 2
    Last Post: 17 Dec 2013, 04:08 AM
  2. Replies: 2
    Last Post: 11 Aug 2012, 06:56 AM
  3. Developer's Tools
    By sharc316 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 7 Oct 2011, 06:38 PM
  4. Checkout Time Out error message
    By Stormshade in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 30 Jul 2007, 11:45 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