Forums / General Questions / FEC Create New Account in Login.php no longer working for me

FEC Create New Account in Login.php no longer working for me

Results 1 to 20 of 36
20 Mar 2013, 00:30
#1
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

FEC Create New Account in Login.php no longer working for me

On the site that i'm working on, when going to check out, the New Customer account form is no longer working. when entering in all the required form data and pressing submit, the user is presented with a list of validation errors, stating the fields were not filled out, when in fact they were.

we've installed several plugins at this point so I don't even know where to begin.
UPSXML Dimension, FEC etc.

does this sounds like a familiar or typical problem to anyone?

can someone recommend where i might start to track down the problem?
20 Mar 2013, 02:43
#2
kobra avatar

kobra

Black Belt

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

Re: FEC Create New Account in Login.php no longer working for me

Check the logs folder for errors
20 Mar 2013, 16:08
#3
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

Re: FEC Create New Account in Login.php no longer working for me

thanks Kobra, i did that. it's some kind of logic error
20 Mar 2013, 19:20
#4
kobra avatar

kobra

Black Belt

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

Re: FEC Create New Account in Login.php no longer working for me

it's some kind of logic error

Post the error here
20 Mar 2013, 23:09
#5
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

Re: FEC Create New Account in Login.php no longer working for me

Well like i said, it's not throwing an error per se. Once submitted it's displays a list of validation errors on the page.

i've included a screensnap of the page. probably not important but i did notice the State field comes back empty even if the user puts data there.
Also i commented out all the code out in the file jquery_form_check.php but i still got the very same results.
Errors are....

Please choose a salutation.
Is your first name correct? Our system requires a minimum of 2 characters. Please try again.
etc. etc.

thanks for reading my postAttachment 12217
21 Mar 2013, 04:34
#6
kobra avatar

kobra

Black Belt

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

Re: FEC Create New Account in Login.php no longer working for me

Post your /logs debug error here
21 Mar 2013, 19:03
#7
wildthyme avatar

wildthyme

New Zenner

Join Date:
May 2012
Posts:
18
Plugin Contributions:
0

Re: FEC Create New Account in Login.php no longer working for me

I am having the same problem when customers attempt to create an account and do not check the "Same Billing and Shipping Address" box - it causes the errors noted in the above post to pop up.

I have Zen Cart 1.5 with a customized template from Pica-Flor. I have FEC, Captcha, etc installed. We had this problem about a month ago and Anne (Pica-Flor) was able to fix it but I am not sure if I tested it without checking the SBSA button.

I contacted my Hosting site and no errors show up in their log. I checked my cache folder and I don't see any errors. I'm fairly new to Zen Cart and just learning so I needs me some help, please :)
21 Mar 2013, 23:12
#8
kobra avatar

kobra

Black Belt

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

Re: FEC Create New Account in Login.php no longer working for me

WildThyme,

Switch to the classic template and see if it still does this
If not, then you have narrowed it to some file in your template structure
22 Mar 2013, 02:01
#9
wildthyme avatar

wildthyme

New Zenner

Join Date:
May 2012
Posts:
18
Plugin Contributions:
0

Re: FEC Create New Account in Login.php no longer working for me

kobra:

WildThyme,

Switch to the classic template and see if it still does this
If not, then you have narrowed it to some file in your template structure


I tried what you suggested and clicked on New Customer Sign-Up and it did nothing. It just refreshed the screen. Hmmmm....Now what?
22 Mar 2013, 03:07
#10
kobra avatar

kobra

Black Belt

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

Re: FEC Create New Account in Login.php no longer working for me

WildThyme,
I tried what you suggested and clicked on New Customer Sign-Up and it did nothing. It just refreshed the screen

Check your /logs folder for mydebug files
Your core files must be corrupt you can reload them from a fresh distribution of the same version
The /includes folder
22 Mar 2013, 03:38
#11
wildthyme avatar

wildthyme

New Zenner

Join Date:
May 2012
Posts:
18
Plugin Contributions:
0

Re: FEC Create New Account in Login.php no longer working for me

kobra:

WildThyme,

Check your /logs folder for mydebug files
Your core files must be corrupt you can reload them from a fresh distribution of the same version
The /includes folder


Okay...I'm new to this so could you rephrase this in simpler terms. Where do I check my /logs folder....and what does reloading from a fresh distribution mean? Also ...what does /incudes folder [/quote] mean?
22 Mar 2013, 04:00
#12
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

Re: FEC Create New Account in Login.php no longer working for me

in my situation no errors were being generated and put into the log file
22 Mar 2013, 04:32
#13
wildthyme avatar

wildthyme

New Zenner

Join Date:
May 2012
Posts:
18
Plugin Contributions:
0

Re: FEC Create New Account in Login.php no longer working for me

I'm guessing the same is true in my situation. I think it may be related to FEC.
22 Mar 2013, 04:58
#14
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

Re: FEC Create New Account in Login.php no longer working for me

that was i thinking. there are like 160 files in that plugin. i don't know where to begin troubleshooting.
22 Mar 2013, 17:10
#15
wildthyme avatar

wildthyme

New Zenner

Join Date:
May 2012
Posts:
18
Plugin Contributions:
0

Re: FEC Create New Account in Login.php no longer working for me

Okay - I checked the cache file and found this error:
[21-Mar-2013 23:08:41] PHP Fatal error: Call to a member function RecordCount() on a non-object in /home/wildthym/public_html/catalog/includes/modules/14890/create_account.php on line 395

So checked line 395 and this is what I found:
$found_exact_iso_match_shipping = ($zone->RecordCount() == 1);

Actually line 394-399 reads:

//look for an exact match on zone ISO code
$found_exact_iso_match_shipping = ($zone->RecordCount() == 1);
if ($zone_shipping->RecordCount() > 1) {
while (!$zone_shipping->EOF && !$found_exact_iso_match_shipping) {
if (strtoupper($zone->fields['zone_code']) == strtoupper($state_shipping) ) {
$found_exact_iso_match_shipping = true;

Not sure what to do next. Thanks!
22 Mar 2013, 17:18
#16
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

Re: FEC Create New Account in Login.php no longer working for me

good job!, will try to TS it on my end too.
23 Mar 2013, 16:12
#17
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

Re: FEC Create New Account in Login.php no longer working for me

WildThyme, please let me know if you get this solved. i keep checking my error logs but nothing is being recorded there re: the login. it's confusing, my error log shows UPS XML output stuff which isn't even an error...

so tired of this.
23 Mar 2013, 16:46
#18
wildthyme avatar

wildthyme

New Zenner

Join Date:
May 2012
Posts:
18
Plugin Contributions:
0

Re: FEC Create New Account in Login.php no longer working for me

Nothing so far. I'm trying to figure out what the error is for Line 395 on that file. I'm going to download module and take a look to see if anything is different. If that doesn't work, I 'll check to see if some of the tables in my database related to this need to be repaired. Don't know what else to do...I'm a newbie.
23 Mar 2013, 19:19
#19
wildthyme avatar

wildthyme

New Zenner

Join Date:
May 2012
Posts:
18
Plugin Contributions:
0

Re: FEC Create New Account in Login.php no longer working for me

TCarden-

Does your Log In work if the "Same address for Shipping/Billing" box is checked? It does on my site and I'm wondering if there is a way make it so it cannot be unchecked. I would like to find the issue that is causing this bug but a work-around will do...
23 Mar 2013, 22:23
#20
tcarden avatar

tcarden

Zen Follower

Join Date:
Oct 2012
Posts:
282
Plugin Contributions:
0

Re: FEC Create New Account in Login.php no longer working for me

i hadn't tried checking/unchecking and just did and got some diff results:

by default, the 'same address for shipping/billing' is checked. if left checked and the form is filled out correctly, i get the error.

but when i unchecked and filled out both sections it seemed to work.

except, in the url on the following page reads…. fecaction = null,

so not sure about that…?

index.php?main_page=checkout&fecaction=null

but your situation sounds like the opposite, no? if you check 'same as..' it works?