If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Customization from the Admin / Error on customer registration goes to page not found

Error on customer registration goes to page not found

Started by lukeengland12 on 27 Nov 2012, 12:26 PM · Views: 1,612

Results 1 to 15 of 15
27 Nov 2012, 12:26 PM
#1
lukeengland12 avatar

lukeengland12

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Error on customer registration goes to page not found

im currently trying to repair our customer create account when i go to submit the details it goes to a page not found. i have replaced all files but with no luck im hoping some body can help the link is

https://www.fmc-shop.com

accounts already create on my website can already login

A 21 year old Messing around with e-commerce.

https://www.frome-model-centre.com

27 Nov 2012, 1:33 PM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Error on customer registration goes to page not found

lukeengland12:

im currently trying to repair our customer create account when i go to submit the details it goes to a page not found.

More info needed.

When did this problem start?
What did you change/modify/update shortly before the problem started?

What version of ZenCart are you using?

Do you have any other useful information. ?

lukeengland12:

i have replaced all files

Really? Call me cynical, but I find this very hard to believe.

Meanwhile, if I were you, I'd be checking your cache/session settings... (just a gut feeling)

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

27 Nov 2012, 1:49 PM
#3
lukeengland12 avatar

lukeengland12

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Error on customer registration goes to page not found

i have also checked my cache and it isnt reporting any errors

A 21 year old Messing around with e-commerce.

https://www.frome-model-centre.com

27 Nov 2012, 1:54 PM
#4
lukeengland12 avatar

lukeengland12

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Error on customer registration goes to page not found

i am currently using 1.3.8a i have only update the files i know such as create_account.php etc i dont know what other files are linked to the account i can still loging as a customer but the customer registration when submited goes to page not found so which page can it not find.

A 21 year old Messing around with e-commerce.

https://www.frome-model-centre.com

27 Nov 2012, 2:04 PM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Error on customer registration goes to page not found

I don't know if this has anything to do with your problem (besides the fact that you're on an ancient version of Zen Cart), but ...

Looking at the HTML source of your login page, I see that both the create_account and login forms' return URL contains a zenid= parameter and there's no hidden field associated with either form that contains a securityToken. Since you said that customers could previously create an account, did you perhaps change something in your database recently regarding sessions? Did your hosting company update some of their session-related configuration?

Like I said, I'm shooting in the dark on this one but one difference between your site (that doesn't work) and mine (that does) is the addition of the zenid and exclusion of the securityToken.

27 Nov 2012, 2:20 PM
#6
lukeengland12 avatar

lukeengland12

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Error on customer registration goes to page not found

hi i have recently moved servers so would this cause an issue with my sessions table ?

A 21 year old Messing around with e-commerce.

https://www.frome-model-centre.com

27 Nov 2012, 2:22 PM
#7
lukeengland12 avatar

lukeengland12

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Error on customer registration goes to page not found

lat9:

I don't know if this has anything to do with your problem (besides the fact that you're on an ancient version of Zen Cart), but ...

Looking at the HTML source of your login page, I see that both the create_account and login forms' return URL contains a zenid= parameter and there's no hidden field associated with either form that contains a securityToken. Since you said that customers could previously create an account, did you perhaps change something in your database recently regarding sessions? Did your hosting company update some of their session-related configuration?

Like I said, I'm shooting in the dark on this one but one difference between your site (that doesn't work) and mine (that does) is the addition of the zenid and exclusion of the securityToken.

you wouldnt tell me where you have found these errors

A 21 year old Messing around with e-commerce.

https://www.frome-model-centre.com

27 Nov 2012, 2:38 PM
#8
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Error on customer registration goes to page not found

When viewing your login page using FireFox, I pressed Ctrl+U to display the HTML source for the page. I then scrolled down to find the first <form statement and noticed that all the return URLs included a zenid and that there was no <input type="hidden" name="securityToken" ... /> ... although, come to think about it, I'm not sure when the securityToken was introduced; it might have been v1.3.9.

What happens if you revert to the "classic" template? Can a customer create an account then? If so, then there's something in your customizations that is causing the page_not_found. If not, then it's something in the common/base code and/or your configuration.

27 Nov 2012, 3:01 PM
#9
lukeengland12 avatar

lukeengland12

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Error on customer registration goes to page not found

i have had no luck with swapping templates still with the same issue and i see what u mean about this token error i have also notice that the path was incorrect for my sessions config in my admin which i have now changed any ideas on how to insert this missing code

A 21 year old Messing around with e-commerce.

https://www.frome-model-centre.com

27 Nov 2012, 3:10 PM
#10
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Error on customer registration goes to page not found

Just looking at the 1.3.8a codebase; the securityToken code is there but is missing from your forms. Are you still using COWOA? If not, you could restore the files that that add-on changed to those from the core. If so, you could try re-WinMergeing your current template code with that provided by the Zen Cart core (i.e. template_default).

You really need to upgrade; 1.3.8a has known vulnerabilities and is a hacking session waiting to happen.

27 Nov 2012, 4:08 PM
#11
lukeengland12 avatar

lukeengland12

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Error on customer registration goes to page not found

thank you for your continued support what files would you recomend changing

A 21 year old Messing around with e-commerce.

https://www.frome-model-centre.com

27 Nov 2012, 4:37 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Error on customer registration goes to page not found

what files would you recomend changing
Install version 1.5.1 fresh

Zen-Venom Get Bitten

27 Nov 2012, 5:10 PM
#13
lukeengland12 avatar

lukeengland12

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Error on customer registration goes to page not found

kobra:

Install version 1.5.1 fresh

hi korba im currently workin on a new 1.5 addition but as its not currently ready n this site has been heavly modfied id loved to upgrade it to 1.5 so if you could give me a list of the account registration files that would brillant maybe for now i can patch it to work over the christmas period i think the issue is where i have just moved the site from one server to another i expected it to work but somethings causing and issue by any chance it wouldnt be permission settings that are causing these problems ?

A 21 year old Messing around with e-commerce.

https://www.frome-model-centre.com

27 Nov 2012, 7:12 PM
#14
lukeengland12 avatar

lukeengland12

New Zenner

Join Date:
Dec 2008
Posts:
44
Plugin Contributions:
0

Re: Error on customer registration goes to page not found

issue now fixed thanks for everyones help

A 21 year old Messing around with e-commerce.

https://www.frome-model-centre.com

28 Nov 2012, 4:19 AM
#15
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Error on customer registration goes to page not found

lukeengland12:

issue now fixed thanks for everyones help

In cases like this, it can be very helpful to others if you could let us know what you needed to do to fix it.

Not to mention the fact that I'm curious as to whether my gut feeling was close or way off the mark :)

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.