gmmktime Error in WordPress and MagpieRSS gmmktime Kļūda WordPress un 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: Ja jūs PHP 5,1 jūsu tīmekļa servera, Jums var rasties šādas kļūdas jūsu Apache tīmekļa servera kļūdu log failu (ti httpd-error.log) gadījumā, ja ir prasība RSS barībā, un Apache nepieciešams izanalizēt RSS in PHP:

For Magpie RSS: Par žagata RSS:

PHP Warning: gmmktime() expects parameter 3 to be long, string given in …../magpie/rss_utils.inc on line 35 PHP Warning: gmmktime () sagaida parametrs 3 ir garās, stīgu dots ... .. / žagata / rss_utils.inc on line 35

For WordPress 2: Par 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 () sagaida parametrs 3 ir garās, stīgu dots / 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. Kļūda parasti parādās tikai tad, ja Jūs lietojat vai modernizācija, lai PHP 5.1.

The resolution is to edit rss_utils.inc in MagpieRSS or rss-functions.php in WordPress and changes the line below: Šajā rezolūcijā ir rediģēt rss_utils.inc in MagpieRSS vai rss-functions.php in WordPress un izmaiņas līniju zemāk:

$epoch = gmmktime( $hours, $minutes, $seconds, $month, $day, $year); $ laikmets = gmmktime ($ laiks, $ minūtēm, $ seconds, $ month, $ diena, $ gads);

to the following line by adding +0 after the third variables ($seconds): uz šādu līniju, pievienojot 0 pēc trešā mainīgie ($ s):

$epoch = gmmktime( $hours, $minutes, $seconds+0, $month, $day, $year); $ laikmets = gmmktime ($ laiks, $ minūtēm, $ sekundes 0, $ month, $ diena, $ gads);

IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: Šī lapa ir mašīna tulkoto un ar nosacījumu ", kas ir" bez garantijas. Machine translation may be difficult to understand. Machine translation var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.


6 Responses to “gmmktime Error in WordPress and MagpieRSS” 6 Atbildes uz "gmmktime Kļūda WordPress un MagpieRSS"

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

    Words perfectly for me, thx Words pilnīgi man, thx

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

    thank you so much! thank you so much! saved me alot of time saglabāti man daudz laika

  3. Frank Frank
    June 17th, 2007 05:48 Jūnijs 17, 2007 05:48
    4 4

    Great tips! Lielo padomi! Thank you very much! Liels paldies!

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

    Glad I found this! Glad I uzskatīja, ka šis! I'm surprised they haven't incorporated this into the version in Sourceforge! Es esmu pārsteigts, tie nav iekļāvusi šo iekļaušanu versija SourceForge!

  5. Andrew Andrew
    May 22nd, 2006 02:17 Maijs 22, 2006 02:17
    2 2

    The first Google result my own website showing the error. Pirmais Google rezultātā mana mājas lapā, norādot kļūda. Your's was #3 or so. Jūsu tika # 3, vai arī tā. I can't thank you enough for publishing this simple fix. Es nevaru paldies pietiekami publicēšanai šo vienkāršo noteikt.

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

    Thanks very much for documenting this! Thanks very much par dokumentējot to! You saved me a bunch of time and I really appreciate it. Jūs saglabāti man ķekars laika un I really appreciate it.

Leave a Reply Atstāj atbildi

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> Jūs varat izmantot šos tagus: <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. Parakstīties uz komentāriem iezīme ir atspējota. To receive notification of latest comments posted, subscribe to Lai saņemtu paziņojumu par jaunāko komentāri norīkots darbā, abonēt My Digital Life Comments RSS feed Mani Digital Life Comments RSS feed or vai register to receive reģistrēties, lai saņemtu new comments in daily email digest. jauni komentāri ikdienas e-pasta sagremot.
Custom Search

New Articles Jauns pants

Incoming Search Terms for the Article Incoming Meklēt Noteikumi par pants

MagpieRSS wordpress MagpieRSS WordPress - -- magpie rss wordpress žagata rss WordPress - -- gmmktime() expects parameter 4 to be long gmmktime () sagaida parametrs 4 ilgi - -- Parse error: syntax error, unexpected '.' Parsēt error: syntax error, negaidītu "." in wp-includes/user.php on line 492 in wp-includes/user.php on line 492 - -- install wordpress parse error "492" uzstādīt WordPress parsēt kļūdu "492" - -- Warning: gmmktime() expects Brīdinājums: gmmktime () cer - -- magpierss fix magpierss noteikt - -- gmmktime gmmktime - -- gmmktime() expects parameter 3 to be long gmmktime () sagaida parametrs 3, kas ilgi - -- MagpieRSS arabic encoding problem MagpieRSS Arābu kodējumu problēmu - -- freedownload magpieRss freedownload magpieRss - -- Magpie RSS turkce Žagata RSS Türkçe - -- magpie rss korean žagata rss Korejiešu - -- gmmktime error gmmktime kļūda - -- magpierss wordpress plugin magpierss WordPress spraudnis - -- Parse error: syntax error, unexpected '.' Parsēt error: syntax error, negaidītu "." in 492 wordpress in 492 WordPress - -- wordpress magpierss WordPress magpierss - -- Parse error: syntax error, wp-includes/user.php on line 492 Parsēt error: syntax error, wp-includes/user.php on line 492 - -- MagpieRSS arabic MagpieRSS arābu - -- wordpress Parse error: syntax error, unexpected wp-includes/user.php on line 492 WordPress parsēt error: syntax error, negaidītu wp-includes/user.php on line 492 - -- wordpress Parse error: syntax error, unexpected on line 492 WordPress parsēt error: syntax error, negaidītu on line 492 - -- MagpieRSS polish MagpieRSS poļu - -- magpierss and wordpress link not working magpierss un WordPress saite nedarbojas - -- Parse error user.php on line 492 Parsēt kļūda user.php on line 492 - -- magpierss chinese magpierss ķīniešu - -- MagpieRSS worpress MagpieRSS worpress - -- arabic rss encode error Arābu rss šifrēt kļūda - -- wordpress MagpieRSS update WordPress MagpieRSS update - --