lolaagain Posted October 3, 2008 Share Posted October 3, 2008 I am a spaz!! somehow I ended up with 2 footers!! How do I get back to only one??? www.gracielousquiltshoppe.com Thanks!! Link to comment Share on other sites More sharing options...
lindsayanng Posted October 3, 2008 Share Posted October 3, 2008 in index.php at the way bottom, look to see if you have require(footer.php); twice.. delete one. A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!! Link to comment Share on other sites More sharing options...
lolaagain Posted October 3, 2008 Author Share Posted October 3, 2008 in index.php at the way bottom, look to see if you have require(footer.php); twice.. delete one. *bowing* You are the queen!!!! Thanks for your help!!!! Link to comment Share on other sites More sharing options...
lolaagain Posted October 3, 2008 Author Share Posted October 3, 2008 AAACK!!!!!Now both footers are gone!!! Do I really need a footer????? Link to comment Share on other sites More sharing options...
lindsayanng Posted October 3, 2008 Share Posted October 3, 2008 yea.. you want a footer.. did you only delete one?? Do you still have a require(footer.php); in your index.php file A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!! Link to comment Share on other sites More sharing options...
lolaagain Posted October 3, 2008 Author Share Posted October 3, 2008 yea.. you want a footer.. did you only delete one?? Do you still have a require(footer.php); in your index.php file Uhhhh......I told you I was a spaz!! They seem to both be gone!!! DOH! Link to comment Share on other sites More sharing options...
lindsayanng Posted October 3, 2008 Share Posted October 3, 2008 just put ONE back and you will be ok.. A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!! Link to comment Share on other sites More sharing options...
lolaagain Posted October 3, 2008 Author Share Posted October 3, 2008 just put ONE back and you will be ok.. i put it back..................... Warning: require(footer) [function.require]: failed to open stream: No such file or directory in /home2/gracielo/public_html/index.php on line 335 Fatal error: require() [function.require]: Failed opening required 'footer' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/gracielo/public_html/index.php on line 335 Link to comment Share on other sites More sharing options...
lindsayanng Posted October 3, 2008 Share Posted October 3, 2008 did you use the correct filename?? did you copy and paste? you might have had a typo add this <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!! Link to comment Share on other sites More sharing options...
lolaagain Posted October 3, 2008 Author Share Posted October 3, 2008 Thanks!! I don't have the WARNING, or the Fatal Error any more.......... but, the other footer is back!! I only have one require(footer.php)....but 2 footers...er...feet??? Link to comment Share on other sites More sharing options...
Guest Posted October 3, 2008 Share Posted October 3, 2008 Thanks!!I don't have the WARNING, or the Fatal Error any more.......... but, the other footer is back!! I only have one require(footer.php)....but 2 footers...er...feet??? What does your includes/footer.php have in it? Link to comment Share on other sites More sharing options...
lolaagain Posted October 3, 2008 Author Share Posted October 3, 2008 <?php /* $Id: footer.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?> Installed by <a href="http://www.simplescripts.com" title="SimpleScripts Automated Script Installation">SimpleScripts</a> <a href="http://www.bluehost.com" title="web hosting">web hosting</a></td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table><?php /* $Id: footer.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_INCLUDES . 'counter.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="footer"> <td class="footer"> <?php echo strftime(DATE_FORMAT_LONG); ?> </td> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> </tr> </table> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="smallText"><?php echo FOOTER_TEXT_BODY; ?> Installed by <a href="http://www.simplescripts.com" title="SimpleScripts Automated Script Installation">SimpleScripts</a> <a href="http://www.bluehost.com" title="web hosting">web hosting</a></td> </tr> </table> <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> <br> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr> </table> </td> </tr> </table> <?php } ?> <?php } ?> Link to comment Share on other sites More sharing options...
lolaagain Posted October 3, 2008 Author Share Posted October 3, 2008 Hey!!! I think I've found the problem!!!!! Heh heh!! It's in there twice..... Thanks for helping a Newbie!! DOH Link to comment Share on other sites More sharing options...
lolaagain Posted October 3, 2008 Author Share Posted October 3, 2008 Hey!!! I think I've found the problem!!!!! Heh heh!! It's in there twice..... Thanks for helping a Newbie!! DOH and then there was one........ Link to comment Share on other sites More sharing options...
Guest Posted October 3, 2008 Share Posted October 3, 2008 and then there was one........ Glad it is fixed. Link to comment Share on other sites More sharing options...
lindsayanng Posted October 3, 2008 Share Posted October 3, 2008 wasnt that the first thing that i told you?? i'm confused.. glad you fixed it though A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!! Link to comment Share on other sites More sharing options...
lolaagain Posted October 3, 2008 Author Share Posted October 3, 2008 ...not just the require(footer.php)...but the entire code for the footer!! I know how I did it too, so maybe (uhhhh) I won't do it again! Thanks! Link to comment Share on other sites More sharing options...
lindsayanng Posted October 3, 2008 Share Posted October 3, 2008 ok.. thats good.. you probably copied and pasted something and included what you didnt need (the footer) A great place for newbies to start Road Map to oscommerce File Structure DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways! HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you Proud Memeber of the CODE BREAKERS CLUB!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.