Post by Sm00dE » Sun Apr 17, 2016 2:49 am

Get this one error after login in administration

Code: Select all

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>/home/idejukra/domains/idejukrautuvele.lt/public_html/system/library/log.php</b> on line <b>14</b><b>Warning</b>: fclose() expects parameter 1 to be resource, boolean given in <b>/home/idejukra/domains/idejukrautuvele.lt/public_html/system/library/log.php</b> on line <b>14</b>

Code: Select all

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

OK

{"order":{"label":"U\u017esakymai","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]]},"customer":{"label":"Klientai","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]]},"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"]]}<b>Warning</b>: fclose() expects parameter 1 to be resource, boolean given in <b>/home/idejukra/domains/idejukrautuvele.lt/public_html/system/library/log.php</b> on line <b>14</b><b>Warning</b>: fclose() expects parameter 1 to be resource, boolean given in <b>/home/idejukra/domains/idejukrautuvele.lt/public_html/system/library/log.php</b> on line <b>14</b>
on website error

Code: Select all

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/idejukra/domains/idejukrautuvele.lt/public_html/system/library/log.php on line 14Warning: fclose() expects parameter 1 to be resource, boolean given in /home/idejukra/domains/idejukrautuvele.lt/public_html/system/library/log.php on line 14
any ideas how to fix it?
Last edited by Sm00dE on Sun Apr 17, 2016 9:31 am, edited 1 time in total.

New member

Posts

Joined
Wed Feb 01, 2012 4:32 am

Post by Randem » Sun Apr 17, 2016 4:52 am

Hi Sm00dE,

That is not the problem that is a symptom. Please give details on how you got to this predicament...

you need to give at least some basic information

OpenCart Version
Exactly what you did to get to this point
ETC...

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by Sm00dE » Sun Apr 17, 2016 6:14 am

Ohh.. sorry your are right :)) forget to wrote it.

Those errors appears when i change URL from subdomain to main shop domain

New member

Posts

Joined
Wed Feb 01, 2012 4:32 am

Post by IP_CAM » Sun Apr 17, 2016 9:11 am

but you forgot again, to mention, what OC Version you use, and what SUB/PATH you defined in your .htacces file... :-\
sample:

Code: Select all

# SEO URL Settings
RewriteEngine On
RewriteBase /shop/
just to mention it...
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Sm00dE » Sun Apr 17, 2016 9:24 am

Opencart 2.2 fresh new without any modifications and .htacces off

New member

Posts

Joined
Wed Feb 01, 2012 4:32 am
Who is online

Users browsing this forum: No registered users and 68 guests