We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33706
    • 51 Posts
    Hi.

    I had the following error when trying to access the home page.

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
     
    PHP error debug
      Error: 	fopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known 	 
      Error type/ Nr.: 	Warning - 2 	 
      File: 	/var/www/vhosts/scuolamediacarducci.it/httpdocs/manager/includes/document.parser.class.inc.php(705) : eval()'d code 	 
      Line: 	172 	 
     
    Parser timing
      MySQL: 	0.0003 s s 	(0 Requests)
      PHP: 	0.0326 s s 	 
      Total: 	0.0329 s s


    I checked the Apache log and these are the last lines of the log before my attempt :
    66.249.66.196 - - [10/Oct/2006:05:26:01 +0100] "GET /assets/files/libri/2006-2007/classe%202%20sezione%20f.pdf HTTP/1.1" 200 59901 "-" "Mozilla/5.0 (compati$
    66.249.66.196 - - [10/Oct/2006:05:27:41 +0100] "GET /assets/files/libri/2006-2007/classe%203%20sezione%20g.pdf HTTP/1.1" 304 - "-" "Mozilla/5.0 (compatible;$
    74.6.72.79 - - [10/Oct/2006:05:29:18 +0100] "GET /robots.txt HTTP/1.0" 200 732 "-" "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/yse$
    74.6.67.107 - - [10/Oct/2006:05:31:01 +0100] "GET /assets/files/libri/2006-2007/classe%203%20sezione%20g.pdf HTTP/1.0" 200 59116 "-" "Mozilla/5.0 (compatibl$
    74.6.72.79 - - [10/Oct/2006:06:21:24 +0100] "GET /robots.txt HTTP/1.0" 200 733 "-" "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/yse$
    74.6.72.58 - - [10/Oct/2006:06:22:32 +0100] "GET /assets/files/libri/2006-2007/classe%202%20sezione%20g.pdf HTTP/1.0" 200 62342 "-" "Mozilla/5.0 (compatible$
    209.68.2.41 - - [10/Oct/2006:06:29:42 +0100] "GET / HTTP/1.1" 200 1685 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"
    217.133.104.243 - - [10/Oct/2006:07:35:55 +0100] "GET / HTTP/1.1" 200 727 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.0.7) Gecko/20060909 Firef$
    


    at 07:35:55 this is me..

    It is the second time that happens. The first one was in July this year. Before the error, some search engine spider was on the site.

    Once logged on the manager session, refresh the site everything was back normaly.

    What can I do to investigate more??
    Any help??

    Regards.

    Michel.
      • 22303 MODX Staff
      • 10,725 Posts
      I’m assuming 0.9.2.1 deployment...

      Sounds like you are using the native visitor logging and something is wreaking havoc on it; likely that spider. I suggest either blocking the spider using rewrite engine rules or turning of the native visitor logging. I’d go for the latter, as this feature seems to be the source of other issues as well. There are many alternatives to using this internal MODx visitor tracking, and it has been removed completely from the upcoming release as a result.
        • 33706
        • 51 Posts
        Hi.

        Yest is 0.9.2.1 deployment...

        Do you mean the log visits in the system configuration???

        I always had it off : no logging.

        Michel