Print Page | Close Window

Customer Logout Problem

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Getting Started
Forum Description: Installing, activating, and getting started with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=2720
Printed Date: 25-June-2024 at 11:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Customer Logout Problem
Posted By: nfranklin
Subject: Customer Logout Problem
Date Posted: 07-May-2009 at 3:51am
I am almost setup on my new site, and while doing some customer testing I have a error message when I try to logoff from the pc/custpref.asp screen. The log off is directed to PC/CustLO.asp, which is in the server pc directory, after I double checked, and when I click on it I get the following message from this link. pc/default.asp?action=clear

Page Not Found

The page you tried to access does not exist on this server. This page may not exist due to the following reasons:

  1. You are the owner of this web site and you have not uploaded (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, http://ftphelp.secureserver.net/ftphelp.htm - click here for FTP Upload Information .

  2. The URL that you have entered in your browser is incorrect. Please re-enter the URL and try again.

  3. The Link that you clicked on incorrectly points to this page. Please contact the owner of this web site to inform them of this situation.

Am I missing something somewhere?




Replies:
Posted By: Hamish
Date Posted: 07-May-2009 at 4:20am
Hi,
  It looks like some files/a file  failed to upload. Try re-uploading the files, or use a directory comparison tool in some FTP software to identify the missing file(s).


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Greg Dinger
Date Posted: 07-May-2009 at 9:23am
Did you transfer DNS yet?  Is your domain pointing to the server?  Might also be that you are addressing a URL that won't exist until DNS transfers?

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: nfranklin
Date Posted: 07-May-2009 at 1:13pm

I checked the PC & Includes folders on this check everything is there. This is what is in the custLO.asp file.

<%
'This file is part of ProductCart, an ecommerce application developed and sold by Early Impact LLC. ProductCart, its source code, the ProductCart name and logo are property of Early Impact, LLC. Copyright 2001-2003. All rights reserved. You are not allowed to use, alter, distribute and/or resell any parts of ProductCart's source code without the written consent of Early Impact. To contact Early Impact, please visit http://www.earlyimpact.com - www.earlyimpact.com .
%>
<% response.Buffer=true %>
<!--#include file="../includes/settings.asp"-->
<!--#include file="../includes/stringfunctions.asp"-->
<!--#include file="../includes/storeconstants.asp"-->
<!--#include file="../includes/productcartFolder.asp"-->
<%
if session("admin")<>0 then
  session("idcustomer")=""
  session("pcStrCustName")=""
  session("customerCategory")=""
  session("customerType")=""
 else
  Session.Abandon
 end if

' clear cart data
dim pcCartArray2(100,35)
Session("pcCartSession")=pcCartArray2
Session("pcCartIndex")=Cint(0)

Dim tempURL
tempURL=replace((scStoreURL&"/"&scPcFolder&"/pc/default.asp"),"//","/")
tempURL=replace(tempURL,"//","/")
tempURL=replace(tempURL,"https:/","https://")
tempURL=replace(tempURL,"http:/","http://")
response.redirect tempURL & "?action=clear"
%>



Posted By: Greg Dinger
Date Posted: 07-May-2009 at 1:22pm
I'd suggest you file a support ticket.  Your answer did not address the question I asked.  Without a URL, and without knowing the answers to the above, it's hard to imagine what the issue may be.
 
https://www.earlyimpact.com/productcart/support/support_form.asp - https://www.earlyimpact.com/productcart/support/support_form.asp


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: nfranklin
Date Posted: 07-May-2009 at 1:38pm
I guess I will have to wait until after this weekend on confirmation of the DNS transfer. The domain was registered with another hosting company just under 60 days ago. And due to transfer rules, domains can not be transfered for 60 days from date of purchase. I did point the domian to the server about a week ago, and every thing seems to work fine, until I tried the logoff function. I  will have to wait until after this weekend to confirm if any hidden files are activated with the DNS transfer. I thought everything would be ok with just pointing the domain to the server.


Posted By: Matt
Date Posted: 07-May-2009 at 1:38pm
Did you change the name of the ProductCart folder?  If so you need to update the variable inside the file "includes/productcartFolder.asp".  Open the file up in a text editor such as notepad, edit the value, save and upload to your server.


Posted By: nfranklin
Date Posted: 07-May-2009 at 2:08pm
Opps... I made the change, but it still points to /productcart/pc/default.asp?action=clear, instead of /store/pc/. I guess it would be better if I just re-installed the software so everything points to the right folders.Embarrassed


Posted By: Greg Dinger
Date Posted: 07-May-2009 at 2:13pm
Before you go through the drill of re-installing, try just editing the file Matt referred to.  Change this:
private const scPcFolder="productcart"
 
to this:
private const scPcFolder="store"
 
See if that resolves your issue.  Otherwise, might you post a link?


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: nfranklin
Date Posted: 07-May-2009 at 5:04pm
I tried to rename the folder file, but when I reloaded the Includes and PC folders I got a database error problem. So I just deleted and reinstalled all the files, tried the customer log off again, and everything works normally.
 
Thanks guys for your help.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net