gmmktime Error in WordPress and MagpieRSS gmmktime Errore in WordPress e MagpieRSS
If you’re running PHP 5.1 with your web server, you may encounter the following error in your Apache web server error log file (ie httpd-error.log) whenever there are requests to the RSS feed and the Apache need to parse the RSS in PHP: Se stai utilizzando PHP 5.1 con il vostro web server, si possono incontrare il seguente messaggio di errore nel tuo server web Apache errore file di registro (vale a dire httpd-error.log) qualora vi siano domande di feed RSS e la necessità di Apache per analizzare il RSS in PHP:
For Magpie RSS: Per gazza RSS:
PHP Warning: gmmktime() expects parameter 3 to be long, string given in …../magpie/rss_utils.inc on line 35 PHP Warning: gmmktime () si aspetta che il parametro da 3 a essere lungo, stringa di cui al… .. / gazza / rss_utils.inc on line 35
For WordPress 2: Per WordPress 2:
PHP Warning: gmmktime() expects parameter 3 to be long, string given in /usr/local/www/apache22/data/wordpress-mydigitallife/wp-includes/rss-functions.php on line 788 PHP Warning: gmmktime () si aspetta parametro 3 che devono essere di lunghezza, di cui stringa / usr/local/www/apache22/data/wordpress-mydigitallife/wp-includes/rss-functions.php on line 788
The error usually only occurs if you are using or upgrading to PHP 5.1. L'errore di solito si verifica solo se si sta utilizzando o il miglioramento di 5,1 PHP.
The resolution is to edit rss_utils.inc in MagpieRSS or rss-functions.php in WordPress and changes the line below: La risoluzione è di modificare rss_utils.inc in MagpieRSS o rss-functions.php in WordPress e cambia la linea di seguito:
$epoch = gmmktime( $hours, $minutes, $seconds, $month, $day, $year); epoca = $ gmmktime ($ ore, $ minuti, $ secondi, $ mese, $ giorno, $ anno);
to the following line by adding +0 after the third variables ($seconds): per la seguente riga aggiungendo +0 dopo il terzo variabili ($ secondi):
$epoch = gmmktime( $hours, $minutes, $seconds+0, $month, $day, $year); epoca = $ gmmktime ($ ore, $ minuti, $ secondi +0, $ mese, $ giorno, $ anno);
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale inglese whenever possible. quando possibile.
Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .
Related Articles Articoli correlati
- How to Customize, Modify or Change WordPress Database Connection Error Page Come personalizzare, modificare o cambiare connessione al database di WordPress pagina di errore
- WordPress Charset Encoding Problem After Upgrading to Version 2.2 WordPress charset codifica problema dopo l'aggiornamento alla versione 2,2
- WordPress MySQL SQL Query Error in WPDB Class WordPress mysql query SQL errore nella classe WPDB
- Download WordPress 2.3 Release Candidate 1 (RC1) with Tags Support Download WordPress 2,3 Release Candidate 1 (RC1) con supporto Tag
- Download Previous or Old Version of WordPress Download precedente o vecchia versione di WordPress
- Integrate WordPress including Comments with bbPress Forum using bbSync Integrare WordPress compresi Commenti con bbPress Forum utilizzando bbSync
- WordPress 2.1.1 Critical Security Alert - Download Upgrade to 2.1.2 WordPress 2.1.1 Critica Security Alert - Download aggiornamento a 2.1.2
- Must Have WordPress Plugins Deve avere collegamenti di WordPress
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page Come cambiare la frequenza o intervallo di WordPress Auto salva una modifica di post o pagina
- Automatically Update WordPress to Latest Version with Automatic Upgrade Plugin (WPAU) WordPress aggiornare automaticamente alla versione più recente con l'aggiornamento automatico Plugin (WPAU)

































April 27th, 2006 03:37 27 aprile 2006 03:37
Thanks very much for documenting this! Grazie molto per documentare questo! You saved me a bunch of time and I really appreciate it. Lei mi ha salvato un sacco di tempo e io realmente lo apprezzerei.
May 22nd, 2006 02:17 22 maggio 2006 02:17
The first Google result my own website showing the error. Il primo risultato di Google il mio sito web che mostra l'errore. Your’s was #3 or so. È stato il tuo's # 3 o così. I can’t thank you enough for publishing this simple fix. Non posso ringraziarvi abbastanza per la pubblicazione di questo semplice correzione.
May 21st, 2007 06:22 21 maggio 2007 06:22
Glad I found this! Contento ho trovato questo! I’m surprised they haven’t incorporated this into the version in Sourceforge! Sono sorpreso che esse non sono state incorporate in questa versione in Sourceforge!
June 17th, 2007 05:48 17 giugno 2007 05:48
Great tips! Grande suggerimenti! Thank you very much! Grazie mille!
May 13th, 2008 23:54 Maggio 13, 2008 23:54
thank you so much! Thank you so much! saved me alot of time mi ha salvato un sacco di tempo