It looks like you're new here. If you want to get involved, click one of these buttons!
<!-- Facebook -->
<div id="facebook" class="sidebar-box">
<a class="social-url" href="http://www.facebook.com/" target="_blank" title="Visit Us on Facebook"><img src="/assets/images/facebook-sidebar.png" alt="Facebook Icon" /></a>
<div class="fb-like" data-href="http://www.facebook.com/" data-send="false" data-layout="button_count" data-width="255" data-height="22px" data-show-faces="true" data-font="segoe ui"></div>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
</div>
( ! ) Parse error: syntax error, unexpected ')' in C:\wamp\www\chattanooga\fuel\application\cache\dwoo\compiled\31e010057439cc0c483170e14453a544.d17.php on line 171
Call Stack
# Time Memory Function Location
1 0.0018 728160 {main}( ) ..\index.php:0
2 0.0063 809584 require_once( 'C:\wamp\www\chattanooga\fuel\codeigniter\core\CodeIgniter.php' ) ..\index.php:270
3 0.2258 8031632 Page_router->_remap( ) ..\CodeIgniter.php:284
4 0.3814 10136944 Page_router->_remap_cms( ) ..\page_router.php:54
5 0.3862 10180208 Fuel_page->cms_render( ) ..\page_router.php:88
6 0.4967 11085536 MY_Parser->parse_string( ) ..\Fuel_page.php:255
7 0.4967 11085584 MY_Parser->_parse( ) ..\MY_Parser.php:157
8 0.5210 12770824 Dwoo_Core->get( ) ..\MY_Parser.php:222
<!-- Facebook -->
<div id="facebook" class="sidebar-box">
<a class="social-url" href="http://www.facebook.com/bikechattanooga" target="_blank" title="Visit Us on Facebook"><img src="/assets/images/facebook-sidebar.png" alt="Facebook Icon" /></a>
<div class="fb-like" data-href="http://www.facebook.com/bikechattanooga" data-send="false" data-layout="button_count" data-width="255" data-height="22px" data-show-faces="true" data-font="segoe ui"></div>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) <?php echo ();?>
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
</div>
Comments
Any case, this was a head-scratcher for me, so if you have insight it would be wonderful to know maybe why this was happening for the future. I think it is best practice anyway to load all javascript via the js() function or have it load in the header or footer files rather than the main content portions anyway, but it would be nice to know why it didn't work this way too.
Thanks,
Erik