Xcart錯誤我正在我的Xcart下店,我得到的網頁瀏覽器的頂部以下錯誤:引起的SQL語法
INVALID SQL: 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_MAX_JOIN_SIZE=1073741824' at line 1
SQL QUERY FAILURE:SET OPTION SQL_MAX_JOIN_SIZE=1073741824
INVALID SQL: 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_BIG_SELECTS=1' at line 1
SQL QUERY FAILURE:SET OPTION SQL_BIG_SELECTS=1
INVALID SQL: 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_BIG_SELECTS=1' at line 1
SQL QUERY FAILURE:SET OPTION SQL_BIG_SELECTS=1
什麼原因這個,所以我可以清除錯誤?
謝謝!
以及如何替換這些字符串?我只需要mysql查詢? –
你必須更改php文件。 –
'sed -i's/SET OPTION/SET SESSION /''grep --include ='*。php'-rl'SET OPTION'〜/ www/xcart_4_6_x'' –