apache2 - Expression Engine Sidebar Nav issue post migration -
i novice ee working in environment migrated ee 1 host , post-migration having issue nav bar displaying code:
$nav): $class = ($nav['url_title'] == 'about-us') ? ' class="current"' : ''; echo ''.$nav['title'].''; if($nav['url_title'] == 'about-us'): ?>company overview our history '; endforeach; ?>
screenshots located here: http://www.evernote.com/l/aamkcm-337jd3o9wv2l6kmduk6ecga1sbd0/
any thoughts? not occurring on original server.
my guess old host had short_open_tag turned on in php.ini while new host not.
you prepare either turning short_open_tags on in .ini file or replacing <?
<?php
in template.
would check confirm php parsing turned on in template , called @ expected parsing stage (input or output -- based on snipped guessing need 'output').
apache2 expressionengine
No comments:
Post a Comment