Pme Publish time 2015-07-20 18:36

Error.log PHP Strict Standards: Declaration of table_forum_post Line 881

Error Log:
.... PHP Strict Standards:Declaration of table_forum_post::delete() should be compatible with discuz_table::delete($val, $unbuffered = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::insert() should be compatible with discuz_table::insert($data, $return_insert_id = false, $replace = false, $silent = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::fetch() should be compatible with discuz_table::fetch($id, $force_from_db = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::fetch_all() should be compatible with discuz_table::fetch_all($ids, $force_from_db = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::update_cache() should be compatible with discuz_table::update_cache($id, $data, $cache_ttl = NULL, $pre_cache_key = NULL) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::update() should be compatible with discuz_table::update($val, $data, $unbuffered = false, $low_priority = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::delete() should be compatible with discuz_table::delete($val, $unbuffered = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::insert() should be compatible with discuz_table::insert($data, $return_insert_id = false, $replace = false, $silent = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::fetch() should be compatible with discuz_table::fetch($id, $force_from_db = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::fetch_all() should be compatible with discuz_table::fetch_all($ids, $force_from_db = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::update_cache() should be compatible with discuz_table::update_cache($id, $data, $cache_ttl = NULL, $pre_cache_key = NULL) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::update() should be compatible with discuz_table::update($val, $data, $unbuffered = false, $low_priority = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::delete() should be compatible with discuz_table::delete($val, $unbuffered = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::insert() should be compatible with discuz_table::insert($data, $return_insert_id = false, $replace = false, $silent = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::fetch() should be compatible with discuz_table::fetch($id, $force_from_db = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::fetch_all() should be compatible with discuz_table::fetch_all($ids, $force_from_db = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::update_cache() should be compatible with discuz_table::update_cache($id, $data, $cache_ttl = NULL, $pre_cache_key = NULL) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::update() should be compatible with discuz_table::update($val, $data, $unbuffered = false, $low_priority = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::delete() should be compatible with discuz_table::delete($val, $unbuffered = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::insert() should be compatible with discuz_table::insert($data, $return_insert_id = false, $replace = false, $silent = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::fetch() should be compatible with discuz_table::fetch($id, $force_from_db = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::fetch_all() should be compatible with discuz_table::fetch_all($ids, $force_from_db = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::update_cache() should be compatible with discuz_table::update_cache($id, $data, $cache_ttl = NULL, $pre_cache_key = NULL) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
....

How to fix error ?

Line 881:public function update($tableid, $pid, $data, $unbuffered = false, $low_priority = false, $first = null, $invisible = null, $fid = null, $status = null) {




I checked Discuz and Discuz MLtable_forum_post.php file.Original Discuz File have 882 Line but Discuz ML file have 1763 line.I thinks its for multilangue option

vot Publish time 2015-07-20 21:28

Your table_forum_post.php is corrupted.
This file in Discuz!ML MUST be the same as in Discuz!X, i.e. 882 lines length.

P.S.
Verify that file content!
May be your site is hacked?

Pme Publish time 2015-07-20 23:16

Yes,my file modified but i don't know why my file different.now i changed it to original.How to check all files? I think Discuz have built in feature for check files but is it working for Discuz Ml?

vot Publish time 2015-07-21 07:53

File checking tool works ok in Discuz!ML.

Pme Publish time 2015-07-25 01:18

static/image/common/user_online.gif vot static/image/common/clock.gif 2015-7-21 06:53
File checking tool works ok in Discuz!ML.

Changed file to original but still add new lines to error.log file

PHP Strict Standards:Declaration of table_forum_post::update() should be compatible with discuz_table::update($val, $data, $unbuffered = false, $low_priority = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::delete() should be compatible with discuz_table::delete($val, $unbuffered = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::insert() should be compatible with discuz_table::insert($data, $return_insert_id = false, $replace = false, $silent = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::fetch() should be compatible with discuz_table::fetch($id, $force_from_db = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::fetch_all() should be compatible with discuz_table::fetch_all($ids, $force_from_db = false) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881
PHP Strict Standards:Declaration of table_forum_post::update_cache() should be compatible with discuz_table::update_cache($id, $data, $cache_ttl = NULL, $pre_cache_key = NULL) in /home/droidim/public_html/source/class/table/table_forum_post.php on line 881

vot Publish time 2015-07-26 21:01

Check that file again.
I assuming it is infected again, isn't it?
And check other files checksum.
Pages: [1]
View full version: Error.log PHP Strict Standards: Declaration of table_forum_post Line 881