gmmktime Error in WordPress and MagpieRSS שגיאה gmmktime ב WordPress ו 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: אם אתה מפעיל PHP 5.1 עם שרת האינטרנט שלך, אתה עלול להיתקל השגיאה הבאה ב-Apache קובץ לשרת האינטרנט שגיאה יומן (כלומר httpd-error.log) בכל פעם יש בקשות ל-RSS Feed של אפאצ 'י צריך לנתח את ה-RSS ב-PHP:

For Magpie RSS: עבור Magpie RSS:

PHP Warning: gmmktime() expects parameter 3 to be long, string given in …../magpie/rss_utils.inc on line 35 PHP Warning: gmmktime () מצפה פרמטר 3 להיות ארוך, מחרוזת שניתן ... / rss_utils.inc .. עורב / על קו 35

For WordPress 2: עבור 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 () מצפה פרמטר 3 להיות ארוך, מחרוזת שניתן / 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. השגיאה בדרך כלל קורה רק אם אתה משתמש או לשדרג ל-PHP 5.1.

The resolution is to edit rss_utils.inc in MagpieRSS or rss-functions.php in WordPress and changes the line below: ההצעה היא לערוך rss_utils.inc ב-RSS או MagpieRSS functions.php ב-WordPress ושינויים את השורה הבאה:

$epoch = gmmktime( $hours, $minutes, $seconds, $month, $day, $year); עידן $ = gmmktime ($ שעות, דקות $, שניות $, $ לחודש, יום $, $ לשנה);

to the following line by adding +0 after the third variables ($seconds): את השורה הבאה על ידי הוספת 0 אחרי המשתנים השלישי ($ שניות):

$epoch = gmmktime( $hours, $minutes, $seconds+0, $month, $day, $year); עידן $ = gmmktime ($ שעות, דקות $, $ 0 שניות, $ לחודש, יום $, $ לשנה);

IMPORTANT : The page is machine translated and provided "as is" without warranty. חשוב: הדף מכונת תירגם מתפרסם "כמות שהוא" ללא אחריות. Machine translation may be difficult to understand. תרגום מכונה יכול להיות קשה להבין. Please refer to נא עיין original English article המאמר המקורי באנגלית whenever possible. בכל הזדמנות אפשרית.


6 Responses to “gmmktime Error in WordPress and MagpieRSS” 6 תגובות ל "gmmktime שגיאה WordPress ו MagpieRSS"

  1. Sura סורה
    December 18th, 2008 05:43 18 דצמבר 2008 05:43
    6 6

    Words perfectly for me, thx מילים לגמרי בשבילי, thx

  2. neil epstein אפשטיין ניל
    May 13th, 2008 23:54 13 מאי 2008 23:54
    5 5

    thank you so much! תודה רבה! saved me alot of time הציל אותי הרבה זמן

  3. Frank פרנק
    June 17th, 2007 05:48 17 יוני 2007 05:48
    4 4

    Great tips! הטיפים הגדול! Thank you very much! תודה רבה!

  4. Douglas Karr דאגלס קאר
    May 21st, 2007 06:22 21 מאי 2007 06:22
    3 3

    Glad I found this! שמחה מצאתי את זה! I'm surprised they haven't incorporated this into the version in Sourceforge! אני מופתע שהם לא משולבים זה לתוך הגירסה ב Sourceforge!

  5. Andrew אנדרו
    May 22nd, 2006 02:17 22 מאי 2006 02:17
    2 2

    The first Google result my own website showing the error. התוצאה הראשונה של גוגל באתר שלי מראה את השגיאה. Your's was #3 or so. שלך היה # 3 או משהו כזה. I can't thank you enough for publishing this simple fix. אני לא יכול להודות לך מספיק על פרסום תיקון זה פשוט.

  6. Sarah שרה
    April 27th, 2006 03:37 27 אפריל 2006 03:37
    1 1

    Thanks very much for documenting this! תודה רבה לתיעוד הזה! You saved me a bunch of time and I really appreciate it. הצלת אותי חבורה של זמן ואני ממש מעריך את זה.

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> באפשרותך להשתמש בתגים אלה: <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. כדי להירשם הערות תכונה הושבת. To receive notification of latest comments posted, subscribe to כדי לקבל הודעה העדכנית של תגובות, כדי להירשם My Digital Life Comments RSS feed החיים שלי דיגיטליות תגובות RSS Feed or או register to receive הרשמה לקבלת new comments in daily email digest. תגובות חדש ב דוא"ל תקציר יומי.
Custom Search

New Articles מאמרים חדשים

Incoming Search Terms for the Article תנאי נכנסות חיפוש עבור מאמרים

magpie rss wordpress RSS עורב WordPress - -- MagpieRSS wordpress MagpieRSS WordPress - -- gmmktime() expects parameter 4 to be long gmmktime () מצפה להיות פרמטר 4 ארוך - -- gmmktime() expects parameter 3 to be long gmmktime () מצפה פרמטר 3 להיות ארוך - -- 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" להתקין WordPress שגיאת ניתוח "492" - -- MagpieRSS arabic MagpieRSS ערבית - -- PHP Parse error: syntax error, unexpected '.' PHP שגיאת ניתוח: שגיאת תחביר, לא צפויה "." in user.php line 492 wordpress בשורה user.php 492 WordPress - -- Parse error: syntax error, unexpected '.' שגיאת ניתוח: שגיאת תחביר, לא צפויה "." in /user.php on line 492 ב / user.php on line 492 - -- Warning: gmmktime() expects אזהרה: gmmktime () מצפה - -- magpierss fix לתקן magpierss - -- gmmktime gmmktime - -- MagpieRSS arabic encoding problem הבעיה MagpieRSS קידוד ערבית - -- freedownload magpieRss magpieRss freedownload - -- Magpie RSS turkce זנבתן Turkce RSS - -- magpie rss korean קוריאנית RSS עורב - -- gmmktime error שגיאה gmmktime - -- magpierss wordpress plugin magpierss Wordpress Plugin - -- Parse error: syntax error, unexpected '.' שגיאת ניתוח: שגיאת תחביר, לא צפויה "." in 492 wordpress בשנת 492 WordPress - -- wordpress magpierss magpierss WordPress - -- Parse error: syntax error, wp-includes/user.php on line 492 שגיאת ניתוח: שגיאת תחביר, wp-includes/user.php on line 492 - -- wordpress Parse error: syntax error, unexpected wp-includes/user.php on line 492 WordPress שגיאת ניתוח: שגיאת תחביר, wp-includes/user.php צפוי על קו 492 - -- wordpress Parse error: syntax error, unexpected on line 492 WordPress שגיאת ניתוח: שגיאת תחביר, לא צפוי על קו 492 - -- MagpieRSS polish פולנית MagpieRSS - -- magpierss and wordpress link not working magpierss ו WordPress הקישור לא עובד - -- Parse error user.php on line 492 ניתוח שגיאה user.php on line 492 - -- magpierss chinese סינית magpierss - -- MagpieRSS worpress MagpieRSS worpress - -- arabic rss encode error RSS ערבית שגיאה לקודד - -- wordpress MagpieRSS update WordPress MagpieRSS עדכון - -- Warning: gmmktime() expects parameter php אזהרה: gmmktime () מצפה PHP פרמטר - -- user.php on line 492 user.php on line 492 - -- wordpress error 492 שגיאה 492 WordPress - -- wordpress and magpierss WordPress ו magpierss - -- magpie rss & wordpress RSS עורב & WordPress - -- Warning: substr() expects parameter 3 to be long oscommerce אזהרה: substr () מצפה להיות פרמטר 3 osCommerce ארוך - -- magpierss work after wordpress upgrade עבודה magpierss לאחר השדרוג WordPress - -- gmmktime() expects parameter 3 to be long, string given in gmmktime () מצפה פרמטר 3 להיות ארוך, מחרוזת נתונה - -- oscommerce Warning: substr() expects parameter 3 to be long osCommerce אזהרה: substr () מצפה פרמטר 3 להיות ארוך - -- magpierss < > & magpierss <> & - -- gmmktime() expects parameter 4 to be lon gmmktime () מצפה להיות פרמטר 4 Lon - -- gmmktime() expects parameter 4 to be long, string php5.2.6 gmmktime () מצפה פרמטר 4 להיות ארוך, מחרוזת php5.2.6 - -- rss.php error wordpress WordPress שגיאה rss.php - -- Warning: gmmktime() expects parameter 3 to be long אזהרה: gmmktime () מצפה פרמטר 3 להיות ארוך - -- wordpress "unexpected $end" WordPress "צפויה $ בסוף" - -- all הכל - -- expects parameter 3 to be long פרמטר 3 מצפה להיות ארוך - -- parser error wp-includes\user.php on line 492 שגיאה מנתח-WP כולל \ user.php on line 492 - -- PHP Warning: substr() expects parameter 3 to be long, string given in PHP Warning: substr () מצפה פרמטר 3 להיות ארוך, מחרוזת נתונה - -- yntax error, unexpected 492 שגיאה yntax, צפויה 492 - --