Post by tillieb » Thu Jun 28, 2012 4:09 am

Code: Select all

		$this->session->data['guest']['fax'] = $this->request->post['fax'];
.... in english... what does this roughly mean? ???

I'm trying to fix this

Code: Select all

Undefined index:  fax in /hermes/bosweb/web094/b946/ipg.healingthroughillnes/storefront/catalog/controller/checkout/guest.php on line 256
Undefined index:  company_id in /hermes/bosweb/web094/b946/ipg.healingthroughillnes/storefront/catalog/controller/checkout/guest.php on line 261
Undefined index:  tax_id in /hermes/bosweb/web094/b946/ipg.healingthroughillnes/storefront/catalog/controller/checkout/guest.php on line 262
Last edited by tillieb on Thu Jun 28, 2012 1:45 pm, edited 1 time in total.

Newbie

Posts

Joined
Mon Jun 18, 2012 9:40 am

Post by rph » Thu Jun 28, 2012 4:19 am

It's taking post data and assigning it to a session for guest checkout. If I had to guess I'd say you're using a template that's out of date.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by tillieb » Thu Jun 28, 2012 4:22 am

I'm trying to make my own one piece at a time (not knowing what i'm doing)

I'm ready to bang my head on this desk. :)

Thank you for such a quick reply. Any advice on what I need to change to stop getting these errors?

I just upgraded from 1.5.2.1 to 1.5.3.1 and was trying to hide checkout fields that I don't want just for the guest checkout.

Newbie

Posts

Joined
Mon Jun 18, 2012 9:40 am

Post by rph » Thu Jun 28, 2012 9:13 am

You need to add entries for them in your guest checkout form. Look at the default version to see how it's done.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by tillieb » Thu Jun 28, 2012 1:44 pm

Okay, (for me, I only needed to worry about guest checkout, as I have auto selected guest, and skipped Step 1 during checkout with the help of this http://forum.opencart.com/viewtopic.php ... n+checkout )

I started from scratch with a fresh version of the guest.tpl from the default theme.

I then went through the code and found each item I didn't want and added this

Code: Select all

style="display:none;"
I removed where the required fields were validated using some information from this tutorial: http://forum.opencart.com/viewtopic.php ... ds#p221806

I don't know if that's the best approach, but there's no errors anymore!!!

well... except a banner_id index which I don't think has anything to do with the checkout files.... :-/ That's my next beast. It looks like this if anyone wants to point me in the right direction :)

Code: Select all

Undefined index:  banner_id in /hermes/bosweb/web094/b946/ipg.healingthroughillnes/storefront/catalog/controller/module/banner.php on line 13

Newbie

Posts

Joined
Mon Jun 18, 2012 9:40 am
Who is online

Users browsing this forum: No registered users and 17 guests