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.
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
How you made any recent modifications to any of the elements or the ste_chkout.pl file?
Offline
No , no mods to any of the actual script files but I have edited the site html layout but thats it .
Offline
Anybody ? C'mon , my store is un-usable at the moment !
Offline
How about posting a url so we can take a look?
Offline
SORRY !
wwwrapidcraft.com
Offline
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
Can anybody please tell me what Element "N" is ?
Offline
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.
Offline
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