We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1611
    • 591 Posts
    Nope... Actually, I hadn’t much time for it..
      • 33014 ☆ A M B ☆
      • 1,231 Posts
        • 26931
        • 2,314 Posts
        http://modxcms-jp.com/bb/viewtopic.php?f=34&t=233

        for evo.
        thanks yama! smiley
          • 1611
          • 591 Posts
          yama, your site returns a mysql error.
            • 33014 ☆ A M B ☆
            • 1,231 Posts
            ok, please wait a little
              • 5253
              • 17 Posts
              First of all: Great module!
              One of the first things I install on every new site smiley

              A minor bug I found last times:
              In the e404logger.class.inc.php you’re using php short tags but not every hosting provider supports this. If you call the module, you’ll see the code of the class in plain text and you’ll get an error (Error404Logger class not found). Perhaps for any further relases: Use "<?php" instead of "<?"...

              Cheers,
              Chris
                *there are no strangers - just friends who never met*
                • 33014 ☆ A M B ☆
                • 1,231 Posts
                hello Chris.

                http://modxcms-jp.com/bb/viewtopic.php?f=34&t=233
                It is repared. smiley
                  • 1611
                  • 591 Posts
                  Attention! There is vilnerabilities in this module. SQL injection is possible.
                  Patch file \assets\modules\error404logger\e404logger.class.inc.php

                  	// add 404 query
                  	function insert($ip, $url, $referer) {
                  	global $modx;
                  	  $modx->dbQuery("INSERT INTO ".$this->tableNameModx." (url, ip, host, referer, createdon) VALUES ('".$modx->db->escape($url)."','".$modx->db->escape($ip)."', '".gethostbyaddr($ip)."', '".$modx->db->escape($referer)."', '".date('Y-m-d H:i:s',time())."')"); 
                  		return $modx->db->getInsertId();
                  	}
                  
                  


                  And remember to keep the plugin of this module first for ’PageNotFound’ event sequence.
                    • 16702 ☆ A M B ☆
                    • 536 Posts
                    Quote from: Andrey at Feb 18, 2011, 12:14 AM

                    Attention! There is vilnerabilities in this module. SQL injection is possible.
                    Patch file \assets\modules\error404logger\e404logger.class.inc.php

                    	// add 404 query
                    	function insert($ip, $url, $referer) {
                    	global $modx;
                    	  $modx->dbQuery("INSERT INTO ".$this->tableNameModx." (url, ip, host, referer, createdon) VALUES ('".$modx->db->escape($url)."','".$modx->db->escape($ip)."', '".gethostbyaddr($ip)."', '".$modx->db->escape($referer)."', '".date('Y-m-d H:i:s',time())."')"); 
                    		return $modx->db->getInsertId();
                    	}
                    
                    


                    And remember to keep the plugin of this module first for ’PageNotFound’ event sequence.

                    THANKS!
                      palma non sine pulvere
                      • 33014 ☆ A M B ☆
                      • 1,231 Posts