gmmktime Error in WordPress and MagpieRSS ¿öµå¿Í MagpieRSS¿¡ gmmktime ¿À·ù

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: ¸¸¾à ´ç½ÅÀÌ À¥ ¼­¹ö¿Í PHP´Â 5.1À» ½ÇÇàÇϰí, ³ÊÈñ´Â (httpd´Â Áï - error.log) ¶§¸¶´Ù RSS Çǵ带 ¿äûÇÏ´Â ¾ÆÆÄÄ¡ ¾ÆÆÄÄ¡ À¥ ¼­¹ö ¿À·ù ·Î±× ÆÄÀÏ¿¡ ´ÙÀ½°ú °°Àº ¿À·ù°¡ ¹ß»ýÇÒ ¼öÀÖ´Â RSS¸¦ ºÐ¼®ÇÒ Çʿ䰡 PHP¿¡¼­ :

For Magpie RSS: ±îÄ¡ÀÇ RSS :

PHP Warning: gmmktime() expects parameter 3 to be long, string given in ¡¦../magpie/rss_utils.inc on line 35 PHP´Â °æ°í : gmmktime () º¯¼ö 3 ±ä ¹®ÀÚ¿­À» ... ... / ±îÄ¡ / rss_utils.inc¿¡¼­ ¶óÀÎ 35¿¡ ÁÖ¾îÁø µÉ °ÍÀ¸·Î ±â´ëÇϰí

For WordPress 2: ¿öµå 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´Â °æ°í : gmmktime () º¯¼ö 3 ±ä ¹®ÀÚ¿­¿¡ ÁÖ¾îÁø / usr/local/www/apache22/data/wordpress-mydigitallife/wp-includes/rss-functions.php ¶óÀÎ 788¿¡ÀÖÀ» °ÍÀ¸·Î ¿¹»ó

The error usually only occurs if you are using or upgrading to PHP 5.1. ¶Ç´Â PHP¸¦ »ç¿ëÇÏ´Â °æ¿ì 5.1·Î ¾÷±×·¹ÀÌ µåÇÏ´Â ¿À·ù´Â ´ë°³¿¡¸¸ ¹ß»ýÇÕ´Ï´Ù.

The resolution is to edit rss_utils.inc in MagpieRSS or rss-functions.php in WordPress and changes the line below: ÇØ»óµµ MagpieRSS ¶Ç´Â RSS¿¡ rss_utils.inc - ¿öµå ¹× º¯°æ¿¡ functions.php ¾Æ·¡ ¶óÀÎÀ» ¼öÁ¤ÇÏ´Â °ÍÀÔ´Ï´Ù :

$epoch = gmmktime( $hours, $minutes, $seconds, $month, $day, $year); $ ȹ±â = gmmktime ($ ½Ã°£, $ ºÐ, $ ÃÊ, $ ´Þ, $ ÇÏ·ç¿¡ $ 1 ³â);

to the following line by adding +0 after the third variables ($seconds): ´ÙÀ½ ¶óÀÎÀº ¼¼ ¹øÂ° º¯¼ö ($ ÃÊ) ÈÄ Ãß°¡ +0 :ÇÏ¿©

$epoch = gmmktime( $hours, $minutes, $seconds+0, $month, $day, $year); $ ȹ±â = gmmktime ($ ½Ã°£, $ ºÐ, $ ÃÊ +0, $ ´Þ, $ ÇÏ·ç¿¡ $ 1 ³â);

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. Áß¿ä :ÀÌ ±â°è´Â "º¸Áõµµ¾øÀÌÀÖ´Â ±×´ë·Î"Á¦°øµË´Ï´Ù ÆäÀÌÁö¸¦ ¹ø¿ªÇß´Ù. Machine translation may be difficult to understand. ±â°è ¹ø¿ªÀ» ÀÌÇØÇϱ⠾î·Á¿ï ¼öÀÖ½À´Ï´Ù. Please refer to À» ÂüÁ¶ÇϽñ⠹ٶø´Ï´Ù original English article ¿ø·¡ ¿µ¾î ¹®¼­ whenever possible. ¾ðÁ¦µç °¡´ÉÇÕ´Ï´Ù.

Share and contribute or get technical support and help at °øÀ¯¿Í ±â¿©Çϰųª ±â¼ú Áö¿ø°ú¿¡ µµ¿òÀÌ My Digital Life Forums ³» µðÁöÅÐ »ýȰ Æ÷·³ .



5 Responses to ¡°gmmktime Error in WordPress and MagpieRSS¡± ¿öµå¿Í MagpieRSS "gmmktime ¿À·ù·Î¿¡¼­ 5 ÀÀ´ä"

  1. Sarah »ç¶ó
    April 27th, 2006 03:37 4 ¿ù 27 ÀÏ 2006 3½Ã 37ºÐ
    1

    Thanks very much for documenting this! ÀÌ ¹®¼­È­¸¦À§ÇÑ ´ë´ÜÈ÷ °¨»çÇÕ´Ï´Ù! You saved me a bunch of time and I really appreciate it. ´ç½ÅÀº ¿ì¸® µÑ¸¸ÀÇ ½Ã°£À» Àܶà ÀúÀåÇÑ Á¤¸» °¨»çÇÕ´Ï´Ù.

  2. Andrew ¾Øµå·ù
    May 22nd, 2006 02:17 2006³â 5¿ù 22ÀÏ 2½Ã 17ºÐ
    2

    The first Google result my own website showing the error. ù GoogleÀº ³» ÀÚ½ÅÀÇ À¥»çÀÌÆ®¿¡ ¿À·ù°¡ º¸¿©ÁÖ´Â °á°úÀÔ´Ï´Ù. Your¡¯s was #3 or so. ±ÍÇÏÀÇ # 3 ¶Ç´Â ±×·¸°ÔÇß´Ù. I can¡¯t thank you enough for publishing this simple fix. ÃâÆÇÀÌ ´Ü¼øÇÑ ÃæºÐÈ÷ °íÄ¥ ¼ö ¾ø´Ù¼Å¼­ °¨»çÇÕ´Ï´Ù.

  3. Douglas Karr ´õ±Û·¯½º Ä«´Â
    May 21st, 2007 06:22 2007³â 5¿ù 21ÀÏ 6½Ã 22ºÐ
    3

    Glad I found this! ÀÌ°É ¹ß°ß ´ÙÇà! I¡¯m surprised they haven¡¯t incorporated this into the version in Sourceforge! ³ª´Â ±×µéÀÌ ÅëÇÕÇÏÁö ¾ÊÀº ¹öÀüÀ¸·Î Sourceforge¿¡ ³î¶ú¾î¿ä!

  4. Frank ÇÁ·©Å©
    June 17th, 2007 05:48 6 ¿ù 17 ÀÏ 2007 5½Ã 48ºÐ
    4

    Great tips! ÁÁÀº ÆÁ! Thank you very much! Áø½ÉÀ¸·Î °¨»çÇÕ´Ï´Ù!

  5. neil epstein ´Ò ¿¦½ºÅ¸ÀÎ
    May 13th, 2008 23:54 2008³â 5¿ù 13ÀÏ 23½Ã 54ºÐ
    5

    thank you so much! Á¤¸» °í¸¶¿ö¿ä! saved me alot of time µÑ¸¸ÀÇ ½Ã°£À» ¸¹ÀÌ ±¸ÇØ

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> ÀÌ·¯ÇÑ ÅÂ±× : title="">Àº <a href="" »ç¿ëÇÒ ¼öÀÖ½À´Ï´Ù <abbr title=""> <acronym title="">ÀÇ <b> <blockquote cite=""> <cite>ÀÇ <code> <¹ã ³¯Â¥ = "">Àº <em>°¡ <i> <q cite=""> <strike>ÀÇ <strong>

Subscribe without commenting ÄÚ¸àÆ®¸¦ ±¸µ¶ÇÏÁö ¾Ê°í


Custom Search

New Articles »õ ¹®¼­

Incoming Search Terms for the Article ¿¡ ´ëÇÑ °Ë»ö ¾à°ü¹Þ´Â Á¦

magpie rss error ±îÄ¡ÀÇ RSS ¿À·ù - - $epoch = gmmktime wordpress $ ȹ±â = gmmktime ¿öµå - - google magpierss wordpress ±¸±Û MagpieRSS ¿öµå - - magpierss wordpress MagpieRSS ¿öµå - - reblog Warning: gmmktime() expects parameter 3 to be long reblog °æ°í : gmmktime () ¸Å°³ º¯¼ö 3 ±â´ëÇÏ°í ¿À·¡ - - gmmktime() expects parameter 4 to be long, string given gmmktime () ±ä ¹®ÀÚ¿­ ¸Å°³ º¯¼ö¸¦ 4 ±â´ë - - magpie rss wordpress ±îÄ¡ÀÇ RSS ¿öµå - - Warning: gmmktime() expects parameter 3 to be long °æ°í : gmmktime () ¸Å°³ º¯¼ö 3 ±â´ëÇÏ°í ¿À·¡ - - wordpress magpie rss ±îÄ¡ÀÇ RSS ¿öµå - - gmmktime() expects parameter 3 to be long gmmktime () ¸Å°³ º¯¼ö 3 ±â´ëÇÏ°í ¿À·¡ - - gmmktime in javascript JavaScript¿¡¼­ gmmktime - - magpierss $published without minutes and seconds MagpieRSS $ ºÐ, ÃʾøÀÌ ÃâÆÇ - - magpierss $published day, month, year MagpieRSS $ ÃâÆÇ ÇÏ·ç, ÇÑ´Þ, 1 ³â - - MagpieRSS entries in wordpress database WordPress µ¥ÀÌŸº£À̽º¿¡¼­ MagpieRSS Ç׸ñ - - magpie rss arabic ±îÄ¡ÀÇ RSS ¾Æ¶óºñ¾Æ¾î - - magpierss+wordpress MagpieRSS + ¿öµå - - error MagpieRSS rss 2.0 ¿À·ù MagpieRSSÀÇ RSS 2.0 - - Magpie rss wordpress error ±îÄ¡ÀÇ RSS ¿À·ù ¿öµå - - magpierss russian encoding problem MagpieRSS ·¯½Ã¾Æ¾î ÀÎÄÚµù ¹®Á¦ - - gmmktime gmmktime - - wordpress magpierss ¿öµå MagpieRSS - - Warning: gmmktime() expects parameter 3 to be long °æ°í : gmmktime () ¸Å°³ º¯¼ö 3 ±â´ëÇÏ°í ¿À·¡ - - reblog error in rss_utils.inc rss_utils.inc¿¡ ¿À·ù reblog - - php Warning: gmmktime() expects parameter 3 to be long, string given in PHP °æ°í : gmmktime () º¯¼ö 3 ±ä ¹®ÀÚ¿­¿¡ ÁÖ¾îÁø µÉ °ÍÀ¸·Î ±â´ëÇϰí - - gmmktime() expects parameter 4 to be long error gmmktime () ¸Å°³ º¯¼ö 4 ¿À·¡ ¿À·ù°¡ÀÖÀ» °ÍÀ¸·Î ±â´ë - - flux rss wordpress magpierss À¯µ¿ RSS¸¦ MagpieRSS ¿öµå - - Arabic encoding in Magpierss MagpieRSS ¾Æ¶ø¾î ÀÎÄÚµù - - warning: gmmktime() expects parameter 4 to be long, °æ°í : gmmktime () ¿À·¡µÇ°í, ¸Å°³ º¯¼ö 4 ±â´ë - - magpierss wordpress internal server error MagpieRSS ³»ºÎ ¼­¹ö ¿À·ù ¿öµå - -