Skip to main content

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

More
8 years 10 months ago - 8 years 10 months ago #283430 by plaag666
-- 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: 8 years 10 months ago by plaag666.

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

More
8 years 10 months ago #283443 by plaag666
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.

More
8 years 10 months ago #283438 by nicolas
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.

More
8 years 9 months ago #283951 by plaag666
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.

More
8 years 8 months ago #286928 by designer71
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.

More
8 years 8 months ago #286948 by nicolas
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.

More
8 years 8 months ago #286979 by designer71

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

More
8 years 5 months ago #291067 by Bender
cant fint actual topic
Code:
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.

More
8 years 5 months ago #291088 by nicolas
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.

More
8 years 5 months ago #291162 by Bender

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

Time to create page: 0.223 seconds
Powered by Kunena Forum