Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Language related bug.  (Read 14481 times)

Offline tosalet

  • Newbie
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Language related bug.
« on: October 21, 2012, 07:47:52 AM »
The cart works perfectly with all browsers on a PC as well as Chrome and  Skyfire on an iPad but it will not open at all using Safari on an iPad.

Error log shows the following:

2012-10-21 11:29:00 - database error:  AbanteCart core v.1.1.1 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 '' at line 1<br />Error No: 1064<br />INSERT INTO language_definitions (language_id,block,section,language_key,language_value,create_date) VALUES  in <b>/home/e25lapo/public_html/store/core/database/mysql.php</b> on line <b>86</b>

Any ideas? Thanks . . .
« Last Edit: October 28, 2012, 09:32:16 PM by abantecart »

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: iPad Safari issue
« Reply #1 on: October 21, 2012, 11:30:42 AM »
Based on the error I see it is not browser related error and issue with database insert.

Do you get this error in Admin or Storefront? What page or task are you performing?
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline tosalet

  • Newbie
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: iPad Safari issue
« Reply #2 on: October 21, 2012, 11:37:18 AM »
The error occurs when accessing storefront "store/index.php?rt=index/home" but only when using Safari.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: iPad Safari issue
« Reply #3 on: October 22, 2012, 05:46:08 AM »
The error occurs when accessing storefront "store/index.php?rt=index/home" but only when using Safari.
if you have v1.1.0 try to upgrade your Abantecart up to v.1.1.1.  It's just file replacing upgrade, without sql-changes.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline tosalet

  • Newbie
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: iPad Safari issue
« Reply #4 on: October 22, 2012, 07:17:51 AM »
Thanks for the suggestion but I have already done that . . .

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: iPad Safari issue
« Reply #5 on: October 22, 2012, 07:49:03 AM »
Do you still have this error?
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline tosalet

  • Newbie
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: iPad Safari issue
« Reply #6 on: October 22, 2012, 01:21:27 PM »
Yes, no change.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: iPad Safari issue
« Reply #7 on: October 22, 2012, 01:30:57 PM »
I tried my site in Ipad and no issues are found.

Can you post your full URL?
What gen of Ipad and version of OS do you have?
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline tosalet

  • Newbie
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: iPad Safari issue
« Reply #8 on: October 23, 2012, 03:30:18 AM »
iPad 2 running IOS6 and the cart is under construction at lapothecary.co.uk/store/index.php?rt=index/home.

I should also add that only Chrome and Atomic Web work correctly. It is only Safari that does not, but only on iPad - the PC version is fine.

Hope that helps . . .

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: iPad Safari issue
« Reply #9 on: October 23, 2012, 08:12:40 AM »
My best guess it can be related to language detection of the browser. Check what language do you have set in your Ipad.
If this is not English, it might

Let us know
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline tosalet

  • Newbie
  • *
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: iPad Safari issue
« Reply #10 on: October 23, 2012, 08:59:53 AM »
That is extraordinary! It was (not unnaturally since that is my home country) set to 'British English'. I have reset it to 'English' (presumably American) and it now works.

Well done . . . and thanks.  Now on to the next problem.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: iPad Safari issue
« Reply #11 on: October 23, 2012, 09:01:33 AM »
We will address this issue in the next release.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4359
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: iPad Safari issue
« Reply #12 on: October 28, 2012, 09:31:11 PM »
There are 2 small bugs that came up related to languages.
If you get error page or can not setup default non-eglish language you need to do below update of the file

NOTE: This will be fixed with next version 1.1.2

Update steps:
replace file core/lib/language.php with attached

« Last Edit: November 02, 2012, 07:46:52 AM by abolabo »
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod