gmmktime Error in WordPress and MagpieRSS Kesalahan dalam gmmktime Wordpress dan 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: Jika Anda menjalankan PHP 5,1 dengan web server, Anda dapat menemukan error berikut di web server Apache kesalahan file log (yakni httpd-error.log) jika ada permintaan ke RSS feed dan Apache perlu parse RSS di PHP:

For Magpie RSS: Untuk melbournewooferblue RSS:

PHP Warning: gmmktime() expects parameter 3 to be long, string given in …../magpie/rss_utils.inc on line 35 PHP Warning: gmmktime () mengharapkan parameter 3 to be long, string yang diberikan dalam ... .. / pembual / rss_utils.inc on line 35

For WordPress 2: Untuk 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 () mengharapkan parameter 3 to be long, string yang diberikan dalam / 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. Kesalahan biasanya hanya terjadi jika anda menggunakan atau upgrade ke PHP 5.1.

The resolution is to edit rss_utils.inc in MagpieRSS or rss-functions.php in WordPress and changes the line below: Resolusi adalah untuk mengedit rss_utils.inc di MagpieRSS atau rss-functions.php di Wordpress dan perubahan baris berikut:

$epoch = gmmktime( $hours, $minutes, $seconds, $month, $day, $year); $ waktu = gmmktime ($ jam, $ menit, $ detik, $ bulan, $ hari, $ tahun);

to the following line by adding +0 after the third variables ($seconds): ke baris berikut dengan menambahkan 0 setelah ketiga variabel ($ detik):

$epoch = gmmktime( $hours, $minutes, $seconds+0, $month, $day, $year); $ waktu = gmmktime ($ jam, $ menit, $ detik 0, $ bulan, $ hari, $ tahun);

IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman yang diterjemahkan mesin dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Mesin terjemahan mungkin sulit dimengerti. Please refer to Silakan merujuk ke original English article artikel asli Inggris whenever possible. bila memungkinkan.


6 Responses to “gmmktime Error in WordPress and MagpieRSS” 6 Responses to "Kesalahan dalam gmmktime Wordpress dan MagpieRSS"

  1. Sura Sura
    December 18th, 2008 05:43 18 Des 2008 05:43
    6 6

    Words perfectly for me, thx Kata sempurna bagi saya, thx

  2. neil epstein neil epstein
    May 13th, 2008 23:54 13 Mei 2008 23:54
    5 5

    thank you so much! thank you so much! saved me alot of time disimpan saya banyak waktu

  3. Frank Frank
    June 17th, 2007 05:48 17 Jun 2007 05:48
    4 4

    Great tips! Great tips! Thank you very much! Terima kasih banyak!

  4. Douglas Karr Douglas Karr
    May 21st, 2007 06:22 21 Mei 2007 06:22
    3 3

    Glad I found this! Glad I menilainya! I'm surprised they haven't incorporated this into the version in Sourceforge! Saya terkejut mereka tidak dimasukkan ke dalam versi ini di Sourceforge!

  5. Andrew Andrew
    May 22nd, 2006 02:17 22 Mei 2006 02:17
    2 2

    The first Google result my own website showing the error. Google pertama hasil sendiri situs web yang menunjukkan kesalahan. Your's was #3 or so. Your's was # 3 or so. I can't thank you enough for publishing this simple fix. I can't thank you penerbitan ini cukup sederhana untuk memperbaikinya.

  6. Sarah Sarah
    April 27th, 2006 03:37 27 Apr 2006 03:37
    1 1

    Thanks very much for documenting this! Terima kasih banyak untuk dokumentasi ini! You saved me a bunch of time and I really appreciate it. You saved me a bunch of time and I really appreciate it.

Leave a Reply Meninggalkan Balas

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> Anda dapat menggunakan tag ini: <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. Berlangganan ke fitur komentar telah dinonaktifkan. To receive notification of latest comments posted, subscribe to Untuk menerima pemberitahuan tentang komentar terbaru diposting, berlangganan My Digital Life Comments RSS feed Saya Digital Life Komentar RSS feed or atau register to receive mendaftar untuk menerima new comments in daily email digest. komentar baru di email harian digest.
Custom Search

New Articles Artikel Baru

Incoming Search Terms for the Article Cari Syarat masuk untuk Artikel

MagpieRSS wordpress MagpieRSS wordpress - -- magpie rss wordpress magpie rss wordpress - -- gmmktime() expects parameter 4 to be long gmmktime () mengharapkan parameter 4 menjadi panjang - -- gmmktime() expects parameter 3 to be long gmmktime () mengharapkan parameter 3 menjadi panjang - -- Parse error: syntax error, unexpected '.' Parse error: syntax error, unexpected ''. in wp-includes/user.php on line 492 di wp-includes/user.php on line 492 - -- install wordpress parse error "492" install wordpress parse error "492" - -- Warning: gmmktime() expects Peringatan: gmmktime () mengharapkan - -- magpierss fix magpierss memperbaiki - -- gmmktime gmmktime - -- MagpieRSS arabic encoding problem MagpieRSS Arab Encoding problem - -- freedownload magpieRss freedownload magpieRss - -- Magpie RSS turkce RSS magpie Türkçe - -- magpie rss korean magpie rss Korea - -- gmmktime error gmmktime kesalahan - -- magpierss wordpress plugin magpierss wordpress plugin - -- Parse error: syntax error, unexpected '.' Parse error: syntax error, unexpected ''. in 492 wordpress 492 di wordpress - -- wordpress magpierss wordpress magpierss - -- Parse error: syntax error, wp-includes/user.php on line 492 Parse error: syntax error, wp-includes/user.php on line 492 - -- MagpieRSS arabic MagpieRSS Arab - -- wordpress Parse error: syntax error, unexpected wp-includes/user.php on line 492 wordpress Parse error: syntax error, unexpected wp-includes/user.php on line 492 - -- wordpress Parse error: syntax error, unexpected on line 492 wordpress Parse error: syntax error, unexpected on line 492 - -- MagpieRSS polish MagpieRSS Polish - -- magpierss and wordpress link not working magpierss wordpress dan link tidak berfungsi - -- Parse error user.php on line 492 Kesalahan Parse user.php on line 492 - -- magpierss chinese magpierss Cina - -- MagpieRSS worpress MagpieRSS worpress - -- arabic rss encode error Arab rss encode kesalahan - -- wordpress MagpieRSS update wordpress MagpieRSS memperbarui - --