gpt4 book ai didi

php - 变量 'sql_mode' 无法设置为“REPLACE”的值

转载 作者:行者123 更新时间:2023-11-29 15:42:32 25 4
gpt4 key购买 nike

我不知道为什么,但突然出现以下错误。

到目前为止,它工作正常,但今天它会产生以下错误 enter image description here

当我测试到本地服务器时它工作正常,但是当我上传到 000webhost 服务器时它会产生错误

Variable 'sql_mode' can't be set to the value of 'REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE( @@sql_mode' SELECT vValue FROM configurations WHERE eStatus = 'Active' AND vName = > 'PAGE_DATA_LIMIT' ORDER BY iSettingId DESC

文件名:core/MY_Model.php处,所有代码都工作正常,显示的行号:94上没有错误

最佳答案

打开文件 config/database.php并将值的变量 stricton 更改为“TRUE”

'stricton' => TRUE,

关于php - 变量 'sql_mode' 无法设置为“REPLACE”的值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57453309/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com