Error: 1064 - You have an error in your SQL syntax; check the manual

  • Posts: 37
  • Thank you received: 4
  • Hikashop Business
6 years 11 months ago #283430

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.8.2.
-- PHP version -- : 721
-- Error-message(debug-mod must be tuned on) -- : 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND a.category_published=1 ORDER BY a.category_ordering ASC' at line 1

Hi,

I updated a new domain to PHP 7.1

After that, I migrated a website from an old domain to the new domein.

After using Akeeba to extract, i receive this error in the hikashop front-end:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') AND a.category_published=1 ORDER BY a.category_ordering ASC' at line 1

I know i'm using an older version of Hikashop. I'm willing to upgrade (just waiting for the order to be confirmed), but will upgrading solve the problem?
Is it just a PHP problem?



Tnx for your incoming feedback :-)

Last edit: 6 years 11 months ago by plaag666.

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 4
  • Hikashop Business
6 years 11 months ago #283443

Ah, i discovered this topic:

www.hikashop.com/forum/filters-search/88...ategories-error.html

After turning filters off, de website works fine.

So im gonna install update and hope for the best!

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
6 years 11 months ago #283438

Hi,

HikaShop 2.3.4 is not compatible with Joomla 3.8.4 nor with PHP 7.1
So it's already a miracle that you only have that error.
Updating will be necessary, and should indeed also fix that error.

Please Log in or Create an account to join the conversation.

  • Posts: 37
  • Thank you received: 4
  • Hikashop Business
6 years 11 months ago #283951

i believe in miracles ;-)

After updating, it works fine now!


tnx nicolas!

The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

  • Posts: 35
  • Thank you received: 2
  • Hikashop Essential
6 years 9 months ago #286928

And version of HikaShop Business: 3.2.2 - is compatible with Joomla 3.8.4 ?
Thank you/

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
6 years 9 months ago #286948

Hi,

In the tests we did so far, it's working fine. We didn't get any feedback from anyone saying that there was a problem with Joomla 3.8.4.

Please Log in or Create an account to join the conversation.

  • Posts: 35
  • Thank you received: 2
  • Hikashop Essential
6 years 9 months ago #286979

Thank you!

Please Log in or Create an account to join the conversation.

  • Posts: 218
  • Thank you received: 6
  • Hikashop Business
6 years 7 months ago #291067

cant fint actual topic

OK Table "hikashop_email_log" checked
Error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '.101.104' at line 1
Error Duplicate entry '8-85.117.101.104' for key 'PRIMARY'
OK Product categories checked

what is the matter ?

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
6 years 7 months ago #291088

Hi,

It means that you have two "helpful" entry for the same vote coming from the same IP address.
The "check database" button tries to add a condition on the hikashop_vote_user table so that this can't happen in the future but for that to be possible, it requires that there isn't some cases already in that table.
If you empty that table, it will clear all the "helpful" votes (you you can manually delete the doublons) and it will be able to add the condition.

But it's nothing to worry about.

Please Log in or Create an account to join the conversation.

  • Posts: 218
  • Thank you received: 6
  • Hikashop Business
6 years 7 months ago #291162

thank you

Please Log in or Create an account to join the conversation.

Time to create page: 0.090 seconds
Powered by Kunena Forum