Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal Error


Yrewol

Recommended Posts

Posted

Hey folks, I an receiving the following fatal error when I attempt to access the admin page after install. The error is as follows.

 

Fatal error: Call to undefined function: tep_setcookie() in /home/httpd/vhosts/my-domain.com/httpdocs/admin/includes/application_top.php on line 168

 

and line 168 of application_top.php has the following.

 

165     // start the session
166       $session_started = false;
167       if (SESSION_FORCE_COOKIE_USE == 'True') {
168         tep_setcookie('cookie_test', 'please_accept_for_session', time()+60*60*24*30, $cookie_path, $cookie_domain);
169     
170         if (isset($HTTP_COOKIE_VARS['cookie_test'])) {
171           tep_session_start();
172           $session_started = true;

 

How can i correct this error?

Posted

What 'install' are you talking about? That error only usually appears in osCommerce after someone has screwed up installing a contribution - or if they are using CRE Loaded (which is not osCommerce and is not supported here).

 

Vger

Posted
What 'install' are you talking about? That error only usually appears in osCommerce after someone has screwed up installing a contribution - or if they are using CRE Loaded (which is not osCommerce and is not supported here).

 

Vger

 

I am using 2.2 ms2. I did try to

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...