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 .



5 Responses to “gmmktime Error in WordPress and MagpieRSS” 5 Le risposte alla "gmmktime Errore in WordPress e MagpieRSS"

  1. Sarah
    April 27th, 2006 03:37 27 aprile 2006 03:37
    1

    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.

  2. Andrew
    May 22nd, 2006 02:17 22 maggio 2006 02:17
    2

    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.

  3. Douglas Karr Douglas Karr
    May 21st, 2007 06:22 21 maggio 2007 06:22
    3

    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!

  4. Frank
    June 17th, 2007 05:48 17 giugno 2007 05:48
    4

    Great tips! Grande suggerimenti! Thank you very much! Grazie mille!

  5. neil epstein Neil Epstein
    May 13th, 2008 23:54 Maggio 13, 2008 23:54
    5

    thank you so much! Thank you so much! saved me alot of time mi ha salvato un sacco di tempo

Leave a Reply Lasciare una risposta

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> È possibile utilizzare questi tag: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Iscriviti senza commentare


Custom Search

New Articles Nuovi articoli

Incoming Search Terms for the Article Cerca in arrivo Condizioni per l'articolo

Warning: gmmktime() expects parameter 3 to be long Attenzione: gmmktime () si aspetta parametro 3 che devono essere a lungo - -- magpie rss wordpress Magpie RSS WordPress - -- gmmktime() expects parameter 3 to be long gmmktime () si aspetta parametro 3 che devono essere a lungo - -- magpie rss gmmktime() expects parameter 3 to be long, string given gazza rss gmmktime () si aspetta che il parametro da 3 a essere lungo, dato stringa - -- gmmktime() expects parameter 3 to be long php update gmmktime () si aspetta che il parametro da 3 a essere lungo php aggiornamento - -- magpierss, wordpress plugins magpierss, wordpress - -- gmmktime() expects parameter 3 gmmktime () si aspetta parametro 3 - -- "gmmktime() expects" "gmmktime () si aspetta" - -- PHP Warning: gmmktime() PHP Warning: gmmktime () - -- portugues magpie Portugues gazza - -- rss-functions wordpress encoding RSS-WordPress funzioni di codifica - -- magpierss wordpress magpierss WordPress - -- gmmktime() expects parameter 3 to be long, s gmmktime () si aspetta che il parametro da 3 a essere lungo, s - -- magpie rss files in wordpress Magpie RSS file in WordPress - -- "gmmktime() expects parameter 3 to be long" "gmmktime () si aspetta parametro 3 che devono essere a lungo" - -- magpierss wordpress 2.6 magpierss WordPress 2,6 - -- Warning: gmmktime() expects parameter 3 to be long, string given in wordpress Attenzione: gmmktime () si aspetta che il parametro da 3 a essere lungo, dato stringa in WordPress - -- gmmktime() expects parameter 6 to be long gmmktime () si aspetta che il parametro da 6 a lungo - -- last version of MagpieRSS ultima versione di MagpieRSS - -- gmmktime() gmmktime () - -- magpierss encoding problem magpierss problema di codifica - -- magpierss for chinese magpierss per il cinese - -- magpierss php parse month day year magpierss php analizzare mese giorno anno - -- PHP MagpieRSS gmmktime() expects parameter 3 to be long PHP MagpieRSS gmmktime () si aspetta parametro 3 che devono essere a lungo - -- magpie rss wordpress missing images Magpie RSS WordPress immagini mancanti - -- error gmmktime() expects parameter 3 to be long errore gmmktime () si aspetta parametro 3 che devono essere a lungo - -- magpieRSS AND wordpress 2.6 E magpieRSS WordPress 2,6 - -- Magpie RSS and WordPress Feeds encoding problem Gazza e WordPress RSS Feed problema di codifica - -- 致命的 落ち度 致命的落ち度 - -- Critical Meat megaupload Carni critica MEGAUPLOAD - -- gmmktime() expects parameter 3 to be long, gmmktime () si aspetta che il parametro da 3 a essere lungo, - -- gmmktime() expects parameter 3 to be long wordpress fix gmmktime () si aspetta che il parametro da 3 a essere lungo wordpress correzione - -- charset encoding magpierss charset codifica magpierss - -- magpie rss help wordpress Magpie RSS aiutare WordPress - -- magpierss for wordpress magpierss per WordPress - -- magpierss chinese magpierss cinese - -- gmmktime gmmktime - -- $epoch = gmmktime epoca = $ gmmktime - --