Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / shipping estimator breaks at line 8?

shipping estimator breaks at line 8?

Locked

Views: 1,432

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
29 Nov 2006, 9:02 PM
#1
tvadpro avatar

tvadpro

Zen Follower

Join Date:
Aug 2005
Location:
Cincinnati
Posts:
323
Plugin Contributions:
0

shipping estimator breaks at line 8?

Parse error: syntax error, unexpected '}' in /public_html/includes/templates/my_custom_template/templates/tpl_modules_shipping_estimator.php on line 8

Above error is what I get where I should see the estimated shipping in the shopping cart. Looked at tpl_modules_shipping_estimator.php, but nothing jumps out at me. Exceptionally baffling in that line 8 is commented author/version notes, containing no '}' whatsoever.

Any ideas? I am encountering this error on a site running 1.3.6. I compared tpl_modules_shipping_estimator.php to its counterpart on another site running 1.3.5 with the 1.3.6 database patch, and the files are perfectly identical. The shipping estimator on the other site works fine.

Prior to upgrading the site with the broken estimator to 1.3.6, I had some custom coding done to prevent different Product Types from going through the checkout together (long story) -- I wonder if I may have mutilated something pertaining to the override when I upgraded. So far, everything else seems to work fine. :lookaroun

30 Nov 2006, 12:05 AM
#2
tvadpro avatar

tvadpro

Zen Follower

Join Date:
Aug 2005
Location:
Cincinnati
Posts:
323
Plugin Contributions:
0

Re: shipping estimator breaks at line 8?

I don't know why this worked, but it did.

I deleted extra lines from tpl_modules_shipping_estimator.php, then tried again. Works like a charm now.

It's a moot point, but I'm awe-struck by how a file that throws errors on one site can work fine on another. Maybe a subtle difference in configuration of shared hosting servers?

No matter: I'm just relieved it works again.

30 Nov 2006, 12:14 AM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: shipping estimator breaks at line 8?

Might be one of those mysterious errors of the invisible something living on a line and by deleting it you remove whatever the invisible something was ... :blink:

30 Nov 2006, 1:04 AM
#4
tvadpro avatar

tvadpro

Zen Follower

Join Date:
Aug 2005
Location:
Cincinnati
Posts:
323
Plugin Contributions:
0

Re: shipping estimator breaks at line 8?

Death to the Invisible Somethings!
:onfire:

30 Nov 2006, 1:06 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: shipping estimator breaks at line 8?

I have often wished that myself ... but they live on ... :eek: