Guest Posted May 20, 2003 Posted May 20, 2003 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...
Guest Posted May 20, 2003 Posted May 20, 2003 oops... ---> http://cigs2.drizden.com/catalog/default.php
Guest Posted May 20, 2003 Posted May 20, 2003 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...
Guest Posted May 20, 2003 Posted May 20, 2003 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?
Guest Posted May 20, 2003 Posted May 20, 2003 The file "cookie_usage.php" that FILENAME_COOKIE_USAGE is set to DOES exist in the correct location. Any ideas?
Guest Posted May 20, 2003 Posted May 20, 2003 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"
rseigel Posted May 20, 2003 Posted May 20, 2003 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.
don_miguel Posted June 24, 2003 Posted June 24, 2003 I got the same problem with the contribution. Any solution? :roll:
don_miguel Posted June 24, 2003 Posted June 24, 2003 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?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.