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 Webサーバのエラーログファイル(すなわちのhttpd - error.log )の要求をするときには、 RSSフィードとは、 Apacheの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:の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の警告: 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: rss_utils.incの解決方法を編集するにはmagpierssまたはRSS - 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には、次の行を追加した後、 3番目の変数( $秒) :

$epoch = gmmktime( $hours, $minutes, $seconds+0, $month, $day, $year); $エポック= gmmktime ( $時間、 $分、 $秒+0 、 $月日、 $日、 $年) ;

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” 5レスポンスを" gmmktimeにエラーが発生WordPressのとmagpierss "

  1. Sarahサラ
    April 27th, 2006 03:37 2006年4月27日03: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日02: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日06:22
    3 4

    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 2007年6月17日05: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> これらのタグを使用することができます: <aのhref=のtitle= <abbrのtitle= <blockquote cite=""> <cite> <acronymのtitle= <b>ダウンロードの<code> <デル日時= " " >の<em> <i>て<strike> <strong> <q cite="">

Subscribe without commenting登録なしのコメント


Custom Search

New Articles新しい記事

Incoming Search Terms for the Article検索用語を受信するには

Warning: gmmktime() expects parameter 3 to be long 警告: gmmktime ( )期待されるパラメータ3長い - - magpie rss gmmktime() expects parameter 3 to be long, string given カササギのRSS gmmktime ( )期待されるパラメータ3長い、文字列を与えられた - - gmmktime() expects parameter 3 to be long php update gmmktime ( )期待されるパラメータ3長いPHPの更新プログラム - - magpierss, wordpress plugins magpierss 、 WordPressの差込 - - gmmktime() expects parameter 3 gmmktime ( )は、パラメータ3 - - "gmmktime() expects" " gmmktime ( )を期待" - - PHP Warning: gmmktime() PHPの警告: gmmktime ( ) - - portugues magpie ポルトガル語カササギ - - rss-functions wordpress encoding WordPressのエンコーディング機能のRSS - - magpierss wordpress magpierssのWordPress - - gmmktime() expects parameter 3 to be long, s gmmktime ( )期待されるパラメータ3長く、秒 - - magpie rss files in wordpress カササギRSSファイルはWordPress - - "gmmktime() expects parameter 3 to be long" " gmmktime ( )期待されるパラメータ3長い" - - magpierss wordpress 2.6 magpierssのWordPress 2.6 - - Warning: gmmktime() expects parameter 3 to be long, string given in wordpress 警告: gmmktime ( )期待されるパラメータ3長い、文字列を与えられたのWordPress - - gmmktime() expects parameter 6 to be long gmmktime ( )期待されるパラメータ6長い - - magpie rss wordpress カササギのRSSのWordPress - - last version of MagpieRSS 最終更新のバージョンのmagpierss - - gmmktime() gmmktime ( ) - - magpierss encoding problem magpierssのエンコーディングの問題 - - magpierss for chinese 中国語magpierss - - magpierss php parse month day year PHPのパースmagpierss年月日 - - PHP MagpieRSS gmmktime() expects parameter 3 to be long PHPのmagpierss gmmktime ( )期待されるパラメータ3長い - - magpie rss wordpress missing images カササギのRSS WordPressの行方不明の画像 - - error gmmktime() expects parameter 3 to be long エラーが発生gmmktime ( )期待されるパラメータ3長い - - magpieRSS AND wordpress 2.6 magpierssとのWordPress 2.6 - - Magpie RSS and WordPress Feeds encoding problem カササギのRSSフィードのエンコーディングの問題とのWordPress - - 致命的 落ち度 致命的落ち度 - - Critical Meat megaupload 重要な肉megaupload - - gmmktime() expects parameter 3 to be long, gmmktime ( )期待されるパラメータ3長く、 - -