Hi I've turned on PHP 5 on my cPanel and I have this parse error on my wordpress blog at http://www.drpennystock.com, look the footer, it doesn't appear. Parse error: Parse error: syntax error, unexpected ';' in /home/drpen3/public_html/wp-content/themes/tiga/footer.php on line 55 This is my actual footer.php file: <?php /* Tiga WordPress Theme Copyright (C) 2006 Shamsul Azhar This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ ?> <?php wp_footer(); ?> <div class="footer"> <br /> <?php display_ad_box(2); ?> <br /><br /> <hr></hr> <br /> <!-- Start FAT Banner Code --> <center> <a href="http://www.adtrader.com/ads/adlink.asp?SN=5327" > <img src="http://www.adtrader.com/ads/adserve.asp?SN=5327&PN=1&Desc=footer" width="468" height="60" border="1" alt="The Financial Ad Trader" /></a><br /> <font size="1" face="arial"><a href="http://www.adtrader.com">The Financial Ad Trader - free website advertising</a><br /></font> </center> <!-- End FAT Banner Code -- ><br /> <hr></hr> <center><b>DISCLAIMER</b></center> I am not a registered investment adviser or a broker/dealer. Readers are advised that all information in this web site is issued solely for informational purposes, and, is not a solicitation to buy or sell stocks. The opinions and analyses included in this web site are written in good faith, but, no representation or warranty, expressed or implied, is made as to their accuracy or correctness. I, as an independent trader, can buy or sell any stock here discussed. Please, note that i am taking no compensation of any kind, and, will never take any compensation from any companies that are here discussed. I am not responsible for any losses or damages, monetary or otherwise, that results from buying or selling on the information found in this web site. Trading penny stocks is highly speculative and carries an extremely high degree of risk. I advise all readers and subscribers to seek advice from a registered securities representative. <hr></hr> <center>Copyright © 2006-2008 - Dr PennyStock - All Rights Reserved</center> <hr></hr> <p> <?php printf(_t('%s DrPennyStock.com is powered by <a href="http://wordpress.org" title="WordPress">WordPress</a> and <a href="http://www.drpennystock.com">PENNY STOCKS</a>'), get_bloginfo('name')); echo ?> </p> </div> <!-- footer --> </div> <!-- page --> <!-- Start of StatCounter Code --> <script type="text/javascript"> <!-- var sc_project=2348698; var sc_invisible=0; var sc_partition=21; var sc_security="774cf614"; //--> </script> <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c22.statcounter.com/counter.php?sc_project=2348698&java=0&security=774cf614&invisible=0" alt="site stats" /></a></div></noscript> <!-- End of StatCounter Code --> </body> </html> Code (markup): This is the original footer.php file: <?php /* Tiga WordPress Theme Copyright (C) 2006 Shamsul Azhar This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ ?> <?php wp_footer(); ?> <div class="footer"> <!-- Please do not remove attribution to me from the bottom of your page It's the least that you can do to acknowledge my hard work. If you have significantly modified this theme you can add the phrase "modified by xxxx". --> <p> <?php printf(_t('%s is powered by <a href="http://wordpress.org" title="WordPress">WordPress</a>'), get_bloginfo('name')); echo('<strong> | </strong>'); _te('Using <a href="http://www.shamsulazhar.com/wp/archives/31" title="Tiga - A three column WordPress theme">Tiga</a> theme with a bit of <a href="http://frenchfragfactory.net/ozh/" title="planetOzh : Home of Wordpress Theme Toolkit">Ozh</a>'); ?> </p> </div> <!-- footer --> </div> <!-- page --> </body> </html> Code (markup): Thanks in advance for any help.
I removed an unclosed echo statement on line 55. Here's the modified code. <?php /* Tiga WordPress Theme Copyright (C) 2006 Shamsul Azhar This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ ?> <?php wp_footer(); ?> <div class="footer"> <br /> <?php display_ad_box(2); ?> <br /><br /> <hr></hr> <br /> <!-- Start FAT Banner Code --> <center> <a href="http://www.adtrader.com/ads/adlink.asp?SN=5327" > <img src="http://www.adtrader.com/ads/adserve.asp?SN=5327&PN=1&Desc=footer" width="468" height="60" border="1" alt="The Financial Ad Trader" /></a><br /> <font size="1" face="arial"><a href="http://www.adtrader.com">The Financial Ad Trader - free website advertising</a><br /></font> </center> <!-- End FAT Banner Code -- ><br /> <hr></hr> <center><b>DISCLAIMER</b></center> I am not a registered investment adviser or a broker/dealer. Readers are advised that all information in this web site is issued solely for informational purposes, and, is not a solicitation to buy or sell stocks. The opinions and analyses included in this web site are written in good faith, but, no representation or warranty, expressed or implied, is made as to their accuracy or correctness. I, as an independent trader, can buy or sell any stock here discussed. Please, note that i am taking no compensation of any kind, and, will never take any compensation from any companies that are here discussed. I am not responsible for any losses or damages, monetary or otherwise, that results from buying or selling on the information found in this web site. Trading penny stocks is highly speculative and carries an extremely high degree of risk. I advise all readers and subscribers to seek advice from a registered securities representative. <hr></hr> <center>Copyright © 2006-2008 - Dr PennyStock - All Rights Reserved</center> <hr></hr> <p> <?php printf(_t('%s DrPennyStock.com is powered by <a href="http://wordpress.org" title="WordPress">WordPress</a> and <a href="http://www.drpennystock.com">PENNY STOCKS</a>'), get_bloginfo('name')); ?> </p> </div> <!-- footer --> </div> <!-- page --> <!-- Start of StatCounter Code --> <script type="text/javascript"> <!-- var sc_project=2348698; var sc_invisible=0; var sc_partition=21; var sc_security="774cf614"; //--> </script> <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c22.statcounter.com/counter.php?sc_project=2348698&java=0&security=774cf614&invisible=0" alt="site stats" /></a></div></noscript> <!-- End of StatCounter Code --> </body> </html> PHP: