Archive from cron -> errors

When I run:


/usr/bin/php5 /home/anton/data/www/stat.my_domain.org/html/misc/cron/archive.php -- url=http://stat.my_domain.org/ >> /home/anton/data/www/stat.my_domain.org/piwik-archive.log

output is:


...
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=244&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=293&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=303&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
313 total errors during this script execution, please investigate and try and fix these errors
ERROR: 313 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check your
PHP Fatal error:  313 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check your in /home/anton/data/www/stat.my_domain.org/html/misc/cron/archive.php on line 573

in /home/anton/data/www/stat.my_domain.org/piwik-archive.log file:


archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-07 05:38:42] [4e3b3724] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=309&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-07 05:38:42] [4e3b3724] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=310&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-07 05:38:42] [4e3b3724] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=311&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-07 05:38:42] [4e3b3724] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=312&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-07 05:38:42] [4e3b3724] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=313&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-07 05:38:42] [4e3b3724] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=87&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check you
[2013-06-07 05:38:42] [4e3b3724] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=92&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check you
[2013-06-07 05:38:42] [4e3b3724] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=223&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-07 05:38:42] [4e3b3724] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=232&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-07 05:38:42] [4e3b3724] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=244&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-07 05:38:42] [4e3b3724] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=293&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-07 05:38:42] [4e3b3724] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=303&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-07 05:38:42] [4e3b3724] 313 total errors during this script execution, please investigate and try and fix these errors
[2013-06-07 05:38:42] [4e3b3724] ERROR: 313 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check your

in error.log:


[Fri Jun 07 09:38:42 2013] [error] [client 31.186.96.202] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in /home/anton/data/www/stat.my_domain.org/html/core/Archive/DataTableFactory.php on line 290
[Fri Jun 07 09:38:42 2013] [error] [client 31.186.96.202] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in /home/anton/data/www/stat.my_domain.org/html/core/Archive/DataTableFactory.php on line 290
[Fri Jun 07 09:38:42 2013] [error] [client 31.186.96.202] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in /home/anton/data/www/stat.my_domain.org/html/core/Archive/DataTableFactory.php on line 290
[Fri Jun 07 09:38:42 2013] [error] [client 31.186.96.202] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in /home/anton/data/www/stat.my_domain.org/html/core/Archive/DataTableFactory.php on line 290
[Fri Jun 07 09:38:42 2013] [error] [client 31.186.96.202] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in /home/anton/data/www/stat.my_domain.org/html/core/Archive/DataTableFactory.php on line 290


# php --version
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/suhosin.so' - /usr/lib/php5/20090626/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 5.3.22-1~dotdeb.0 with Suhosin-Patch (cli) (built: Mar  2 2013 23:12:49)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
    with Zend Optimizer+ v4.1, Copyright (c) 1999-2010, by Zend Technologies


# service mysql status
[info] /usr/bin/mysqladmin  Ver 8.42 Distrib 5.1.66, for debian-linux-gnu on x86_64
Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Server version          5.1.66-0+squeeze1-log
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /var/run/mysqld/mysqld.sock
Uptime:                 83 days 20 hours 55 min 42 sec

Threads: 7  Questions: 2293649129  Slow queries: 112851  Opens: 3564523  Flush tables: 1  Open tables: 18372  Queries per second avg: 316.516.

looks like some files are not uploaded correctly as there is a PARSE ERROR ?

I decided to do it all over again:

  • install piwik from git
  • in an empty database
  • python import_logs.py --url=http://stat.my_domain.org --show-progress --add-sites-new-hosts --enable-static --enable-bots --enable-http-errors --enable-http-redirects --log-format-name=common_complete /var/log/nginx/piwik-access.log.1.gz (logrotate each one day)
  • in Settings page (http://stat.my_domain.org/index.php?module=SitesManager) i have 550 sites
  • increased memory_limit to 512M
  • /usr/bin/php5 /home/anton/data/www/stat.my_domain.org/html/misc/cron/archive.php – url=http://stat.my_domain.org/ >> /home/anton/data/www/stat.my_domain.org/piwik-archive.log

out in console:


Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=545&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=546&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=547&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=548&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=549&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=550&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=289&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=458&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=460&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=462&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=473&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=503&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=542&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
550 total errors during this script execution, please investigate and try and fix these errors
ERROR: 550 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check your
PHP Fatal error:  550 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check your in /home/anton/data/www/stat.my_domain.org/html/misc/cron/archive.php on line 573

from /home/anton/data/www/stat.my_domain.org/piwik-archive.log:


[2013-06-09 22:06:06] [46b6215c] WARNING: Empty or invalid response '' for website id 503, Time elapsed: 0.096s, skipping
[2013-06-09 22:06:06] [46b6215c] ERROR: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=542&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031
ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check your Web server Error Log file
 for more details.
[2013-06-09 22:06:06] [46b6215c] WARNING: Empty or invalid response '' for website id 542, Time elapsed: 0.089s, skipping
[2013-06-09 22:06:06] [46b6215c] Done archiving!
[2013-06-09 22:06:06] [46b6215c] ---------------------------
[2013-06-09 22:06:06] [46b6215c] SUMMARY
[2013-06-09 22:06:06] [46b6215c] Total daily visits archived: 0
[2013-06-09 22:06:06] [46b6215c] Archived today's reports for 0 websites
[2013-06-09 22:06:06] [46b6215c] Archived week/month/year for 0 websites.
[2013-06-09 22:06:06] [46b6215c] Skipped 550 websites: no new visit since the last script execution
[2013-06-09 22:06:06] [46b6215c] Skipped 0 websites day archiving: existing daily reports are less than 1800 seconds old
[2013-06-09 22:06:06] [46b6215c] Skipped 0 websites week/month/year archiving: existing periods reports are less than 3600 seconds old
[2013-06-09 22:06:06] [46b6215c] Total API requests: 0
[2013-06-09 22:06:06] [46b6215c] done: 0/550 0%, 0 v, 0 wtoday, 0 wperiods, 0 req, 62328 ms, 550 errors. eg. 'Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&p
eriod=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limi
t' in your php.ini file. Please check your'
[2013-06-09 22:06:06] [46b6215c] Time elapsed: 62.328s
[2013-06-09 22:06:06] [46b6215c] ---------------------------
[2013-06-09 22:06:06] [46b6215c] SCHEDULED TASKS
[2013-06-09 22:06:06] [46b6215c] Starting Scheduled tasks...
[2013-06-09 22:06:06] [46b6215c]  No task to run
[2013-06-09 22:06:06] [46b6215c] done
[2013-06-09 22:06:06] [46b6215c] ---------------------------[2013-06-09 22:06:06] [46b6215c] SUMMARY OF ERRORS
[2013-06-09 22:06:06] [46b6215c] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check your
[...]
[2013-06-09 22:06:06] [46b6215c] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=548&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031
ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-09 22:06:06] [46b6215c] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=549&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031
ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-09 22:06:06] [46b6215c] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=550&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031
ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-09 22:06:06] [46b6215c] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=289&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031
ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-09 22:06:06] [46b6215c] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=458&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031
ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-09 22:06:06] [46b6215c] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=460&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031
ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-09 22:06:06] [46b6215c] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=462&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031
ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-09 22:06:06] [46b6215c] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=473&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031
ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo
[2013-06-09 22:06:06] [46b6215c] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=503&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031
ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo[2013-06-09 22:06:06] [46b6215c] Error: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=542&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031
ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. Please check yo[2013-06-09 22:06:06] [46b6215c] 550 total errors during this script execution, please investigate and try and fix these errors
[2013-06-09 22:06:06] [46b6215c] ERROR: 550 total errors during this script execution, please investigate and try and fix these errors. First error was: Got invalid response from API request: http://stat.my_domain.org/index.php?module=API&method=VisitsSummary.getVisits&idSite=1&period=day&date=last52&format=php&token_auth=4604cbe64b9dde47306b6031ea23af9f&trigger=archivephp. The response was empty. This usually means a server error. This solution to this error is gene
rally to increase the value of 'memory_limit' in your php.ini file. Please check your

I did not have enough memory? On how much to increase the memory_limit, the errors disappeared?

As a result:

  • in page http://stat.my_domain.org/index.php?module=MultiSites - Error HTTP 500 (Internal Server Error)
  • in error.log:

[Mon Jun 10 02:34:48 2013] [error] [client 89.112.9.203] PHP Parse error:  syntax error, unexpected T_FUNCTION, expecting ')' in /home/anton/data/www/stat.my_domain.org/html/core/Archive/DataTableFactory.php on line 302

  • in all other tabs: “loading data…”

The parse error indicates a bug in the file, try reupload all files to 1.12 ?