Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...