milocheri's picture
Hello, i'm an active user of Proxmox, and today i just install debian-12-turnkey-wordpress_18.2-1_amd64.tar.gz, everything seems to works just fine, however i just install the plugin "Starter Templates" from Astra, the installation goes fine, but when i try to run the plugin, i get a blank page. LXC Version: debian-12-turnkey-wordpress_18.2-1_amd64.tar.gz Wordpress Version: 6.7.1 Plugin: Starter Templates Ver. 4.4.10 Thank you so much for your help!!
Forum: 
Jeremy Davis's picture

A blank page in your browser often suggests some sort of PHP error. It's often called the "white screen of death". It is usually caused by a buggy plugin or some incompatibility between the plugin, the version of WordPress and/or PHP.

Depending on how you installed the plugin, another possibility is permissions issues. If you installed via the WordPress web UI or via CLI using our helper script, then that should not be an issue. However if you installed via the the wp CLI client or manually by uploading the files to your server, then that's likely the cause. To ensure permissions are correct:

chown -R www-data:www-data /var/www/wordpress
systemctl restart apache2

It may also be worth clearing the cache and cookies from your browser - although I doubt they would cause issues...

If that's not the issue, double check what version of PHP and WordPress the plugin requires. TurnKey comes with PHP 8.2.

If that all checks out, then I suggest double checking the Apache logs for any PHP errors. The Apache logs are found in /var/log/apache2.

If the Apache logs don't help, I suggest that you try enabling debugging on your WordPress server to see what the issue is. Unfortunately I don't have details handy, but a quick google should turn something up (TurnKey is Debian under the hood so instructions for that - or even Ubuntu - should do the job).

If you work it out, it'd be great if you could post back with the solution. If not, please post back with details on how you installed the plugin and once I'm back from holidays (Jan 6th) I'll see if I can reproduce the issue.

milocheri's picture

Hello, Happy New Year!!, thank you so much for the attention and all your suggestions, i already check all that you ask, and it seems to be fine.

I did the installation directly from Wordpress searching the package in plugins, it requieres at least 6.6 Worpdress or higher, Php version 7.4 or higher, my wordpress version is 6.7.1.

I check the logs at /var/log/apache2, and i found this error message [substitute:error] [pid 176353:tid 176353] [client 10.0.53.2:62501] AH01328: Line too long, URI /wp-admin/themes.php, referer: https://10.0.51.44/wp-admin/plugin-install.php?s=Starter&tab=search&type...

any idea ? thanks!
Jeremy Davis's picture

Happy new year to you too! :)

Given that error message, I think this should do the trick:

sed "\|^|i\    SubstituteMaxLineLength 10M" /etc/apache2/mods-available/substitute.conf

FYI that will increase the "SubstituteMaxLineLength" to 10MB (the default is 1MB). That should be enough hopefully. Then restart Apache:

systemctl restart apache2

Hopefully that works and you're all good. If not post back with any new info.

milocheri's picture

Hello again Thank you so much!! That fix the issue, now the plugin is working fine, thanks again, have a nice day!!
Jeremy Davis's picture

Great news! :) Thanks for confirming the fix.

I'll make this tweak by default so in future releases will avoid this issue. Thanks again for reporting this issue and helping us improve TurnKey.

Add new comment