Tema: Carrito php
Ver Mensaje Individual
  #9 (permalink)  
Antiguo 10/02/2016, 16:12
Amiancht
 
Fecha de Ingreso: mayo-2013
Mensajes: 169
Antigüedad: 11 años
Puntos: 25
Respuesta: Carrito php

Cita:
Iniciado por rodrigoznr Ver Mensaje
Tengo que admitir que me ilucione con el session_start(); era completamente logico.... pero no, me dio el mismo error. Hasta probe ejecutarlo antes del include me dio otro error:

Fatal error: main() [<a href='function.main'>function.main</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition &quot;carrito&quot; of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in ....\tvirtual2\mete_producto.php on line 4
¿Cómo tienes el codigo ahora?