Guest Posted April 11, 2005 Posted April 11, 2005 I am sure those links never retained the session id, the cart contents probably was retained because the client accepted cookies and the session was retained there. Now, you have a cookie domain problem which means that no-one accepts them and then the session dissapears if it is not passed in the url. So my best guess is that someone changed something in the cookie settings which causes them to not be accepted anymore. <{POST_SNAPBACK}> So where do I look to find what's been changed? I'm the only one with access to this, and I really don't recall changing anything: everything in the admin area is as it always was - I left everything relating to sessions/cookies as it was. Is there another file I need to check?
Guest Posted April 11, 2005 Posted April 11, 2005 1. Your site has no ssl cert configured, either shared or full, so you can set Force Cookie Use to 'True' - but this will only work with visitors that accept cookies. 2. You can use html in any php page, so the pages don't need to have an html file extension - php pages just need to have opening and closing php tags. 3. I just do not understand why people go to all the hassle of trying to get template systems to work - when it is much easier to set up your own basic template system: a. Take a root level page like privacy.php and ave it under another name e.g. template.php. b.. When you wish to create another page, open template.php and select 'Save As' and save it as newname.php. c. Where it says <td class="main"><?php echo TEXT_MAIN; ?></td> change it to <td class="main"><?php include ('newname.html'); ?></td> (d). Where it says: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRIVACY); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_PRIVACY)); delete this: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_NEWNAME); change this to: $breadcrumb->add('newname link text'); (e). Add newname.php to includes/filenames (f). Add html content for that page to newname.html, and add links to the page somewhere on your site (your choice). Repeat this every time you want to add a page. Vger <{POST_SNAPBACK}> I have ssl installed on the checkout pages. Thanks for the tip about the template - I'll be filing that one :thumbsup: Great site, by the way - great to see an oscommerce site that doesn't look like an oscommerce site :)
Guest Posted April 16, 2005 Posted April 16, 2005 Try the following: <a href="<?php tep_href_link('FILENAME_DEFAULT', 'cPath=56', 'NONSSL') ?>">Favour Boxes</a> :-" Matti <{POST_SNAPBACK}> Better yet...try this correct code: <a href="<?php echo tep_href_link(FILENAME_DEFAULT, 'cPath=56', 'NONSSL'); ?>">Favour Boxes</a>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.