Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"log yourself in" and "my account" butto


Guest

Recommended Posts

Posted

executing either button causes a 'page not found' error.

-I am using MYSQL to handle sessions.

-When i cursor over "log yourself in" I see "login.php" in the lower left hand side of my browser

-when i cursor over "my account", I see "account.php" in the browser.

-SSL is turned off.

 

Has anyone seen this error before?

 

--also, i double checked that ssl was set to false in both confiure.php files....

 

Please help...

Posted

Also, I just saw this error message in my error log:

 

"File does not exist: /home/drizden/drizden-www/cigs2/catalog/FILENAME_COOKIE_USAGE

"

 

This is generated when i click on either button. I guess i'll have to find out what FILENAME_COOKIE_USAGE is suposed to be...

Posted

I did find somewhere in this forum that if I remove the line of code in login.php that references FILENAME_COOKIE_USAGE, it will fix my problem

 

This is the line of code:

// redirect the customer to a friendly cookie-must-be-enabled page if cookies are disabled (or the session has not started)

 if ($session_started == false) {

   tep_redirect(tep_href_link(FILENAME_COOKIE_USAGE));

 

I'm not 100% sure of what the impact would be if i did this. I would rather find a permanent fix to the issue. any ideas?

Posted

The file "cookie_usage.php" that FILENAME_COOKIE_USAGE is set to DOES exist in the correct location.

 

Any ideas?

Posted

If i execute cookie_usage.php, directly, i get this error in my browser...

 

 

"Fatal error: Failed opening required 'includes/languages/english/FILENAME_COOKIE_USAGE' (include_path='.:/usr/lib/php') in /home/drizden/drizden-www/cigs2/catalog/cookie_usage.php on line 15"

Posted

Obviously FILENAME_COOKIE_USAGE is not defined. Look in either /catalog/includes/application_top.php or /catalog/includes/filenames.php (depending on your version of OSC) and add it there with the rest of them.

  • 1 month later...
Posted

So I have commented out the following part in login.php:

 

// redirect the customer to a friendly cookie-must-be-enabled page if cookies are disabled (or the session has not started) 

 if ($session_started == false) { 

   tep_redirect(tep_href_link(FILENAME_COOKIE_USAGE));

 

But is this really the solution? :? I think there are missing some files, e.g. the language file for cookie_usage.php and the definition in application_top.php. Does anybody know if this will be "bugfixed" in the near future?

Archived

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

×
×
  • Create New...