Re: Contact Us give "Page not Found" after sent message, but ONLY in Firefox
What happens when you revert to CLASSIC template?
Re: Contact Us give "Page not Found" after sent message, but ONLY in Firefox
Quote:
Originally Posted by
schoolboy
What happens when you revert to CLASSIC template?
I have the same problem
Re: Contact Us give "Page not Found" after sent message, but ONLY in Firefox
Does this happen only on your computer, or on 10 others you've tested it on?
Re: Contact Us give "Page not Found" after sent message, but ONLY in Firefox
I have not tested it on another computer but it came to my attention from a customer and then I tested it on my computer. So it has happened on at least 2 computers.
Re: Contact Us give "Page not Found" after sent message, but ONLY in Firefox
Quite puzzling.
Zen Cart does a very simple redirect. Something it does on most pages.
You could try turning off the "missing page check" feature in Admin->Configuration->My Store
Then trigger the problem and see what the URL becomes instead of the main_page=page_not_found.
Also check your debug logs as per http://www.zen-cart.com/content.php?124-blank-page
When you've fixed the problem, put the Missing-page-check setting back to page-not-found, else customers will see information they ought not to.
Re: Contact Us give "Page not Found" after sent message, but ONLY in Firefox
I changed that setting to Off and it still gave me the same Page not Found (http://www.toolsforchrist.com/index....page_not_found).
I also checked the log files and there is nothing in there.
Re: Contact Us give "Page not Found" after sent message, but ONLY in Firefox
Quote:
Originally Posted by
coreyalderin
OK. I changed everything in the the tpl_contact_us_default.php and contact_us.php files back to the template contents.
Hmmm, I hope you realise that "changing everything back" is NOT the same as 'restoring the original files', don't you?
Unlike the other latest suggestions and ideas, I'm not happy to speculate on other possibilities until I'm 100% certain you are working with the *original* zencart files. Your comments tell me that this still isn't the case.
I'm theorising this simple scenario:
Things were working until you changed something in one or more of these files. The change itself may be seemingly harmless, but what if in doing this you *accidentally* deleted a delimiter character, or added a blank line to the end of the file, introduced an illegal character or something very similar, and this has caused the problem.
Our suggestion to restore the original would/should get you back to where things were working again, but, instead of this, you have opted to re-edit the same file(s) that caused the problem. Sure you may well have restored the text you changed, but what about the other things? Did you also remove that blank line at the end of the file? Did you restore the delimiter that you accidently deleted?
I/we/you can't be sure of any of these things, so before any further speculation, RESTORE FROM THE ORIGINAL FILES, and THEN let us know if the problem still exists or not.
Quote:
Originally Posted by
coreyalderin
is there a place I can find what the original contents are so I can compare?
I take this as further acknowledgement that you never actually restored the original files, and have simply been editing and re-editing the same ones.
The original files can be extracted from the zencart distribution files. Make sure you use the same version numbers though (to avoid possible compatibility issues).
Cheers
Rod
Re: Contact Us give "Page not Found" after sent message, but ONLY in Firefox
I copied and pasted the exact contents of the template files. The only thing that I am not 100% sure of is the header_php.php file since it is still in the template folder and there is a small chance that I edited it without moving it into my custom folder. That is why I was asking about where to find the original contents so I could make sure it was the same. I did a search of "zencart distribution files" and could not find anything. Can you provide a link of where these files are?
Thanks for all the help
Corey
Re: Contact Us give "Page not Found" after sent message, but ONLY in Firefox
Re: Contact Us give "Page not Found" after sent message, but ONLY in Firefox
Quote:
Originally Posted by
coreyalderin
I copied and pasted the exact contents of the template files.
Again, this is NOT the same thing as restoring from the original files. Not only that, it is actually more difficult to do, which makes me wonder where you are coming from and what the heck you are *really* doing.
This is especially true since you then went on to ask where to find the original files, I can't help but wonder exactly where you copied from if you don't have the originals?
Quote:
Originally Posted by
coreyalderin
The only thing that I am not 100% sure of is the header_php
This is another of the files you should have restored from the originals... This was clearly spelt out way back in post#7 on Dec 21st.
We are now almost a week later, and we haven't made any advances in solving this problem at all. For some reason you wish to keep fighting what you are being told to do, and submitting your own ideas to us. This is fruitless, if you are so confident what you have, or haven't done, you should be just as confident at solving your own problem and wouldn't be asking for help. The fact is, you don't know with 100% certainty what you have or haven't done, so therefore WE can't be certain of anything you say you did or didn't do either.
In order to progress we MUST ALL BE SHARING COMMON GROUND. We cannot trust your 'cut n paste methods' because we have no way of assuring ourselves you didn't cut one line too short, or added one line to many. Surely this must make sense to you? I'm not saying you cut n paste *is* invalid, just that WE have no way to be sure, and for our own sanity we need to assume human error is the cause of your problems, because we know the original files don't have a problem.
Anyway, to repeat post#7 ... The following 3 files ALL need to be restored to their original state, which means COPY the originals, don't try to recreate them. It is a pointless waste of time.
--------------------------------------------------------------------------------------
/includes/modules/pages/contact_us/header_php.php -- this does the processing and tells it to redirect to main_page=contact_us&action=success
/includes/languages/english/contact_us.php
/includes/templates/name_of_the_template/templates/tpl_contact_us_default.php
-----------------------------------------------------------------------------------------------
WHEN you restore these, then IF you still have a problem, THEN we can proceed onto far less likely causes (not that I can think of anything offhand).
Not sure if you modified a file or not? Restore it anyway. It is the only way to eliminate the doubt and ensure we all have the same code. If you are unwilling to do this, then I, and I'm sure several others will be equally unwilling to try to help you further... Again, you need to work with us, not against us.
Cheers
Rod