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 私のデジタルライフフォーラム .です。
Related Articles関連記事
- How to Customize, Modify or Change WordPress Database Connection Error Pageをカスタマイズする方法、修正、または変更WordPressのデータベースへの接続エラーページ
- WordPress Charset Encoding Problem After Upgrading to Version 2.2 WordPressの文字エンコーディングの問題はバージョン2.2にアップグレードした後
- WordPress MySQL SQL Query Error in WPDB Class WordPressのMySQLのSQLクエリにエラーが発生wpdbクラス
- Download WordPress 2.3 Release Candidate 1 (RC1) with Tags SupportダウンロードのWordPress 2.3のリリース候補1 ( rc1 )にタグをサポート
- Download Previous or Old Version of WordPressダウンロードの前または古いバージョンのWordPress
- Integrate WordPress including Comments with bbPress Forum using bbSync bbpress WordPressのフォーラムを含む統合を使用してコメントをbbsync
- WordPress 2.1.1 Critical Security Alert - Download Upgrade to 2.1.2 WordPressの2.1.1の重要なセキュリティの警告-2 .1.2にアップグレードしてダウンロード
- Must Have WordPress Plugins WordPressの差込必要があります。
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page周波数または間隔を変更する方法についてのWordPressの自動作成やページの編集を保存する
- Automatically Update WordPress to Latest Version with Automatic Upgrade Plugin (WPAU) WordPressの最新版を自動的に更新の自動アップグレードの差込式( wpau )



















April 27th, 2006 03:37 2006年4月27日03:37
Thanks very much for documenting this!このドキュメントいただきありがとうございます! You saved me a bunch of time and I really appreciate it.私に多くの時間を保存と本当に感謝しています。
May 22nd, 2006 02:17 2006年5月22日02:17
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.私の公開のために十分なことはできません。いただきありがとうございますこの単純な修正プログラムです。
May 21st, 2007 06:22 2007年5月21日06:22
Glad I found this!このうれしい見つけた! I’m surprised they haven’t incorporated this into the version in Sourceforge!私は驚いていないのバージョンに組み込まこれをSourceforgeについて!
June 17th, 2007 05:48 2007年6月17日05:48
Great tips!大きなヒント! Thank you very much!本当にありがとうございます!
May 13th, 2008 23:54 2008年5月13日23:54
thank you so much!どうもありがとう! saved me alot of time私に多くの時間を保存