Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30
  1. #21
    Join Date
    Jun 2012
    Posts
    33
    Plugin Contributions
    1

    Default Re: empty query string

    Quote Originally Posted by lat9 View Post
    relish, there are two possibilities:

    1. Did you update your store's root .htaccess file to contain
    Code:
    ErrorDocument 404 /index.php?main_page=page_not_found
    2. If you did, then it's possible that the /secure access is generating a 403 (permission error) rather than a 404 (not found) error. You can force the plugin to send emails in this case, too, by updating your .htaccess file to contain the following as well
    Code:
    ErrorDocument 403 /index.php?main_page=page_not_found
    Thanks boss !

    Though we have not updated the .htaccess file , we are getting the queries which generate 404 error:
    A user at host address [pluto.hostonwin.com] with IP address
    [206.72.195.228] generated a 404 using the query string
    [/index.php?main_page=shippinginfo/extras/ipn_test_return.php].


    A user at host address [117.198.89.34] with IP address [117.198.89.34]
    generated a 404 using the query string [/index.php?main_page=login3].

    A user at host address [mail.it-security-center.ru] with IP address
    [93.158.114.134] generated a 404 using the query string
    [/index.php?main_page=products_new/extras/curltest.php].

    A user at host address [mail.nap.websolute.com.br] with IP address
    [200.150.205.30] generated a 404 using the query string
    [/index.php?main_page=shippinginfo/extras/curltest.php].

    A user at host address [mail.nap.websolute.com.br] with IP address
    [200.150.205.30] generated a 404 using the query string
    [/index.php?main_page=specials/admin/file_manager.php/login.php].
    I think they are hacking attempts , could that be true ?
    Our ZC installation is 1.5 and the security guidelines has been followed as per the guide posted on ZC tutorials (http://www.zen-cart.com/wiki/index.p...ecommendations).
    Is there anything to worry about? Will be helpful if anybody could elaborate

    Thanks

  2. #22
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,486
    Plugin Contributions
    88

    Default Re: empty query string

    relish, what you're seeing are probes from people trying to exploit weaknesses in previous versions of Zen Cart (I've seen the same on various stores) -- you should be fine with v1.5+ and following (as you said) those security guidelines. I usually just let them be, unless they start hogging my bandwidth. If that's the case, I update the top of the .htaccess file in the root of my store to include the additional IP address ... I've filled in two from your query:
    Code:
    # Block specific IP address ranges
    order allow,deny
    deny from 117.198.89.34
    deny from 93.158.114.134
    allow from all

  3. #23
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: empty query string

    Problem fixed
    Last edited by ShopVille; 11 Dec 2012 at 03:39 PM. Reason: Fixed

  4. #24
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: empty query string

    Hello,

    Thanks for the great plugin,

    here is how i get an email on error:

    HTML Code:
    A user at host address [112.111.174.12] with IP address [112.111.174.12]
    generated a 404 using the query string
    [/index.php?main_page=page_not_found].
    Without the page which led to the error.

    This is the content of my .htaccess file:

    HTML Code:
    ErrorDocument 404 /page_not_found.php
    
    ErrorDocument 403 /page_not_found.php

  5. #25
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,486
    Plugin Contributions
    88

    Default Re: empty query string

    Quote Originally Posted by ShopVille View Post
    Hello,

    Thanks for the great plugin,

    here is how i get an email on error:

    HTML Code:
    A user at host address [112.111.174.12] with IP address [112.111.174.12]
    generated a 404 using the query string
    [/index.php?main_page=page_not_found].
    Without the page which led to the error.

    This is the content of my .htaccess file:

    HTML Code:
    ErrorDocument 404 /page_not_found.php
    
    ErrorDocument 403 /page_not_found.php
    Try modifying your .htaccess file to read:
    Code:
    ErrorDocument 404 /index.php?main_page=page_not_found
    ErrorDocument 403 /index.php?main_page=page_not_found

  6. #26
    Join Date
    Aug 2012
    Posts
    331
    Plugin Contributions
    0

    Default Re: empty query string

    Quote Originally Posted by lat9 View Post
    Try modifying your .htaccess file to read:
    Code:
    ErrorDocument 404 /index.php?main_page=page_not_found
    ErrorDocument 403 /index.php?main_page=page_not_found
    Works perfect now.

    Thanks loads

  7. #27
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,486
    Plugin Contributions
    88

    Default Re: Generate an e-mail on page-not-found (404) errors [support thread]

    While the current version in the plugins will "play nice" with Zen Cart v1.5.5, it needed a change for PHP 7.0 compliance (class constructor named __construct). v1.2.3 has been submitted to the plugins to correct this incompatibility.

  8. #28
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,486
    Plugin Contributions
    88

    Default Re: Generate an e-mail on page-not-found (404) errors [support thread]

    I've just submitted v1.2.4 for the Zen Cart moderators' review and will post back here when it's available for download.

    This version contains changes captured for GitHub issue #2. Language constants (and pseudo-configuration definitions) have been moved from the auto_loader to a language-based extra_definitions file.


    The email report now includes the contents of the entire $_SERVER and $_SESSION values.

  9. #29
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,486
    Plugin Contributions
    88

    Default Re: Generate an e-mail on page-not-found (404) errors [support thread]

    Quote Originally Posted by lat9 View Post
    I've just submitted v1.2.4 for the Zen Cart moderators' review and will post back here when it's available for download.

    This version contains changes captured for GitHub issue #2. Language constants (and pseudo-configuration definitions) have been moved from the auto_loader to a language-based extra_definitions file.


    The email report now includes the contents of the entire $_SERVER and $_SESSION values.
    Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=1090

  10. #30
    Join Date
    Oct 2019
    Posts
    23
    Plugin Contributions
    0

    Default Re: Generate an e-mail on page-not-found (404) errors [support thread]

    Quote Originally Posted by lat9 View Post
    I don't know how I got this far without knowing this mod exists. Perfect. YOU ROCK!

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  2. Replies: 2
    Last Post: 24 Jun 2010, 11:20 PM
  3. 404 Not Found Page Not Found not working!
    By NamSingh in forum Basic Configuration
    Replies: 0
    Last Post: 15 Oct 2006, 10:31 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