RE: NEW - Tab Page Unlimited v1.0
sfoust <[email protected]> 12 Sep 2003 15:55:17 -0000
| Newsgroups | gmane.comp.web.oscommerce.contributions |
|---|---|
| Message-ID | <49a8078e54dd4a371a7141b3b5bc1923@osCommerce-Forums> |
This message was sent from: Contributions
http://forums.oscommerce.com/viewtopic.php?p=228437#228437
----------------------------------------------------------------
noppie,
Humm, it WAS working but now it's not. That forces me to ask "What did you change ?!" :?
This error means that the tab_html_output.php file is being 'required' twice some how.
You could solve the problem by replacing the contents of that file with this code:
[code]<?php
/*
Module: Tab Pages Unlimited
File date: 2003/03/02
Based on the FAQ script of adgrafics
Adjusted by Joeri Stegeman (joeri210 at yahoo.com), The Netherlands
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Released under the GNU General Public License
*/
// Output a function button in the selected language
if (!function_exists(tep_tab_image_button)){
function tep_tab_image_button($image, $alt = '', $params = '') {
global $language;
return tep_image(DIR_WS_LANGUAGES . $language . '/images/' . $image, $alt, '', '', $params);
}
}
?>[/code]
But that is really fixing the symptom and not the cause.
So if you changed something (and I know you did ;) ) then it would be best to find out where tab_html_output.php is being 'required' a second time. Maybe you pasted two of those lines into application_top.php.
Scott.