WebPagetest Forums
Waterfall/thumbnail images not showing and runtest.php errors - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: Waterfall/thumbnail images not showing and runtest.php errors (/showthread.php?tid=14801)



Waterfall/thumbnail images not showing and runtest.php errors - mverkerk - 03-14-2017 05:00 PM

I'm having issues with my server upgrades to (a) new platform and (b) webpagetest 3.0 and wondering if anybody has some clues/tips/ideas of what it is that I am missing...

Testing on 3 different machines, i see the following:

Server A
Error in runtest.php:
- Undefined variable: req_domelement in /var/www/webpagetest/www/runtest.php on line 104
- error on line 2 at column 6: XML declaration allowed only at the start of the document
Also:
- Waterfall and thumbnail images not showing (showing spinner)

Server info:
CentOS7, PHP 7.0.16, FPM/FastCGI, NGINX 1.10.2
Included /var/www/webpagetest/www/nginx.conf (for rewrite rules)
From /install page:
- Every single item is green

Server B
Error in runtest.php:
- Undefined variable: req_domelement in /var/www/webpagetest/www/runtest.php on line 104
Also:
- Waterfall and thumbnail images ARE working!

CentOS6, PHP 5.4.16, Apache 2.4.6
HTTP_MOD_REWRITE = On
From /install page:
- Every single item is green

Server C
Error in runtest.php:
- Undefined variable: req_domelement in C:\Users\mverkerk\dev\webpagetest\www\runtest.php on line 104

Server info:
local machine, windows/WAMP: PHP 5.6.25, Apache 2.4.23
HTTP_MOD_REWRITE = On
From /install page:
- GD module installed
- all (mandatory) checks are green
- all file system checks OK


RE: Waterfall/thumbnail images not showing and runtest.php errors - mverkerk - 03-29-2017 04:35 AM

Bump for visibility
...anybody?


RE: Waterfall/thumbnail images not showing and runtest.php errors - mverkerk - 04-07-2017 02:26 AM

As a follow up: this issue has been resolved.
Turns out that my setup was having issues with runtest.php's XML response. The response was XML but the first line was empty! This was apparently causing issues in my nginx/php7 setup. The solution (for me) was to add a line-feed at the end of www/common_lib.inc
this still doesn't fully make sense to me but it worked ...