Post by tgdonohue » Wed Jan 11, 2017 10:58 pm

I am running OC 2.3.02 on an IIIS server
Unfortunately pages are generating this error

Warning: fclose() expects parameter 1 to be resource, boolean given in D:\CustomerData\webspaces\webspace_00103408\wwwroot\Shop\system\library\log.php on line 14Warning: fclose() expects parameter 1 to be resource, boolean given in D:\CustomerData\webspaces\webspace_00103408\wwwroot\Shop\system\library\log.php on line 14

Logging ito my admin dashboard I get the following related but more extensive popup:

SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 869 of the JSON data

OK

{"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"]]}<b>Warning</b>: fclose() expects parameter 1 to be resource, boolean given in <b>D:\CustomerData\webspaces\webspace_00103408\wwwroot\Shop\system\library\log.php</b> on line <b>14</b><b>Warning</b>: fclose() expects parameter 1 to be resource, boolean given in <b>D:\CustomerData\webspaces\webspace_00103408\wwwroot\Shop\system\library\log.php</b> on line <b>14</b>

On dismissing that popup there is an underlying popup

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>D:\CustomerData\webspaces\webspace_00103408\wwwroot\Shop\system\library\log.php</b> on line <b>14</b><b>Warning</b>: fclose() expects parameter 1 to be resource, boolean given in <b>D:\CustomerData\webspaces\webspace_00103408\wwwroot\Shop\system\library\log.php</b> on line <b>14</b>

New member

Posts

Joined
Sat Mar 12, 2016 3:03 am

Post by EvolveWebHosting » Thu Jan 12, 2017 1:40 am

I'm not a Windows server expert but it appears to be a file permission issue. You may need to consult with your web hosting company support to resolve this.

Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhosting.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by marketto » Sat Nov 17, 2018 3:10 am

I have exactly the same problem. I changed the permissions to all folders and files on 777, established the owner and group, but the problem does not disappear.

Newbie

Posts

Joined
Tue Nov 13, 2018 6:43 pm
Who is online

Users browsing this forum: No registered users and 10 guests