Forum archive
Turnkey Wordpress 14.1 incompatability with Divi Theme
I have a Turnkey WordPress 14.1 appliance with Divi Theme, http://www.elegantthemes.com/gallery/divi/. It was installed by a developer on his own Wordpress deployment where it works fine. After it's migrated to my Turnkey appliance a feature of the Divi Theme, Divi Builder, fails to load when opening a page to edit it.
Reloading produces the same error. Disabling Plugins is not an option and besides it worked fine on the developers WordPress deployment.
The developer found this thread in the Divi Theme forum:
I had the same issue with a turnkey linux Wordpress 14.0 and 14.1 the apache error log showed: AH01328: Line too long It seemed the /etc/apache2/mod-enabled/substitute.conf file included specific turnkey linux configuartion data. This conflicted with the divi builder. After cleaning 'substiture.conf' the divi builder is working again. # Support TurnKey Linux by adding credit to footer <Location "/"> #remove the turnkey linux configuration AddOutputFilterByType SUBSTITUTE text/html Substitute s/foo/bar/ni </Location>
I'm not exactly sure what to do with this advice.
Has anyone seen this issue and resolved it, or can help me interpret and follow the suggestion made in the Divi forum?
Thanks!
I found the file referred to in the Divi forum and modified it to this:
# Support TurnKey Linux by adding credit to footer <Location /> AddOutputFilterByType SUBSTITUTE text/html </Location>The original looked like this:
# Support TurnKey Linux by adding credit to footer <Location /> AddOutputFilterByType INFLATE;SUBSTITUTE;DEFLATE text/html Substitute "s|</head>|<style type='text/css'> #turnkey-credit { font-family: Tahoma,Sans,Arial,Helvetica,Verdana,sans-serif; font-size: 11px; text-align: center; } #turnkey-credit a { text-decoration: none; } #turnkey-credit a:hover { text-decoration: underline; } body.wp-admin #turnkey-credit, body#image #turnkey-credit, body#media-upload #turnkey-credit { display: none; } </style></head>|i" Substitute "s|</body>|<div id='turnkey-credit'> <div style='clear: both;'> <a href='/wordpress'>WordPress Appliance</a> - Powered by <a href=''>TurnKey Linux</a> </div> </div></body>|i" </Location>The modification appeared to only make a single change which was to remove the Turnkey Linux WordPress footer credit at the bottom of the WordPress Admin logon page. I can't find any other change. I don't know if that breaks any agreement I have with Turnkey Linux to display credit information.
Anyway problem solved. If anyone knows if I'm breaking any copywrite or crediting rules, please let me know and I'll look for another solution.