Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

redirect_login_to problems


nyderrn

Recommended Posts

I got this error

 

Fatal error: Call to undefined function: tep_href_link() in c:apachehtdocstep_snapshotcatalogincludesredirect_login_to.php on line 23

 

line 23:

 

$link = tep_href_link(FILENAME_DEFAULT);

 

 

There anyone with more experience that could help me out with this one? I'm using the 5/28/03 snapshot, if that makes a difference in this case.

 

Thanks

Link to comment
Share on other sites

you are getting the erro because you did not "require" nor "include" DIR_WS_FUNCTIONS . 'html_output.php'

as this is the file in wich the function tep_href_link() is defined. compare the contents of your file 'redirect_login_to.php' with for example to 'application_top.php'. As you'll see you need to include or require the file that contains a function (so it gets to life so to say) before you could use that function.

 

regards

ralf

btw. working with snapshots is not recommended for live servers :-)

sometimes I change code before reading the comments, sometimes code doesn't even have comments, sometimes I rechange code after I read the code others wrote :-)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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