Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

site starting at logoff.php


Guest

Recommended Posts

Posted

Sometimes when refreshing store it then redirects to store.com/store/logoff.php from store.com/store/index.php

 

Any ideas ?

 

TIA

  • 1 year later...
Posted

I have the exact same problem!

 

When I call index.php, it goes to logoff.php and returns to index.php

This means that I am always SSL, Would like to solve the problem quick!

 

VGER told me it could be because of an htaccess file or a contribution I installed...

 

Let me know if you get anything that helps and I will do the same !!!

Posted

I have the exact same problem!

 

When I call index.php, it goes to logoff.php and returns to index.php

This means that I am always SSL, Would like to solve the problem quick!

 

VGER told me it could be because of an htaccess file or a contribution I installed...

 

Let me know if you get anything that helps and I will do the same !!!

Posted

Here is a list of the contrib I installed, so maybe we can spot the problem ones... and start with them !

 

ADMINSIDE

**********

01 - MS2_French Pack v0.1 by Gunt

 

02 - Canadian Seperate Tax Hack V1.4 from Christophe Weber / Dec. 15, 2002

 

03 - ADMIN Scheme by ATECNO v.1.005 + ADMIN access.

 

04 - Create Basket.php, v1 from xaglo / 2005-10-10

 

05 - Admin Notes v2.2 by Pop the Top

 

06 - Image manager by Jemlin1

 

07 - Down for Maintenance by Linda McGrath and updated by Robert Hellemans 02-22-2003

 

08- DEFINE MAINPAGE v1.3 osCommerce UPDATED FOR MS2 2.2 Released 05APR02 by Mattice

 

09 - DEFINE_INFOPAGES_v1, WYSIWYG HTMLArea (MULTI-LINGUAL) Released 26JULY05 Rune Rasmussen (rued)

 

10 - Customer Testimonials v1.3 Original by Gary Burton v1.3 (asgoroth)

 

11 - ADD CUSTOMERS USERNAME & PASSWORD TO WELCOME EMAIL, OsCommerce 2.2 MS2 by Derek-Paul

 

12 - Info Box Display v1.0 March 16th, 2003 by Michael Cohen

 

13 - Cash On PickUp MS2

 

14 - osCommerce 2.2 Milestone 2 PayPal IPN Payment Module v1.1 by Harald Ponce de Leon, Mark Evans

 

15 - Product Serial V2.0 by Lee Leahu

 

16 - Easypopulate v2.72-MS2 (with attributes) December 28, 2003 by Vijay Immanuel aka VJ

 

17 - Excel Populate

 

18 - Edit Order Comment Update 2004 - ORIGINAL CONTRIBUTION by David Macias Asensi 5 Aug 2003

 

19 - Order Editor v.1.61 by Riccardo Roscilli

 

20 - Birthday V1.2.3 by Kai Schulz

 

21 - Canadian Ship Module v0.9 25/07/2003 by Neil Dixon - Does not show as installed when in fact is!

 

22 - Canada Post Shipping Module with dimensions - 3.7 October 23 2004 With LXWXH RTS October 23 2004 by [email protected]

 

23 - Package Tracking for Canada Post based on Tracking UPS & Fedex Version 1.3 by Wayne Wetterhahn

 

24 - Email Subject with Order Number and Order Status 1.0 Feb 19, 2004 by Jared

 

25 - Customer Registration Report v1.1 for osCommerce-ms2 originally released by chemo, modified by Jochen

 

26 - Recover Cart Sales v2.11 by Lane Roathe of Ideas From the Deep

 

27 - Delete Remove Image Admin V1.0 by MaxiDVD :~)

 

28 - Master Pass with Admin Updated for Osc MS2.2 by Farrukh Saeed, Originally posted by Trailz and modom

 

29 - Comments on invoice + Packing Slip by Jeff Stein 4/24/05

 

30 - Personnal invoice number in ADMIN and invoice.php by Xawaks ;o)

 

31 - IP Info 1.1 by Lion 20.10.2004, modified 13:43 13.11.2004

 

32 - Admin Comments Toolbar 4.0 by Skeedo.com Enterprises Update multilangual: Ben Zukrel Date:2005/02/09

 

33 - Admin Send New Password V1.1 by Warren Ashcroft, Copyright 2003

 

34 - Account create in admin 09-11-2003 by Nuno Chaveiro

 

35 - Super Tracker Release V3 by webschiff

 

36 - QUICK EDIT ICON LINK IN CATEGORIES by Milly Ramsey of Dragon Wizards June 2, 2004

 

37 - Module Name: Additional Images by zaenal, Modified by HelloMan Created: February 28 2003 Modified: May 24 2005

 

38 - Capture IP Address of submitted Product Review by Digital Chilli Ltd, 27th June 2004 ? Version 1.0

 

39 - Contact_US IP recoder by Unknown

 

40 - Package Tracking with Email Notification Mods_1_2 by Wayne Wetterhahn, Jackie Edwards, Marcus R. Matos, Jared Call.

 

41 - Show Customer ID On Admin Orders V1.0 by Reliable Penguin, Inc.

 

42 - Product Cost in Admin V1.0 by Keith Winter

 

43 - Contact alert mod for OsC 2.2 MS2 by [email protected]

 

44 - Mass Price Editor (Bulk) v 1.2 by Ramon E. Gutierrez

 

45 - CUSTOMERS AT-A-GLANCE V.1 by Kasper aka Elv1s

 

46 - Email Order Extras by Unknown

 

47 - Visitor Web Stats by GoWebTools

 

48 - Email Button in Orders.php 1/31/04 by Jesse Labrocca

 

49 - OSC Image Magic V1.13 by Tom Muldoon

 

50 - Mini Images Admin Products V1.2 by Brian Sim

 

51 - Google Position V 1.1 by Jack York

 

52 - Products Multi V2.15 by [email protected], 2003-07-31, updated on 2004-11-09

 

53 - Amend Database from Admin V4.0 by Emmett, and modified by Aaron Hiatt

 

54 - Extra Questions V1.1 Unknown

 

55 - BUY TWO MODULE V2.1a by Total-Inn.de Kai Schulz, on 28th of April 2005

 

56 - Data Base optimizer updated by Jesse Labrocca and original by Emmett

 

57 - XML Exporter, All In One Office 0.0.3 V11.6.2003 by Unknown

 

58 - osCommerce Documentation in Admin V1.0 on June 14, 2005 by Jared Call

 

59 - Quick Deactivate v1.1 for osCommerce 2.2-CVS by Mattice <[email protected]>

 

60 - Store statistics V3.0 by Web 4 Pro

 

61 - Images Directories Change & Creation V.1 by Matt (iiinetworks)

 

62 - Payment Mehtod Fees by Edwin Bekaert, adapted by xaglo 2004

 

63 - Custom META Tags Per Item & Category V1.0 by Randelia

 

64 - HTTP Referer URL In Who's Online V1.2

 

65 - AUTOBACKUP in Admin by GOC66 ([email protected])

 

66 - PCA Product Attributes V1.0 by Unknown

 

67 - Email HTML Order Link Fixed by TCwho

 

68 - InfoBox Anywhere with PHP by Clarocque

 

69 - Throw Em Out - Easy IP blocking system V1.00 by P.Pajukoski ([email protected])

 

70 - Local Delivery v1.2 (Shipping Module Addon) by Zoe Lozada Almodovar, [email protected]

 

71 - Print Order Lables 1.0 by Nicolas - TMSW

 

72 - About Article Manager v1.2b (25 May 04) by Unknown

 

73 - Who's Online Enhancement 1.9.0 by Ed Medvid

 

74 - Freeamount V3.5 updated by Howard van der Burgt (Wheel of Time) Webshop: http://www.wheeloftime.nl

 

75 - Fedex Shipping Module Contribution with Dimensions by Steve Fatula of Fatula Consulting ([email protected])

 

76 - Canada Post Shipping Module with dimensions V3.7 by [email protected] on October 23 2004

 

77 - PopUp Image Info V1.0 by Unknown

 

78 - HTML Bar V3.0 by [email protected]

 

79 - FCK Editor for OSC MS2.2 integration by created by Nick Marques 6 Feb 2005

 

80 - Spider Session Updated List by Unknown

 

CATALOG SIDE

*************

01 - Center Shop CSS 2004/04/11 by Paul Mathot

 

02 - Shop Fixed Width / 21-10-2005 by Martin Raymond

 

03 - MS2_French Pack v0.1 by Gunt

 

04 - Store Pickup v1.2, Originally created by Michael Halvorsen / © 2002 Mike Halvorsen

 

05 - Hide Page Counter Contribution v1.1 Created for osCommerce 2.2 Milestone 2 by John Baker

 

06 - Search box with dropdown category menu v1.0 by PopTheTop Dec 9, 2004

 

07 - ccbyfax v1.2 by Simon Pritchard / 17 June 2003

 

08 - AutoLogon V1.08 2004/11/30 from HMCservices, Marcel van Lieshout

 

09 - Shop by Price Contribution V1.3 by meltus and revised by Ray Chinoy August 10, 2003.

 

10 - loading_time1_0a by linek :)

 

11 - Shopping Cart Box Enhancement 1.2 by Nils Peterssonm, for osCommerce 2.2 Milestone 2, 9/23/2003

 

12 - Site Map v1.1 for OSCommerce 2.2MS1 2003/10/26

 

13 - Reviews in Product Display v2.2 by PopTheTop

 

14 - Manufacturers Image Scroller by ?

 

15 - PURCHASE WITHOUT ACCOUNT v0.90 by Didier Debbaut, November 10, 2004

 

16 - Credit Class/Gift Vouchers/Discount Coupons (Version 5.10) + clickable_gv_email_link + tree view

 

17 - View Cart Text Modification

 

18 - Purchase Orders version 1.3 by Ole Byskov (olby)

 

19 - Add Bullet Images for Categories Infobox v1.0 by Toby Adams

 

20 - Add Boxes to Thumbail Images v1.2 for MS2.2 by Christian Kolos

 

21 - infobox header entire row link V1.2

 

22 - LoginBox v5.21 for osCommerce 2.2 Milestone 2 Modificaitons by Zapisto

 

23 - Human confirmation V 1.2 Created for OsCommerce 2.2 MS2 by Unknown

 

24 - Advanced Search Infobox v1.00 by Acheron

 

25 - Continue Shopping Button in Product Info Page by Juan Ugarte

 

26 - Must Agree to Terms 2.2MS2v1.5.2 by HMCservices, Marcel van Lieshout

 

27 - New Products Icon 1.0 Dec 04, 2004 by Jared Call, Bobby

 

28 - Pollbooth V2.2 by Lewis Hill

 

29 - Customer Updates - Order Comments v1.2 July 08, 2005 by Jared Call

 

30 - Live Support Plus V1.00 PHP-Online v1.4, 2003 by Farhad Malekpour

 

31 - Dynamic DHTML Menu by Craig Harrison + Coolmenu by Marc Zacher

 

32 - Add_customer_details_v1 by Mike karthauser / 27.10.03

 

33 - Order Tracking by [email protected]

 

34 - Ask a product question for MS2 for by Unknown

 

35 - Links Manager for osC(MS2) v1.10 Last Update: 2005-09-09 by Jack_mcs

 

36 - cheapest contribution version 2.0 by Andrew A. Skleznev "Gil-Gallad" 13/dec/2004 update by Ga?tan Hermann

 

37 - OSC-Support Ticket System V1.1a 2003 by Henri Schmidhuber IN-Solution.de and Updated by Farrukh Saeed

 

38 - Print Order Receipt v1.4 by [email protected]

 

39 - Search Results with Highlight v1.1 by Robert Hellemans

 

40 - Report Broken Link V1.0 by Wes Peery

 

41 - Footer IP V1.2 by me

 

42 - Previous/Next through categories products by Nirvana, Yoja, Joachim de Boer, Modif by Linda McGrath 16-08-2005

 

43 - PHP guestbook (GBook) V1.33 by Klemen Stirn on 9th July 2004

 

44 - whos_online V1.1 for catalog users by MagicBrain, on 2003

 

45 - Printable Catalog V 35 Sept 11-2005 by Tom St.Croix

 

46 - Similar Products Box, v 1.0.2 2004/09/13 by Jim Keebaugh

 

47 - Currency Converter v.1.0 by J.D. Fitch, Based in part on a version by Saman Rahmanian

 

48 - Country-State Selector 1.3.1 by Steve Lionel ("stevel")

 

49 - Display Random Daily Product Rev 1.0 by Trusten

 

50 - Javascript Infobox V1.1a by Chemo

 

51 - Product Listing Select Update V1.1 for MS2 by Randy Newman "ugottasalsa"

 

52 - Best Sellers v1.4 by Amitai Sasson on 13 March 2004

 

53 - Make An Offer v3.0 by by Howard van der Burgt

 

54 - Related Products V3.0 by Daniel Bahna, on 30/03/2005

 

55 - Downloads Controller V5.0 by Linda McGrath ---- STILL ONE ERROR TO FIND *******************

 

56 - FAQ system V2.1a, by adgrafics.com on 22.02.2005, Updated by webandpepper.ch

 

57 - OSC MS2 Affiliate V2.5a by http://sourceforge.net/projects/oscaffiliate

 

58 - Download Files Infobox and page V1.0 by Unknown

 

59 - Specials Page Displayed Like New Products Page by Mikey J ( as .lst file because is not activated)

 

60 - Easy Call for Price V1.0 by Tim Elam (aka Bigredman74)

 

61 - BANNER AS DEFAULT PAGE TITLE V1.0 by Angela Nishimura

 

62 - Allow flash banners Ms2 by ManMAchine on 10/03/2005

 

63 - Banner-ad-in-a-box V1.1 by Aubrey Kilian <[email protected]>

 

64 - Loginbox V5.4 in header or index by Astrid van Zanten-Schell

 

65 - Newsletter Unsubscribe V1.2 by Christopher Bradley (www.wizardsandwars.com) on 2004/04/29

 

66 - Products Properties V2.01 by Unknown

 

67 - Price Match Info Box V1.0 by David Allen (aka sosidge) email/Paypal [email protected]

 

68 - Best Selling Products Page by Mikey J at [email protected] http://www.getmemusic.com

 

69 - Custom Computer Creator V9.3 by Unknown

Posted

As of now the problem I suspect resides in this part of code from AUTOLOGON contribution or in the modules autologon.php that I did not went trhough yet:

 

// HMCS: Begin Autologon ******************************************************************

 

if (ALLOW_AUTOLOGON == 'true') { // Is Autologon enabled?

if (basename($PHP_SELF) != FILENAME_LOGIN) { // yes

if (!tep_session_is_registered('customer_id')) {

include('includes/modules/autologon.php');

}

}

} else {

setcookie("email_address", "", time() - 3600, $cookie_path); //no, delete email_address cookie

setcookie("password", "", time() - 3600, $cookie_path); //no, delete password cookie

}

 

// HMCS: End Autologon ******************************************************************

Posted

I nedd help from a PHP coder !

 

After stripping the index.php from the ?application top? require, my HTTPS redirect stopped. So I re-uploaded index,php

And went to ?application top.php?. After stripping the autologon code from application top, again my redirect seemed to stop.

 

 

Code I have stripped in application top:

 

// HMCS: Begin Autologon ******************************************************************

 

if (ALLOW_AUTOLOGON == 'true') { // Is Autologon enabled?

if (basename($PHP_SELF) != FILENAME_LOGIN) { // yes

if (!tep_session_is_registered('customer_id')) {

include('includes/modules/autologon.php');

}

}

} else {

setcookie("email_address", "", time() - 3600, $cookie_path); //no, delete email_address cookie

setcookie("password", "", time() - 3600, $cookie_path); //no, delete password cookie

}

 

// HMCS: End Autologon ******************************************************************

So, from there I thought that no problem resided in the above code. But it was calling for 'includes/modules/autologon.php'. Went in this file

and found this particular part of code that seemed suspect for me! Since I am not a coder but more of a designer/wise guy could you help me and

tell me if you see any problems with the below code from AUTOLOGON.php

 

Suspicious code in red

 

// HMCS: End Autologon ******************************************************************

 

 

setcookie('email_address', $email_address, time()+ (365 * 24 * 3600), $cookie_path, '', ((getenv('HTTPS') == 'on') ? 1 : 0));

setcookie('password', $check_customer['customers_password'], time()+ (365 * 24 * 3600), $cookie_path, '', ((getenv('HTTPS') == 'on') ? 1 : 0));

$date_now = date('Y-m-d');

$qr = "update " . TABLE_CUSTOMERS_INFO . " set customers_info_date_of_last_logon = now(), customers_info_number_of_logons = customers_info_number_of_logons+1 where customers_info_id = '" . $customer_id . "'";

tep_db_query($qr);

$cart->restore_contents(); // restore cart contents

}

}

} else {

if($autologon_executed != 'true'){

$autologon_page = '<html><head><meta http-equiv="Refresh" content="0;URL=' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . '"></head><body></body></html>';

$autologon_link = ((getenv('HTTPS') == 'on') ? 'https://' : 'http://') . $SERVER_NAME . $REQUEST_URI . (strpos($REQUEST_URI, "?") ? '&' : '?') . SID;

$autologon_executed = 'true'; if(!tep_session_is_registered('autologon_link'))

tep_session_register('autologon_link');

if(!tep_session_is_registered('autologon_executed'))

tep_session_register('autologon_executed');

tep_session_close();

exit($autologon_page);

}

}

 

// HMCS: End Autologon ******************************************************************

Archived

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

×
×
  • Create New...