我不知道为什么,但突然出现以下错误。
当我测试到本地服务器时它工作正常但是当我上传到 000webhost 服务器时它会产生错误
Variable 'sql_mode' can't be set to the value of 'REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE( @@sql_mode' SELECT
vValue
FROMconfigurations
WHEREeStatus
= 'Active' ANDvName
= > 'PAGE_DATA_LIMIT' ORDER BYiSettingId
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/