Forums / General Questions / Used to work, now I'm getting "Page Not Found."

Used to work, now I'm getting "Page Not Found."

Locked

Views: 619

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
27 Aug 2010, 8:49 PM
#1
mnjones avatar

mnjones

New Zenner

Join Date:
Jul 2010
Posts:
10
Plugin Contributions:
0

Used to work, now I'm getting "Page Not Found."

Version 1.3.9d
Linux--Hostgator

My cart was working just yesterday. This morning I set up my product as a download, pdf, which seemed to go well.

The radio button displayed in the cart, and all was well.

I saved create_account.php to another directory just in case. Then I edited the create_account.php file because I don't give discounts or anything. I removed all of the code that offered discounts.

I went out and put my product in the cart, filled in the form to create a new account, and clicked the submit button. I got the "Page Not Found" error.

So, I went back to the saved, unedited create_account.php, put it back in the english directory, and tried again.

I still get the "Page not found" error.

I know that somewhere the path information is probably messed up, but I don't know where or how. I didn't mess with directory paths.

Any ideas?

27 Aug 2010, 10:05 PM
#2
mnjones avatar

mnjones

New Zenner

Join Date:
Jul 2010
Posts:
10
Plugin Contributions:
0

Re: Used to work, now I'm getting "Page Not Found."

More info:

I am getting the #500 page not found message.

I logged in as an existing customer, and it went to the order confirmation page just fine. I know this is a simple fix. I just don't know where to go to fix it. Please help!

27 Aug 2010, 10:09 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Used to work, now I'm getting "Page Not Found."

Backups are handy. Failing that, compare against original files.
Concept here: http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues

This may also help, depending on the source of your errors: https://www.zen-cart.com/tutorials/index.php?article=82

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Aug 2010, 12:48 AM
#4
mnjones avatar

mnjones

New Zenner

Join Date:
Jul 2010
Posts:
10
Plugin Contributions:
0

Re: Used to work, now I'm getting "Page Not Found."

Thanks for the help. I didn't know about the log files.

The problem was that when I copied the original create_account file back into /english/, I just renamed the messed up version to createch_account (ch for changed), thinking it would be there if I needed to compare or something.

ZenCart, rather than use the original that I put back in the folder, continued to use the one I renamed, even though the name was changed!!

The error log said, "PHP Parse error: syntax error, unexpected T_STRING in /home/mnjones/public_html/shop/includes/languages/english/create_accountch.php on line 30"

Amazing.

Thanks again, mnjones