Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/04/2011, 21:15
zhiveta
 
Fecha de Ingreso: mayo-2009
Mensajes: 19
Antigüedad: 15 años
Puntos: 0
Problema PHP en Virtuemart

Hola amigos!

Tengo este problema en un fichero php de virtuemart:
Parse error: syntax error, unexpected '=', expecting ')' in /homepages/33/d357768075/htdocs/administrator/components/com_virtuemart/classes/payment/ps_paypal_api.php on line 1405

El codigo del php es el siguiente:
//Createst the NVP string for all items in the cart
function getCartnvpstr( &$order_totals=array() ) {
global $auth, $VM_LANG;
$cart = $_SESSION['cart'];
require_once(CLASSPATH. 'ps_product.php' );
$ps_product = new ps_product;

$ret_str="";
$item_total = 0;
for ($i=0;$i<$cart["idx"];$i++) {
// Product PRICE
$price = $ps_product->get_adjusted_attribute_price($cart[$i]["product_id"], $cart[$i]["description"]);

Si alguien me puede ayudar se lo estaria agradecido ya que no se nada de PHP.