Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Artifacts in on the settings page in the CP

KS808's Avatar

KS808

03 Nov, 2011 08:44 PM

Just wanted to pass this on just in case someone else runs into this issue. After a fresh installation of BWF addon, I visited the settings area and noticed unparsed PHP code around the form (see attached image). The culprit turned out to be that our PHP "short_open_tag" in PHP ini is set to false which disables the short form of the opening php tag "<?". The index.php file in the views folder has the short form at the top and bottom of the page. "<?=" shorthand is ok though. After turning the short form "<?" into the long form "<"?php". I sort of glanced at all the other files and everything else seems to be working. So either turn on the php.ini option, or convert all your short form to long form tags.

Great add-on! Just what we were looking for!

  1. 1 Posted by Rob Hodges on 04 Nov, 2011 10:04 AM

    Rob Hodges's Avatar

    Hi KS,

    We caught this one pretty early after we released it into the wild, and have gone back to the longer form in the next release. Thanks for putting this solution up though, will be useful for all who are on a server without this enabled.

    Thanks,

    Rob

  2. Rob Hodges closed this discussion on 04 Nov, 2011 10:04 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac