Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 09-05-2004 08:39:26

ghost1157
Member
Registered: 02-19-2003
Posts: 93

Can't Checkout


During checkout I am seeing an error in the html code at the bottom of the sub total review page :

<!-- DISPLAY ERROR: ELEMENT N DOES NOT EXIST -->

And there is no button to continue the checkout process , obviously some element appears to be missing but what element ?


Offline

 

#2 09-05-2004 11:55:27

superhero2000
Member
From: Harrisburg, PA
Registered: 03-26-2003
Posts: 1025
Website

Re: Can't Checkout

How you made any recent modifications to any of the elements or the ste_chkout.pl file?


Vinh
VQC Designs, LLC


Offline

 

#3 09-05-2004 18:03:16

ghost1157
Member
Registered: 02-19-2003
Posts: 93

Re: Can't Checkout

No , no mods to any of the actual script files but I have edited the site html layout but thats it .

Offline

 

#4 09-07-2004 05:24:28

ghost1157
Member
Registered: 02-19-2003
Posts: 93

Re: Can't Checkout



Anybody ? C'mon , my store is un-usable at the moment !


Offline

 

#5 09-07-2004 09:38:57

superhero2000
Member
From: Harrisburg, PA
Registered: 03-26-2003
Posts: 1025
Website

Re: Can't Checkout

How about posting a url so we can take a look?


Vinh
VQC Designs, LLC


Offline

 

#6 09-07-2004 09:45:45

ghost1157
Member
Registered: 02-19-2003
Posts: 93

Re: Can't Checkout


SORRY !
  wwwrapidcraft.com

Offline

 

#7 09-07-2004 09:53:36

ghost1157
Member
Registered: 02-19-2003
Posts: 93

Re: Can't Checkout



If you try to make a purchase and go completely through the purchase , at the last page where you would be linked to the Paypal page , there is no submit button and if you do a view source you can see in the html there is an element issue :

<!-- DISPLAY ERROR: ELEMENT N DOES NOT EXIST --><p>

Offline

 

#8 09-07-2004 19:08:58

ghost1157
Member
Registered: 02-19-2003
Posts: 93

Re: Can't Checkout



Can anybody please tell me what Element "N" is ? 

Offline

 

#9 09-07-2004 19:22:56

TheThinker
Member
From: Salt Lake City, Utah
Registered: 06-16-2004
Posts: 535
Website

Re: Can't Checkout

I believe your site has been modified or has become corrupted.  If you want, send me a .zip file with your elements directory, and I'll do a quick delta between them and a known good site.  There is no element called "N".  I believe all elements should start with "ste_" or "adm_".  My working theory is that one of your elements, or the PERL code that calls an element, has been changed to refer to an element that doesn't exist.

Other ideas: Your PERL could have become modified, or one of your tables.  Some of the elements (or at least the names) are stored in a database.

Has you site ever worked properly?  Is this a new problem for an existing site??  Can you save this site, and then restore a backup to the last working version?

Also, if you are able to modify the PERL source to CCP, you can narrow down the scope of the bug by modifying display.pl to emit extra HTML comments indicating the element name, so you can see what major element is attempting to call N.  If the problem is in the PERL source, then you could step thru the workflows for the checkout and gateway code to see where element "N" is being called.

Quick test: just search your PERL code for a reference to:

&display_print('N');

and see if you have a match.  There shouldn't be any.

Hope this helps.


Regards,
Eric

Offline

 

#10 09-07-2004 20:14:43

ghost1157
Member
Registered: 02-19-2003
Posts: 93

Re: Can't Checkout



Okay , I found it , turned out my gateway.csv was corrupted and had a "N" ( I suppose for null ? )  in the id field for the gateway csv.  The Id field chould have the ste_payment_method ( substitute payment_ method with paypal , clickbank , etc. ) So the script was looking for element "N" because thats what the gateway said the payment method was .

An interesting way to track it down is to try to convert from CSV to MySql , if the CSV file is corrupted , the MySql conversion will error , then replace the file you are trying to convert with a fresh copy and like magic it will allow the conversion and the problem you originally were having goes away !  This is not magic cure for every issue but really helps narrow down a corrupt file when you don't know where to start !

 

Offline

 

Board footer