ronsoto Posted July 19, 2008 Posted July 19, 2008 hello, i was trying to add text to the footer.php in ../includes. this said i added the text then i got this message: Fatal error: Call to a member function add_current_page() on a non-object in /home/ronzsmok/public_html/myshop/includes/application_top.php on line 312 the only file i have edited was ../includes/footer.php. here is a copy of the footer.php: start--- </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" cellspacing="0" cellpadding="1" class='footertable' > <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; ?> <p><?php echo FOOTER_TEXT_BODY; ?> <p> <p align="center"><font color="#0000ff" size="4">Shipping Times:</font></p> <p align="center"><font color="#ff0000">West Coast Customers - please allow 3-5 business days for deliveries. Mid-West/East Coast Customers - please allow 5-7 business days for deliveries.</font> <?php /* if ($banner = tep_banner_exists('dynamic', '468x50')) {?><br><table border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"><?php echo tep_display_banner('static', $banner); ?></td> </tr></table><?php } */?></td> </tr></table> <br> <div class='credits'>Tubes by </div><a href='http://keywestvisitorguide.com/' class='credits'>Key West</a> <div class='credits'>Designs</div> </center> end--- could someone tell me how to fix my problem? just getting my site back up and online would be great. at this point i'll ditch the added text so i can bring up my shop.. AND YES i know i was supposed to make a copy of the file before hand and unfortunately.. DUHH.. i forgot! shessh! this is OSC v2.2 RC2 any help would be appreciated, thanks in advacnce, ron-
ronsoto Posted July 19, 2008 Author Posted July 19, 2008 i guess there's not a problem after all.. thread closed. ron-
jhande Posted July 19, 2008 Posted July 19, 2008 Are you still having problems Ron? You really need to be patient and wait for someone that "might" be able to figure out your problem to come along. An hour isn't very long. :blink: Looking through your coding, especially the HTML (which is really all you need to do for your editing) I can't figure out how you want it to display/align. Could you post an example of the layout you are after? I'll be back after the lightning storm passes... ;) - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
jhande Posted July 20, 2008 Posted July 20, 2008 An hour isn't very long. :blink: How did I figure that?? :huh: It was only 18 minutes! :o WOW, nothing like expecting instant gratification... <_< Anyways... If you still want help Ron, a link would be nice or an explaination as to how you want the footer layed out. Then we could help with your HTML coding. ;) I could take an educated ques, but that could be wrong for what you want and I'd be waisting more time than I already have. Gee... I wonder why no reply since my original? -_- - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
Guest Posted July 20, 2008 Posted July 20, 2008 How did I figure that?? :huh: It was only 18 minutes! :o WOW, nothing like expecting instant gratification... <_< Anyways... If you still want help Ron, a link would be nice or an explaination as to how you want the footer layed out. Then we could help with your HTML coding. ;) I could take an educated quess, but that could be wrong for what you want and I'd be wasting more time than I already have. Gee... I wonder why no reply since my original? -_- I guess the OP meant that the OP was mistaken in thinking there was an error, or the OP fixed the error. The second post was not informative enough to discern what the eventual outcome may have been.
jhande Posted July 20, 2008 Posted July 20, 2008 I guess the OP meant that the OP was mistaken in thinking there was an error, or the OP fixed the error. The second post was not informative enough to discern what the eventual outcome may have been. True Leslie... I probably should have left it alone. :blush: -_- - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -
Recommended Posts
Archived
This topic is now archived and is closed to further replies.