Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Footers


lolaagain

Recommended Posts

Posted

I am a spaz!! somehow I ended up with 2 footers!!

How do I get back to only one???

 

www.gracielousquiltshoppe.com

 

Thanks!!

Posted

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!!

Posted
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!!!!

Posted

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!!

Posted
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!

Posted

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!!

Posted
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

Posted

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!!

Posted

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???

Posted
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?

Posted

<?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

}

?>

Posted

Hey!!! I think I've found the problem!!!!!

 

Heh heh!! It's in there twice.....

Thanks for helping a Newbie!! DOH

Posted
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........

Posted
and then there was one........

Glad it is fixed.

Posted

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!!

Posted

...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!

Posted

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!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...