Tema: e-commerce
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/05/2010, 09:02
sabruchi
 
Fecha de Ingreso: junio-2006
Mensajes: 166
Antigüedad: 20 años, 4 meses
Puntos: 3
e-commerce

Hola de nuevo, instale varios plugins de e-commerce, y todos me tiran el siguiente error:

Warning: mktime() [function.mktime]: Windows does not support negative values for this function in C:\Archivos de programa\xampp\htdocs\wordpress2\wp-content\plugins\wp-e-commerce\wpsc-includes\purchaselogs.class.php on line 696

estuve mirando el codigo donde tira el error:

Código PHP:
$j = 0;
        for(
$year = $this->current_year; $year >= $this->earliest_year; $year--) {
          for(
$month = 12; $month >= 1; $month--) {          
            
$this->start_timestamp = mktime(0, 0, 0, $month, 1, $year);
            
$this->end_timestamp = mktime(0, 0, 0, ($month+1), 1, $year);
            if((
$this->end_timestamp >= $this->earliest_timestamp) && ($this->start_timestamp <= $this->current_timestamp)) {
              
$date_list[$j]['start'] = $this->start_timestamp;
              
$date_list[$j]['end'] = $this->end_timestamp;
              
$j++;
                }
            }
        } 
y no encontre el error.

alguien tiene el archivo purchaselogs.class.php, o el display-log.php (para otras versiones del plugins) que no tire error para pasarme ??