Please select To the mobile version | Continue to access the desktop computer version
| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 53|Reply: 4
Collapse the left

apache运行日志出现不少错误提示

[Copy link]
Post time: 2018-7-5 20:05
| Show all posts |Read mode
本帖最后由 AlanJia2017 于 2018-7-5 20:07 编辑

PHP Strict Standards:  Declaration of table_forum_post::update() should be compatible with discuz_table::update($val, $data, $unbuffered = false, $low_priority = false) in  xxxx

PHP Strict Standards:  Declaration of table_forum_post::delete() should be compatible with discuz_table::delete($val, $unbuffered = false) in xxx

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 xxx

PHP Strict Standards:  Declaration of table_forum_post::fetch() should be compatible with discuz_table::fetch($id, $force_from_db = false) in xx

PHP Strict Standards:  Declaration of table_forum_post::fetch_all() should be compatible with discuz_table::fetch_all($ids, $force_from_db = false) in  xxx

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) inxx

 Russia

Post time: 2018-7-5 20:28
| Show all posts
There is a good practice to report your environment when reporting a bug.
Use it please!
I guess you use PHP7, do you?

 Russia

Post time: 2018-7-5 21:57
| Show all posts
What the PHP version used???
 Author| Post time: 2018-7-6 10:47
| Show all posts
vot 2018-7-5 21:57
What the PHP version used???

我用的是WINNT / PHP v5.5.38

 Russia

Post time: 2018-7-9 19:46
| Show all posts
Thank you.
The problem is because of Dzx does not follow the PHP Strict Standards
It is a GREAT PROBLEM!
For now I can offer only one stupid solution - disable the PHP STRICT rule!
instead of this:
  error_reporting(E_ALL);
Use this modified:
  error_reporting(E_ALL ^ E_STRICT);

You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub  

2018-7-16 09:30 GMT+3 , Processed in 0.106744 sec., 11 queries .

Powered by Discuz! X3.4

Release 20170801, © 2001-2018 Comsenz Inc.

MultiLingual version, Rev. 710, © 2009-2018 codersclub.org

Quick Reply To Top Return to the list