Hace unos días 1and1 me "obligo" a emigrar del PHP 5.3.x al 5.5 y eso me ha llevado al pequeño caos en mi blog. Resulta que habían funciones que no se han quitado en la versión 5.5 (ereg, eregi...) y resulta que el theme que uso del Wordpress (no es mio y no se actualiza) utiliza el phpThumb (una versión del cata-pum) y me ha tocado actualizarla manualmente a una versión mas actual que soporta el 5.5.
Mientras configuraba, poco a poco desaparecían cosas, pero he llegado a un punto que no se que hacer, básicamente me salen estos errores:
Errores que me aparecen:
Código:
  
Archivo phpThum.php desde la 85 hasta la 97:Strict Standards: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in ...phpThumb/phpThumb.php on line 87 Strict Standards: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in ...phpThumb/phpThumb.php on line 87 Warning: Cannot modify header information - headers already sent by (output started at /.../phpThumb/phpThumb.php on line 87 Warning: Cannot modify header information - headers already sent by (output started at ...phpThumb/phpThumb.php:87) in /.../phpThumb/phpThumb.php on line 93 Warning: Cannot modify header information - headers already sent by (output started at ...phpThumb/phpThumb.php:87) in /.../phpThumb/phpThumb.php on line 97 (luego texto incomprensible, será la info de la imagen interpretada en texto).
Código PHP:
   header('Cache-Control: private');
header('Pragma: private');
header('Expires: '.date(DATE_RFC822, strtotime(' 1 day')));
if (!empty($_SERVER['HTTP_IF_MODIFIED_SINCE']) && ($nModified == strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE'])) && !empty($_SERVER['SERVER_PROTOCOL'])) {
        header('Last-Modified: '.gmdate('D, d M Y H:i:s', $nModified).' GMT', true, 304);
            exit;
    }
if ($getimagesize = @GetImageSize($phpThumb->cache_filename)) {
        header('Content-Type: '.phpthumb_functions::ImageTypeToMIMEtype($getimagesize[2]));
} elseif (preg_match('#\\.ico$#i', $phpThumb->cache_filename)) {
        header('Content-Type: image/x-icon');
    }
header('Content-Length: '.filesize($phpThumb->cache_filename)); 
    Creo que es algo de la fecha, pero no me queda claro.
Gracias de antemano.
 
 

 Emigrar del 5.3.x al 5.5 me ha traído un regalo
 Emigrar del 5.3.x al 5.5 me ha traído un regalo 


