Pligg seems to fail with only a few simultaneous users.
I ran a simple load test with JMeter. Not a heavy load, just 4 users simultaneously logging in, viewing the homepage and the profile, looping 4 times.
About a third of the time, there is a template error "Parse error: syntax error, unexpected $end" (see image), after part of the pages' HTML has arrived OK.
This also happened to us during manual testing, though rarely.
Though the error message suggests a syntax error, there is clear evidence that the template is actually OK -- since most of the time, the page renders just fine.
By the way, I searched the forum and tried all the usual things. I deleted the files in templates_c just to be sure. Permissions are 777 on templates_c.
This is happening on a Virtual Private Server from LiquidWeb, but also quite similarly on a shared server from GoDaddy, so it is not some quirk of our PHP installation. The loads are small -- 16 page-access total should not be crashing anything.
A colleague suggested that Smarty is re-compiling the templates on every access. If so, is there some way I can configure to avoid that?
----------------------
Error was:
Parse error: syntax error, unexpected $end, expecting ')' in /home/carestor/public_html/qa/templates_c/c_ef20b2b5fff08f636a080a9108ff9329.php on line 605







Linear Mode




