gmmktime Error in WordPress and MagpieRSS gmmktime Klaida WordPress ir 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: Jei dirbate su PHP 5.1 su savo interneto serveryje, galite susidurti su tokia klaida savo Apache web server error log failą (ty httpd-error.log), jei yra prašymai RSS ir Apache reikia ardyti RSS PHP:

For Magpie RSS: Dėl Šarka RSS:

PHP Warning: gmmktime() expects parameter 3 to be long, string given in …../magpie/rss_utils.inc on line 35 PHP Warning: gmmktime () tikisi, 3 parametras bus ilgas, string pateikta ... .. / šarka / rss_utils.inc on line 35

For WordPress 2: For 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 () tikisi, 3 parametras turi būti ilgas, string pateikta / 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. Klaida dažniausiai atsiranda tik jei naudojate ar atnaujinimu, PHP 5.1.

The resolution is to edit rss_utils.inc in MagpieRSS or rss-functions.php in WordPress and changes the line below: Rezoliucija redaguoti rss_utils.inc į MagpieRSS arba RSS-functions.php į WordPress ir pokyčiai eilutę žemiau:

$epoch = gmmktime( $hours, $minutes, $seconds, $month, $day, $year); $ epocha = gmmktime ($ laikas, $ min, $ seconds, $ month, $ diena, $ metai);

to the following line by adding +0 after the third variables ($seconds): šiuos linijos po trečiosios kintamuosius ($ s) 0 pridūrė:

$epoch = gmmktime( $hours, $minutes, $seconds+0, $month, $day, $year); $ epocha = gmmktime ($ laikas, $ min, $ sekundes 0, $ month, $ diena, $ metai);

IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.


6 Responses to “gmmktime Error in WordPress and MagpieRSS” 6 Responses to "gmmktime Klaida WordPress ir MagpieRSS"

  1. Sura Sura
    December 18th, 2008 05:43 18 gruodis 2008 05:43
    6 6

    Words perfectly for me, thx Žodžiai puikiai man thx

  2. neil epstein Neil Epstein
    May 13th, 2008 23:54 13 gegužė 2008 23:54
    5 5

    thank you so much! Thank you so much! saved me alot of time išgelbėjo mane daug laiko

  3. Frank Frankas
    June 17th, 2007 05:48 17 birželis 2007 05:48
    4 4

    Great tips! Great patarimus! Thank you very much! Labai tau ačiū!

  4. Douglas Karr Douglas Karr
    May 21st, 2007 06:22 21 gegužė 2007 06:22
    3 3

    Glad I found this! Džiaugiamės, kad aš tau! I'm surprised they haven't incorporated this into the version in Sourceforge! Aš nustebęs, jie nėra įtraukti į šią į Sourceforge versija!

  5. Andrew Andrew
    May 22nd, 2006 02:17 22 gegužė 2006 02:17
    2 2

    The first Google result my own website showing the error. Pirmasis "Google" savo tinklalapyje rezultatas rodo klaidą. Your's was #3 or so. Jūsų's buvo # 3 ir taip. I can't thank you enough for publishing this simple fix. Aš negaliu padėkoti jums pakanka leidybos šį paprastą pakeitimą.

  6. Sarah Sara
    April 27th, 2006 03:37 27 balandis 2006 03:37
    1 1

    Thanks very much for documenting this! Labai ačiū už užfiksuoti tai! You saved me a bunch of time and I really appreciate it. Jūs išgelbėjo mane laiko krūva ir I really appreciate it.

Leave a Reply Leave a Reply

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> Galite naudoti šiuos žodžius: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive Registruokitės gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Gaunamus paieškos terminus straipsnis

magpie rss wordpress Šarka RSS WordPress - -- MagpieRSS wordpress MagpieRSS WordPress - -- gmmktime() expects parameter 4 to be long gmmktime () tikisi parametro 4 bus ilgas - -- gmmktime() expects parameter 3 to be long gmmktime () tikisi, 3 parametras bus ilgas - -- Parse error: syntax error, unexpected '.' Parse error: syntax error, unexpected ' ". in wp-includes/user.php on line 492 į wp-includes/user.php on line 492 - -- install wordpress parse error "492" diegti WordPress Parse error "492" - -- MagpieRSS arabic MagpieRSS Arabic - -- PHP Parse error: syntax error, unexpected '.' PHP Parse error: syntax error, unexpected ' ". in user.php line 492 wordpress į user.php line 492 WordPress - -- Parse error: syntax error, unexpected '.' Parse error: syntax error, unexpected ' ". in /user.php on line 492 in / user.php on line 492 - -- Warning: gmmktime() expects Įspėjimas: gmmktime () tikisi, - -- magpierss fix magpierss nustatyti - -- gmmktime gmmktime - -- MagpieRSS arabic encoding problem MagpieRSS arabų koduotės problema - -- freedownload magpieRss freedownload magpieRss - -- Magpie RSS turkce Šarka RSS Turkce - -- magpie rss korean Šarka RSS Korean - -- gmmktime error gmmktime klaidą - -- magpierss wordpress plugin magpierss WordPress plugin - -- Parse error: syntax error, unexpected '.' Parse error: syntax error, unexpected ' ". in 492 wordpress į 492 WordPress - -- wordpress magpierss WordPress magpierss - -- Parse error: syntax error, wp-includes/user.php on line 492 Parse error: syntax error, wp-includes/user.php on line 492 - -- wordpress Parse error: syntax error, unexpected wp-includes/user.php on line 492 WordPress Parse error: syntax error, unexpected wp-includes/user.php on line 492 - -- wordpress Parse error: syntax error, unexpected on line 492 WordPress Parse error: syntax error, unexpected on line 492 - -- MagpieRSS polish MagpieRSS lenkų - -- magpierss and wordpress link not working magpierss ir WordPress nuoroda neveikia - -- Parse error user.php on line 492 Parse error user.php on line 492 - -- magpierss chinese magpierss Kinų - -- MagpieRSS worpress MagpieRSS worpress - -- arabic rss encode error arabų RSS koduoti klaidą - -- wordpress MagpieRSS update WordPress MagpieRSS atnaujinimas - -- Warning: gmmktime() expects parameter php Įspėjimas: gmmktime () tikisi parametro PHP - -- user.php on line 492 user.php on line 492 - -- wordpress error 492 WordPress klaida 492 - -- wordpress and magpierss WordPress ir magpierss - -- magpie rss & wordpress Šarka RSS ir WordPress - -- Warning: substr() expects parameter 3 to be long oscommerce Įspėjimas: substr () tikisi, 3 parametras bus ilgas osCommerce - -- magpierss work after wordpress upgrade magpierss darbą po WordPress upgrade - -- gmmktime() expects parameter 3 to be long, string given in gmmktime () tikisi, 3 parametras turi būti ilgas, string pateikta - -- oscommerce Warning: substr() expects parameter 3 to be long osCommerce Warning: substr () tikisi, 3 parametras bus ilgas - -- magpierss < > & magpierss <> & - -- gmmktime() expects parameter 4 to be lon gmmktime () tikisi parametro 4 turi būti lon - -- gmmktime() expects parameter 4 to be long, string php5.2.6 gmmktime () tikisi parametro 4, ilgas, string php5.2.6 - -- rss.php error wordpress rss.php klaida WordPress - -- Warning: gmmktime() expects parameter 3 to be long Įspėjimas: gmmktime () tikisi, 3 parametras bus ilgas - -- wordpress "unexpected $end" "WordPress" netikėta $ pabaigos " - -- all visi - -- expects parameter 3 to be long tikisi, 3 parametras bus ilgas - -- parser error wp-includes\user.php on line 492 Parser klaida wp-includes \ user.php on line 492 - -- PHP Warning: substr() expects parameter 3 to be long, string given in PHP Warning: substr () tikisi, 3 parametras turi būti ilgas, string pateikta - -- yntax error, unexpected 492 yntax error, unexpected 492 - --