I tried to use StaticExporter to export several Silverstripe sites. I tried pages based on 2.4.0, 2.4.2 and 2.4.3. They all just return empty "mysite.tar.gz" files when I call http://domain.tld/StaticExporter/export. Is there anything I'm missing, or does Static Exporter not work in 2.4?
My first problem was, that shell_exec was disabled in the php.ini.
The exporter starts working now, but fails at the end before packing and sending the file to the browser. If I check in the silverstripe-cache dir, the export is there...
[Warning] copy(/var/www/silverstripe-cache/static-export/mysite/home/index.html): failed to open stream: No such file or directory
Line 93 in /var/www/cms/code/StaticExporter.php
Line 93 of StaticExporter.php
Line 193 of Controller.php
Line 137 of RequestHandler.php
Line 147 of Controller.php
Line 281 of Director.php
Line 124 of Director.php
Line 127 of main.php