Problem registrating work with nodejs-agent
|
11-29-2013, 06:33 PM
Post: #1
|
|||
|
|||
Problem registrating work with nodejs-agent
Hi, have fetched wpt from trunk and want to use the nodejs-agent on a Ubuntu 13.10-server.
The /install-page is all green except: Code: Test Locations This is the output from running the nodejs-agent Code: root@XXXXXX:/var/www/webpagetest/agent/js# ./wptdriver.sh -s http://localhost:80 -m 10 -l Local-WPTDriver Quote:In the webserver accesslog I only get 500-errors: Here's the location.ini: Quote:[locations] ..and here's the relevant part of wptdriver.ini: Code: [WebPagetest] /getLocations.php is only showing headers. I also have a hard time getting logging to work, nothing is ever logged to logs/logs.txt Any idea what can be wrong? |
|||
12-06-2013, 08:51 PM
Post: #2
|
|||
|
|||
RE: Problem registrating work with nodejs-agent
The problem was missing dependency: php5-json for ubuntu.
The error-message in the log was: PHP Fatal error: Call to undefined function json_encode() in /var/www/webpagetest/www/common_lib.inc on line 1504 But that message wasn't logged until I removed this line from www/work/getwork.php (line error_reporting(0); |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)