Page 1 of 1

Checkout Error

Posted: Tue Sep 25, 2012 10:22 am
by kokoflex
The is the error i get when want to check out:

SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data

OK

{"country_id":"156","name":"Nigeria","iso_code_2":"NG","iso_code_3":"NGA","address_format":"First Name = {firstname}\r\nLast Name = {lastname}\r\nCompany = {company}\r\nAddress 1 = {address_1}\r\nAddress 2 = {address_2}\r\nCity = {city}\r\nZone = {zone}\r\nZone Code = {zone_code}\r\nCountry = {country}","postcode_required":"0","zone":[{"zone_id":"2388","country_id":"156","code":"AB","name":"Abia","status":"1"},{"zone_id":"2389","country_id":"156","code":"CT","name":"Abuja Federal Capital Territory","status":"1"},{"zone_id":"2390","country_id":"156","code":"AD","name":"Adamawa","status":"1"},{"zone_id":"2391","country_id":"156","code":"AK","name":"Akwa Ibom","status":"1"},{"zone_id":"2392","country_id":"156","code":"AN","name":"Anambra","status":"1"},{"zone_id":"2393","country_id":"156","code":"BC","name":"Bauchi","status":"1"},{"zone_id":"2394","country_id":"156","code":"BY","name":"Bayelsa","status":"1"},{"zone_id":"2395","country_id":"156","code":"BN","name":"Benue","status":"1"},{"zone_id":"2396","country_id":"156","code":"BO","name":"Borno","status":"1"},{"zone_id":"2397","country_id":"156","code":"CR","name":"Cross River","status":"1"},{"zone_id":"2398","country_id":"156","code":"DE","name":"Delta","status":"1"},{"zone_id":"2399","country_id":"156","code":"EB","name":"Ebonyi","status":"1"},{"zone_id":"2400","country_id":"156","code":"ED","name":"Edo","status":"1"},{"zone_id":"2401","country_id":"156","code":"EK","name":"Ekiti","status":"1"},{"zone_id":"2402","country_id":"156","code":"EN","name":"Enugu","status":"1"},{"zone_id":"2403","country_id":"156","code":"GO","name":"Gombe","status":"1"},{"zone_id":"2404","country_id":"156","code":"IM","name":"Imo","status":"1"},{"zone_id":"2405","country_id":"156","code":"JI","name":"Jigawa","status":"1"},{"zone_id":"2406","country_id":"156","code":"KD","name":"Kaduna","status":"1"},{"zone_id":"2407","country_id":"156","code":"KN","name":"Kano","status":"1"},{"zone_id":"2408","country_id":"156","code":"KT","name":"Katsina","status":"1"},{"zone_id":"2409","country_id":"156","code":"KE","name":"Kebbi","status":"1"},{"zone_id":"2410","country_id":"156","code":"KO","name":"Kogi","status":"1"},{"zone_id":"2411","country_id":"156","code":"KW","name":"Kwara","status":"1"},{"zone_id":"2412","country_id":"156","code":"LG","name":"Lagos","status":"1"},{"zone_id":"2413","country_id":"156","code":"NA","name":"Nassarawa","status":"1"},{"zone_id":"2414","country_id":"156","code":"NI","name":"Niger","status":"1"},{"zone_id":"2415","country_id":"156","code":"OG","name":"Ogun","status":"1"},{"zone_id":"2416","country_id":"156","code":"ONG","name":"Ondo","status":"1"},{"zone_id":"2417","country_id":"156","code":"OS","name":"Osun","status":"1"},{"zone_id":"2418","country_id":"156","code":"OY","name":"Oyo","status":"1"},{"zone_id":"2419","country_id":"156","code":"PL","name":"Plateau","status":"1"},{"zone_id":"2420","country_id":"156","code":"RI","name":"Rivers","status":"1"},{"zone_id":"2421","country_id":"156","code":"SO","name":"Sokoto","status":"1"},{"zone_id":"2422","country_id":"156","code":"TA","name":"Taraba","status":"1"},{"zone_id":"2423","country_id":"156","code":"YO","name":"Yobe","status":"1"},{"zone_id":"2424","country_id":"156","code":"ZA","name":"Zamfara","status":"1"}],"status":"1"}<!-- Begin Attracta Include 2012-09-22 18:36 -->

<script type='text/javascript'>
function attracta_loadjs(url) {
(function() {
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = url;
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s, x);
})();
}
function attracta_shouldrun() {
var v = ["/admin/","/adm/","/wp-admin/","/administrator/"];
for (x in v) if(window.location.pathname.indexOf(v[x]) == 0) return false;
return true;
}
function attracta_window_width() {
if (document.body && document.body.offsetWidth) return document.body.offsetWidth;
if (document.compatMode=='CSS1Compat' && document.documentElement && document.documentElement.offsetWidth ) return document.documentElement.offsetWidth;
if (window.innerWidth) return window.innerWidth;
return 0;
}
function attracta_window_height() {
if (document.body && document.body.offsetHeight) return document.body.offsetHeight;
if (document.compatMode=='CSS1Compat' && document.documentElement && document.documentElement.offsetHeight ) return document.documentElement.offsetHeight;
if (window.innerHeight) return window.innerHeight;
return 0;
}
</script>

<!-- End Attracta Include 2012-09-22 18:36 -->

Re: Checkout Error

Posted: Tue Sep 25, 2012 12:56 pm
by inactiveaccount9912
Its because of the attracta toolbar. Disable it, and to make sure also delete the .fastinclude file from your ftp root.

Re: Checkout Error

Posted: Wed Sep 26, 2012 6:11 am
by mudoto
I get almost the same error when I want to check out.
I go to my cart, click on "next" and get the warning:

SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data


How can I get rid of it and what does it mean?

Thanks in advance,
Johanna

Re: Checkout Error

Posted: Mon Oct 22, 2012 3:18 am
by lazyhitchhiker
I need some help with this issue too. I tried disabling the Attracta service in cPanel, but I am still getting the error. I found the .fastinclude folder, and I deleted the two file in the folder. However, it did not help. I cannot add any photos to my site, and my shopping cart does not work. I need assistance with this ASAP. Thank you.

Re: Checkout Error

Posted: Tue Oct 30, 2012 12:46 pm
by inactiveaccount9912
Not the atracta service, the atracta toolbar. If you deleted the fasinclude before disablin atracta, it will add it back. The safest way is to just disable atracta and then wait for them.

Re: Checkout Error

Posted: Mon Nov 05, 2012 4:07 am
by allaroundfem
Where do I find the toolbar file?

Re: Checkout Error

Posted: Mon Nov 05, 2012 10:46 pm
by inactiveaccount9912
florinsith wrote:Disable it, and to make sure also delete the .fastinclude file from your ftp root.
Thats the file that adds it. But you should wait for it to remove after you disabled it in you atracta account because otherwise the file might reappear.

Re: Checkout Error

Posted: Thu Dec 20, 2012 8:20 am
by Kapcha
Fixed it thank you

<meta name="viewport" content="width=device-width; initial-scale=0.6; maximum-scale=1.0; minimum-scale=0.6; user-scalable=1;" />
<meta name="apple-mobile-web-app-capable" content="yes" />

was in my index