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

CodersClub

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

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

[Copy link]
Post time: 2018-07-05 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-07-05 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-07-05 21:57
| Show all posts
What the PHP version used???
 Author| Post time: 2018-07-06 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-07-09 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

Top.Mail.Ru
Top.Mail.Ru

2024-03-28 17:50 GMT+3 , Processed in 0.046741 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list