viragovisions Posted July 1, 2007 Posted July 1, 2007 This is the code: // give the visitors a message that the website will be down at ... time if ( (WARN_BEFORE_DOWN_FOR_MAINTENANCE == 'true') && (DOWN_FOR_MAINTENANCE == 'false') ) { tep_output_warning(TEXT_BEFORE_DOWN_FOR_MAINTENANCE . PERIOD_BEFORE_DOWN_FOR_MAINTENANCE); } // this will let the admin know that the website is DOWN FOR MAINTENANCE to the public if ( (DOWN_FOR_MAINTENANCE == 'true') && (EXCLUDE_ADMIN_IP_FOR_MAINTENANCE == getenv('REMOTE_ADDR')) ) { tep_output_warning(TEXT_ADMIN_DOWN_FOR_MAINTENANCE); Producing this error: Fatal error: Call to undefined function: tep_output_warning() in /home/yordany/public_html/includes/header.php on line 44 Line 44 equivilates the: tep_output_warning(TEXT_ADMIN_DOWN_FOR_MAINTENANCE); I am not seeing a problem, but then again, still a little green on PHP. Might someone have a suggestion as to where the problem is? Thank you, VV Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.