Post by wildfire67 » Sat May 05, 2012 1:10 pm

I have this error in my system error logs can someone help me with it? I have no idea what is could be. I'm currently using version 1.5.2.1

PHP Notice: Undefined index: zone_id in /home3/superwe5/public_html/aquariusfountainsnmore/catalog/controller/account/register.php on line 322

Thanks!

Wildfire67


User avatar
Newbie

Posts

Joined
Thu Feb 23, 2012 11:57 am

Post by Avvici » Tue May 08, 2012 4:08 am

Make sure that you are using isset. It will do away with the error:

if (isset($this->request->post['zone_id'])) {
$this->data['zone_id'] = $this->request->post['zone_id'];
} else {
$this->data['zone_id'] = '';
}

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by wildfire67 » Tue May 22, 2012 8:34 am

Sorry, but I'm new to this, where do I check for this insert? Thank you.

Thanks!

Wildfire67


User avatar
Newbie

Posts

Joined
Thu Feb 23, 2012 11:57 am

Post by Avvici » Tue May 22, 2012 12:45 pm

public_html/aquariusfountainsnmore/catalog/controller/account/register.php

Look for this line : $this->data['zone_id'] = $this->request->post['zone_id']; and replace it with the code I gave you above

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC
Who is online

Users browsing this forum: Amazon [Bot] and 28 guests