gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-29 01:15:31 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

Filename: core/MY_Model.php 中,所有代码都工作正常,Line Number: 94 上没有错误显示

最佳答案

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

'stricton' => TRUE,

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

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