Welcome, Guest. Please login or register.
Login with username, password and session length


Need help or want to talk to other developers? Join the VirtueMart Chat! Read more...

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: Problem with shipping.rate_form.php after update to 1.0.3  (Read 3786 times)
gufine
Newbie
*
Posts: 2


« on: March 11, 2006, 06:28:06 AM »

I have updated my virtuemart from 1.0.2 to 1.0.3 and now when I want to change shipping rates (german: Versandarten) I'm getting the error

Parse error: parse error, unexpected $ in .../administrator/components/com_virtuemart/html/shipping.rate_form.php on line 122

(line 122 is the last line of the file)

Whats wrong?

I also updated Joomla from 1.0.2 to 1.0.8 today.
Logged
iqapps1
Hero Member
*****
Posts: 651


« Reply #1 on: March 11, 2006, 07:11:03 AM »

Hi

I goot same error on my upgraded live site. I don't get this error in my clean install.

Regards
IQAPPS
Logged
looney
Newbie
*
Posts: 42


« Reply #2 on: March 11, 2006, 09:26:38 AM »

Got the same problem today with a clean install.

Parse error: parse error, unexpected $ in /home/oscarssh/public_html/administrator/components/com_virtuemart/html/shipping.rate_form.php on line 122

What should i do?
Logged
Phillip Wheat
Newbie
*
Posts: 20


« Reply #3 on: March 11, 2006, 10:47:51 AM »

Same exact problem.
Mambo and Virtuemare 1.0.3

Did a manual upgrade from Virtuemart 1.0.2
Logged
iqapps1
Hero Member
*****
Posts: 651


« Reply #4 on: March 11, 2006, 11:41:53 AM »

Hi

I checked previus ver. of  shipping.rate_form.php and difference is this code in line 27
Code:
if (!isset($ps_shipping)) { $ps_shipping = new ps_shipping();}



Regards
IQAPPS
« Last Edit: March 11, 2006, 11:48:15 AM by iqapps1 » Logged
Phillip Wheat
Newbie
*
Posts: 20


« Reply #5 on: March 11, 2006, 11:43:05 AM »

FIXED IT.

Edit the file /administrator/components/com_virtuemart/html/shipping.rate_form.php

Find the line at or about line 27 that reads

if (!isset($ps_shipping)) { $ps_shipping = new ps_shipping();

and add a } to the end so it now reads

if (!isset($ps_shipping)) { $ps_shipping = new ps_shipping();}

Fixed it for me!
Logged
iqapps1
Hero Member
*****
Posts: 651


« Reply #6 on: March 11, 2006, 11:47:07 AM »

Hi

It's is right only

Code:
}
missing.


Regards
IQAPPS
Logged
Phillip Wheat
Newbie
*
Posts: 20


« Reply #7 on: March 11, 2006, 11:53:21 AM »

Yes, just that one nasty little }
Logged
looney
Newbie
*
Posts: 42


« Reply #8 on: March 11, 2006, 12:02:50 PM »

Thanks!!

This worked for me!!!

Just one little thing...
Logged
iqapps1
Hero Member
*****
Posts: 651


« Reply #9 on: March 11, 2006, 12:03:42 PM »

 Grin Wink
Logged
Soeren
Administrator
Hero Member
*
Posts: 3106


VirtueMart Lead Developer


WWW
« Reply #10 on: March 11, 2006, 12:41:16 PM »

Hello,

I am really sorry about that! This line had been added by me, because the shipping rate form was causing errors in the frontend. Now it was completely disabled - sorry!

I have release new packages and updates. The updated file is also available on the bugtracker - please see here: http://virtuemart.net/index.php?option=com_flyspray&do=details&id=582&&Itemid=91

Thanks for your understanding,

Soeren
Logged

The future of eCommerce: VirtueMart & Joomla!
http://virtuemart.net
--
The VirtueMart project needs your help! To be able to continue this project please contribute your skills. Read more.
gufine
Newbie
*
Posts: 2


« Reply #11 on: March 11, 2006, 14:22:33 PM »

Thanks to all - now it works perfect!

gufine Smiley
Logged
Pages: [1]   Go Up
Print
Jump to: