标题: 請教各位大神 /library/log.php on line 14 錯誤 [打印本页] 作者: haz92 时间: 2015-2-3 11:01 标题: 請教各位大神 /library/log.php on line 14 錯誤 完整安裝後為何會出現以下的錯誤呢?麻煩好心人士幫忙解惑,感恩~
安裝中都符合主機需求
使用系統:官方 OpenCart 2.0.0.0
進入後台中會莉
SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 3 of the JSON data
OK
[]<b>Warning</b>: fclose() expects parameter 1 to be resource, boolean given in <b>/var/www/system/library/log.php</b> on line <b>14</b>
以及
SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 812 of the JSON data
OK
{"order":{"label":"\u8a02\u55ae\u6578","data":[[1,0],[2,0],[3,0],[4,0],[5,0],[6,0],[7,0],[8,0],[9,0],[10,0],[11,0],[12,0],[13,0],[14,0],[15,0],[16,0],[17,0],[18,0],[19,0],[20,0],[21,0],[22,0],[23,0],[24,0],[25,0],[26,0],[27,0],[28,0]]},"customer":{"label":"\u7528\u6236\u6578","data":[[1,0],[2,0],[3,0],[4,0],[5,0],[6,0],[7,0],[8,0],[9,0],[10,0],[11,0],[12,0],[13,0],[14,0],[15,0],[16,0],[17,0],[18,0],[19,0],[20,0],[21,0],[22,0],[23,0],[24,0],[25,0],[26,0],[27,0],[28,0]]},"xaxis":[["1","01"],["2","02"],["3","03"],["4","04"],["5","05"],["6","06"],["7","07"],["8","08"],["9","09"],["10","10"],["11","11"],["12","12"],["13","13"],["14","14"],["15","15"],["16","16"],["17","17"],["18","18"],["19","19"],["20","20"],["21","21"],["22","22"],["23","23"],["24","24"],["25","25"],["26","26"],["27","27"],["28","28"]]}<b>Warning</b>: fclose() expects parameter 1 to be resource, boolean given in <b>/var/www/system/library/log.php</b> on line <b>14</b>
視窗下方出現以下錯誤:
Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/system/library/log.php on line 14作者: sunboy 时间: 2015-2-7 21:26
具体要分析代码,建议安装2.0.1.1版本作者: haz92 时间: 2015-2-11 17:35
已解決,LAMP全部砍掉重新安裝2.0.1.1版本後解決所有問題,不好意思站到版面。