gmmktime Error in WordPress and MagpieRSS gmmktime Dlh do WordPress a 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: Ak prevádzkujete PHP 5.1 s webovým serverom sa môžete stretnúť s nasledujúcu chyba vo vašom webovom serveri Apache chýb log súbor (tj httpd-error.log) vo všetkých prípadoch žiadostí o RSS a Apache potreba analyzovať RSS PHP:
For Magpie RSS: Pre Straka RSS:
PHP Warning: gmmktime() expects parameter 3 to be long, string given in …../magpie/rss_utils.inc on line 35 PHP Warning: gmmktime () očakáva, že parameter 3, ktoré majú byť dlhé, string given in ... .. / straka / rss_utils.inc on line 35
For WordPress 2: Pre 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 () očakáva, že parameter 3, ktoré majú byť dlhé, string given in / 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. Chyba zvyčajne dochádza len v prípade, že používate, alebo inovácii na PHP 5.1.
The resolution is to edit rss_utils.inc in MagpieRSS or rss-functions.php in WordPress and changes the line below: Uznesenie je upraviť rss_utils.inc v MagpieRSS alebo rss-functions.php do WordPress a zmeny riadok nižšie:
$epoch = gmmktime( $hours, $minutes, $seconds, $month, $day, $year); epocha gmmktime $ = ($ hodiny, minúty $, $ sekúnd, $ month, $ day, $ year);
to the following line by adding +0 after the third variables ($seconds): na nasledujúci riadok pridaním +0 po tretej premennej ($ sekúnd):
$epoch = gmmktime( $hours, $minutes, $seconds+0, $month, $day, $year); epocha gmmktime $ = ($ hodiny, minúty $, $ sekúnd +0, $ month, $ day, $ year);
IMPORTANT : The page is machine translated and provided "as is" without warranty. Upozornenie: stránka je stroje preložené a za predpokladu, "ako je" bez záruky. Machine translation may be difficult to understand. Strojový preklad môže byť ťažké pochopiť. Please refer to Nájdete na original English article originál Anglicky artikl whenever possible. ak je to možné.
Related Articles Súvisiace články
- WordPress MySQL SQL Query Error in WPDB Class WordPress MySQL SQL dotazu Chyba v WPDB triedy
- How to Customize, Modify or Change WordPress Database Connection Error Page Ako prispôsobiť, upraviť alebo zmeniť WordPress Database Connection Error Page
- Fix Fatal Error Call to Function get_link() on Non-Object in WordPress 2.8 Dashboard with Technorati Incoming Links RSS Fix Fatal Error Výzva na funkciu get_link () na non-objekt vo WordPress 2.8 Dashboard s Technorati Vcházející Golfové ihrisko RSS
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Paginating alebo Split WordPress Post alebo stránky s NextPage do WordPress Nie Činnosť
- PHP Parse Error: syntax error, unexpected $end PHP Rozebírat Dlh: skladba dlh, nečakané $ end
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page Ako meniť frekvenciu alebo Interval WordPress Auto Šetrí Úprava pošty alebo Page
- 3 Column Relaxation WordPress Theme comments-paged.php for Paged-Comments WordPress Plugin 3 Kolóna WordPress Relaxačný Téma komentáre-paged.php pre stránkovaný-Komentáre WordPress Plugin
- WordPress Charset Encoding Problem After Upgrading to Version 2.2 WordPress Kódovanie Kódovanie Problem po upgrade na verziu 2.2
- Enable Gzip Compress on Wordpress with WP-Cache 2.x Povoľte Gzip Komprimovať ďalej Wordpress s WP-Cache 2.x
- WordPress Permalinks Does Not Work in xampp Setup WordPress Permalinks nefunguje v xampp Nastavenia










































December 18th, 2008 05:43 18.prosince 2008 05:43
Words perfectly for me, thx Slová perfectly for me, thx
May 13th, 2008 23:54 13.května 2008 23:54
thank you so much! thank you so much! saved me alot of time zachránený mne množstvo of Time
June 17th, 2007 05:48 17.červen 2007 05:48
Great tips! Skvelé tipy! Thank you very much! Mockrát děkuji!
May 21st, 2007 06:22 21.května 2007 06:22
Glad I found this! Som rád, že som našiel! I'm surprised they haven't incorporated this into the version in Sourceforge! Prekvapuje ma, že už nie sú zahrnuté do tejto verzie v Sourceforge!
May 22nd, 2006 02:17 22.května 2006 02:17
The first Google result my own website showing the error. Prvá Google výsledok mojej vlastnej webovej stránky zobrazujúce chybu. Your's was #3 or so. Váš bola # 3 alebo tak. I can't thank you enough for publishing this simple fix. Nemôžem vám poďakovať za zverejnenie táto jednoduchý Brynda.
April 27th, 2006 03:37 27.dubna 2006 03:37
Thanks very much for documenting this! Díky moc za túto dokumentáciu! You saved me a bunch of time and I really appreciate it. Tebe zachránený mne veľa času a naozaj si toho vážim.