RESOLVED: 2.0.1.0 admin panel login (error code + syntax)
Posted: Fri Dec 05, 2014 9:35 am
I recently upgraded from 1.5.6.4, with a successful install, and overcame some earlier issues, which now leads me to this:
After I login to the admin panel, the following error code populates my browser, followed by the actual admin panel below it:
Additionally, while the admin panel loads (after initial login), the following syntax error simultaneously appears as a pop-window in my browser:
I'm not sure how to proceed at this point. I am still able to access and navigate through the admin panel, and I have not noticed any functional limitations within the admin panel (yet), but I have not fully explored the new interface either. Any suggestions or fixes to this issue would be greatly appreciated. Also, feel free to ask any clarifying questions to help problem solve the issue.
Thanks.
After I login to the admin panel, the following error code populates my browser, followed by the actual admin panel below it:
Code: Select all
Warning: implode() [function.implode]: Invalid arguments passed in /home/content/.../admin/controller/common/header.php on line 58Warning: implode() [function.implode]: Invalid arguments passed in /home/content/.../admin/controller/common/header.php on line 59Warning: implode() [function.implode]: Invalid arguments passed in /home/content/.../admin/controller/common/header.php on line 62Warning: implode() [function.implode]: Invalid arguments passed in /home/content/.../admin/controller/common/header.php on line 63Warning: implode() [function.implode]: Invalid arguments passed in /home/content/.../admin/controller/common/stats.php on line 14Warning: implode() [function.implode]: Invalid arguments passed in /home/content/.../admin/controller/common/stats.php on line 22Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/.../admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /home/content/.../admin/controller/common/stats.php on line 37Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/.../admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /home/content/.../admin/controller/common/stats.php on line 37Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/.../admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /home/content/.../admin/controller/common/stats.php on line 37Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/.../admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /home/content/.../admin/controller/common/stats.php on line 37Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/.../admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /home/content/.../admin/controller/common/stats.php on line 37Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/.../admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /home/content/.../admin/controller/common/stats.php on line 37Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/.../admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /home/content/.../admin/controller/common/stats.php on line 37Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/.../admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /home/content/.../admin/controller/common/stats.php on line 37Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/.../admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /home/content/.../admin/controller/common/stats.php on line 37Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/.../admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /home/content/.../admin/controller/common/stats.php on line 37Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/.../admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /home/content/.../admin/controller/common/stats.php on line 37Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/.../admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /home/content/.../admin/controller/common/stats.php on line 37Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/.../admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /home/content/.../admin/controller/common/stats.php on line 37Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/content/.../admin/controller/common/stats.php on line 37Warning: in_array() expects parameter 2 to be array, null given in /home/content/.../admin/controller/common/stats.php on line 37
Code: Select all
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/content/.../admin/model/report/sale.php</b> on line <b>87</b><b>Notice</b>: Error: 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 ') AND DATE(date_added) >= '2014-12-1' GROUP BY DATE(date_added)' at line 1<br />Error No: 1064<br /> Error in: <b>/home/content/.../admin/model/report/sale.php</b> line <b>102</b><br />SELECT COUNT(*) AS total, date_added FROM `oc_order` WHERE order_status_id IN() AND DATE(date_added) >= '2014-12-1' GROUP BY DATE(date_added) in <b>/home/content/.../system/library/db/mysql.php</b> on line <b>53</b><b>Notice</b>: Trying to get property of non-object in <b>/home/content/.../admin/model/report/sale.php</b> on line <b>104</b><b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/content/.../admin/model/report/sale.php</b> on line <b>104</b>{"order":{"label":"Orders","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],[29,0],[30,0],[31,0]]},"customer":{"label":"Customers","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],[29,0],[30,0],[31,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"],["29","29"],["30","30"],["31","31"]]}
Thanks.