AbanteCart Community

Shopping Cart Operations => Support => Topic started by: popustda on April 27, 2014, 12:22:17 PM

Title: Ajax error
Post by: popustda on April 27, 2014, 12:22:17 PM
Hi,
Can anyone tell me why i receive this message "ajax error" when you press to add a product . when you press on a basket.

i noticed this happens only when i open my website with "www"

if i open just topducan.eu everything is fine but if i open www.topducan.eu then i have this ajax error ???

in system settings in admin i set my website without "www" so maybe this is a prolem but if i set "www". in system settings then i get this error when i open a website without "www"

any clues
Title: Re: Ajax error
Post by: gordontaylor on April 27, 2014, 12:52:09 PM
Do you have a security certificate installed?
Title: Re: Ajax error
Post by: abantecart on April 27, 2014, 03:30:31 PM
Is this version 1.1.8?
Title: Re: Ajax error
Post by: popustda on April 28, 2014, 06:47:53 AM
i manually upgraded from 1.1.7 to 1.1.8 but i am having problems with upgrading sql because if some error which i have when importing in phpmyadmin.
Can this be because of this?

This error pops out only when you try to add a product without opening it (when you open a product and add it from inside then there is no this error)

thanks
Title: Re: Ajax error
Post by: abantecart on April 28, 2014, 10:20:26 AM
Anything is possible. If you upgrade partly, we can not be sure. Inspect source of the error with Firebug.
Title: Re: Ajax error
Post by: popustda on April 28, 2014, 11:38:03 AM
yes i have SSL installed which i received for free with my siteground.com hosting. can this be a problem?
Title: Re: Ajax error
Post by: popustda on April 28, 2014, 11:54:50 AM
firebug needs to be installed on firefox,right?
Title: Re: Ajax error
Post by: popustda on April 28, 2014, 11:58:14 AM
what now? lol
I never used firebug. where should i look?
Title: Re: Ajax error
Post by: popustda on April 30, 2014, 03:43:31 PM
i deaactivated SSL and no more ajax error. i think problem was because i activated SSL on my domain without www infront

Title: Re: Ajax error
Post by: gordontaylor on April 30, 2014, 03:56:54 PM
What type of security Certification do you have? What brand and what type?
Title: Re: Ajax error
Post by: llegrand on April 30, 2014, 04:46:42 PM
Gordon,  might want to check if that is a shared SSL -  he said something about free SSL with his site.

Lee
Title: Re: Ajax error
Post by: popustda on April 30, 2014, 05:15:27 PM
i received a free SSL with a 1year hosting plan which i paid around $100 for 1year. siteground.com hosting company.
is this kind of SSL a problem?
Title: Re: Ajax error
Post by: gordontaylor on April 30, 2014, 08:11:39 PM
That is exactly your issue. It's a shared SSL cert, and doesn't cover both straight URL and WWW

You'll need to buy something like GeoTrusts Rapid SSL. It covers both the alias and non-alias sides and it's also mobile compatible. You can get it for around 10 bucks most places.
Title: Re: Ajax error
Post by: popustda on May 01, 2014, 06:36:52 AM
you mean around $10 per month?
Title: Re: Ajax error
Post by: llegrand on May 01, 2014, 07:43:05 AM
I looked at SiteGround's offerings -  you need to ask your host these questions first:
1.  Do you have a dedicated IP?
2.  Do you have a private SSL  or a shared SSL? 
3.  If private,  what domain address or addresses does the SSL cover?  www AND non-www or not.

Once you know the setup you have,  it will help determine if it needs something else,  or it is just a configuration issue.


Lee
Title: Re: Ajax error
Post by: gordontaylor on May 01, 2014, 07:44:26 AM
No 10 dollars a year

you mean around $10 per month?
Title: Re: Ajax error
Post by: popustda on May 01, 2014, 05:01:07 PM
can you give me a link where i can buy for $10?
Title: Re: Ajax error
Post by: popustda on May 01, 2014, 05:20:15 PM
I solved it. I had CloudFlare free version installed and that is why i had ajax problems. btw. i have private SSL which i think can with with WWW and without www


I looked at SiteGround's offerings -  you need to ask your host these questions first:
1.  Do you have a dedicated IP?
2.  Do you have a private SSL  or a shared SSL? 
3.  If private,  what domain address or addresses does the SSL cover?  www AND non-www or not.

Once you know the setup you have,  it will help determine if it needs something else,  or it is just a configuration issue.


Lee
Title: Re: Ajax error
Post by: llegrand on May 03, 2014, 09:07:49 AM
Excellent  -glad you found the issue.  All these configurations are so important to understand.  Had not thought of CloudFlare being the issue.

It is also excellent that you have a private SSL -

Thank you for reporting how you were able to resolve the issue.  It will help us all.

Lee