J-BusinessDirectory - SQLSTATE[42000]: Syntax error or access violation

Support Forum

 
 

 

on page administrator/index.php?option=com_jbusinessdirectory&view=company&layout=edit&id=31

Warning

Item has been saved with the following warnings.
SQLSTATE[42000]: Syntax error or access violation: 1064 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
3 replies

You have do add more info to your server & Joomla environment to get help I guess too. Joomla version, JBD version, php version, mysql version etc

 

There is a setting in JBD admin "General Settings"   Fix database have you done that easy test if it solve the problem I guess its not doing?

Hi ssnobben,

 

Thanks for your reply. Yes I did try the Fix database.

 

System Information

Setting Value

PHP Version 7.4.29

PHP Built On Linux  3.10.0-1160.62.1.el7.x86_64 #1 SMP Tue Apr 5 16:57:59 UTC 2022 x86_64
Database Type mysql
Database Version 8.0.29
Database Collation utf8mb4_0900_ai_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 7.4.29
Web Server LiteSpeed
WebServer to PHP Interface litespeed
Joomla! Version Joomla! 3.10.9 Stable [ Daraja ] 7-May-2022 17:02 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36

 

The issue is generated when a listing is saved with empty city/region.
We will address the issue on the 5.7.4 version that will be out tomorrow.

 
 
 

4 Item(s)

Show per page