[Skip to main content](#vessel-content)

#   500 A database error has occurred. Please enable debug mode for more information

##

- **[extonjaez](/forum/user/9469-extonjaez "View extonjaez's Profile")**
- [![extonjaez's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9469.jpg)](/forum/user/9469-extonjaez "View extonjaez's Profile") Topic Author
- [ Offline](/forum/user/9469-extonjaez)

Less More

- Posts: 55
- Thank you received: 3
-
-

9 months 3 weeks ago -  9 months 3 weeks ago [\#370219](#370219) by [extonjaez](/forum/user/9469-extonjaez "View extonjaez's Profile")  *[500 A database error has occurred. Please enable debug mode for more information](/forum/25-install-update/910073-500-a-database-error-has-occurred-please-enable-debug-mode-for-more-information#370219 "-- HikaShop version -- : 6.3 -- Joomla version -- : 5.42 -- PHP version -- : 8.3x -- Browser(s) name and version -- : Chrome à jour Version 144.0.7559.110 (Build officiel) (64 bits) -- Error-message(debug-mod must be tuned on) -- : 500 A database error has occurred. Please enable debug mode for more information.during update from 6.2 to 6.3  Hello  I have this error during update from 6.2 to 6.3  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")* was created by *[extonjaez](/forum/user/9469-extonjaez "View extonjaez's Profile")*

-- HikaShop version -- : 6.3
-- Joomla version -- : 5.42
-- PHP version -- : 8.3x
-- Browser(s) name and version -- : Chrome à jour Version 144.0.7559.110 (Build officiel) (64 bits)
-- Error-message(debug-mod must be tuned on) -- : 500 A database error has occurred. Please enable debug mode for more information.during update from 6.2 to 6.3

Hello

I have this error during update from 6.2 to 6.3

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 Code:

'mon_grouping";s:1:"3";s:13:"positive_sign";s:0:"";s:13:"negative_sign";s:1:"-...' at line 152 .../libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:138 133 $this-&gt;connection = $connection; 134 $this-&gt;query = $query; 135 136 $query = $this-&gt;prepareParameterKeyMapping($query); 137 138 $this-&gt;statement = $connection-&gt;prepare($query); 139 140 if (!$this-&gt;statement) { 141 throw new PrepareStatementFailureException($this-&gt;connection-&gt;error, $this-&gt;connection-&gt;errno); 142 } 143 } mysqli-&gt;prepare() Joomla\Database\Mysqli\MysqliStatement-&gt;__construct() Joomla\Database\Mysqli\MysqliDriver-&gt;prepareStatement() Joomla\Database\DatabaseDriver-&gt;setQuery() hikashopUpdateHelper-&gt;processSQLfile() hikashopUpdateHelper-&gt;addDefaultData() updateController-&gt;install() Joomla\CMS\MVC\Controller\BaseController-&gt;execute() require_once() Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() Joomla\CMS\Dispatcher\LegacyComponentDispatcher-&gt;dispatch() Joomla\CMS\Component\ComponentHelper::renderComponent() Joomla\CMS\Application\AdministratorApplication-&gt;dispatch() Joomla\CMS\Application\AdministratorApplication-&gt;doExecute() Joomla\CMS\Application\CMSApplication-&gt;execute() require_once() mysqli-&gt;prepare() .../libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:138 133 $this-&gt;connection = $connection; 134 $this-&gt;query = $query; 135 136 $query = $this-&gt;prepareParameterKeyMapping($query); 137 138 $this-&gt;statement = $connection-&gt;prepare($query); 139 140 if (!$this-&gt;statement) { 141 throw new PrepareStatementFailureException($this-&gt;connection-&gt;error, $this-&gt;connection-&gt;errno); 142 } 143 } Joomla\Database\Mysqli\MysqliStatement-&gt;__construct() .../libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:972 967 * @since 2.0.0 968 * @throws PrepareStatementFailureException 969 */ 970 protected function prepareStatement(string $query): StatementInterface 971 { 972 return new MysqliStatement($this-&gt;connection, $query); 973 } 974 975 /** 976 * Unlocks tables in the database. 977 * Joomla\Database\Mysqli\MysqliDriver-&gt;prepareStatement() .../libraries/vendor/joomla/database/src/DatabaseDriver.php:1780 1775 1776 $query-&gt;setLimit($limit, $offset); 1777 1778 $sql = $this-&gt;replacePrefix((string) $query); 1779 1780 $this-&gt;statement = $this-&gt;prepareStatement($sql); 1781 1782 $this-&gt;sql = $query; 1783 $this-&gt;limit = (int) max(0, $limit); 1784 $this-&gt;offset = (int) max(0, $offset); 1785 Joomla\Database\DatabaseDriver-&gt;setQuery() .../administrator/components/com_hikashop/helpers/update.php:937 932 $query = $c; 933 } 934 935 $query = trim($query); 936 if(!empty($query) &amp;&amp; $this-&gt;checkSQLquery($query)) { 937 $this-&gt;db-&gt;setQuery($query); 938 try { 939 $this-&gt;db-&gt;execute(); 940 } catch(Exception $e) {} 941 } 942 unset($query); hikashopUpdateHelper-&gt;processSQLfile() .../administrator/components/com_hikashop/helpers/update.php:866 861 (11, 'Order to ship', 'O:8:"stdClass":27:{s:7:"display";s:7:"listing";s:9:"date_type";s:7:"created";s:10:"date_group";s:5:"%j %Y";s:10:"periodType";s:14:"proposedPeriod";s:14:"proposedPeriod";s:3:"all";s:6:"period";s:1:"0";s:7:"content";s:6:"orders";s:7:"filters";s:54:"a:1:{s:14:"a.order_status";a:1:{i:0;s:9:"confirmed";}}";s:15:"category_childs";s:1:"0";s:9:"customers";s:14:"last_customers";s:15:"customers_order";s:5:"sales";s:8:"partners";s:14:"last_customers";s:14:"partners_order";s:5:"sales";s:12:"compare_with";s:7:"periods";s:14:"period_compare";s:4:"none";s:5:"limit";s:0:"";s:6:"region";s:5:"world";s:6:"format";s:5:"UTF-8";s:10:"map_source";s:8:"shipping";s:12:"product_data";s:5:"sales";s:16:"product_order_by";s:4:"best";s:15:"orders_order_by";s:4:"last";s:8:"compares";N;s:10:"categories";s:3:"all";s:8:"products";s:6:"a:0:{}";s:7:"coupons";s:6:"a:0:{}";s:6:"status";s:0:"";}', 0, 11, 'all'); 862 EOD; 863 $this-&gt;db-&gt;setQuery($query); 864 $this-&gt;db-&gt;execute(); 865 866 $this-&gt;processSQLfile('currencies.sql'); 867 868 $this-&gt;db-&gt;setQuery($query); 869 $this-&gt;db-&gt;execute(); 870 871 $config = hikashop_config(); hikashopUpdateHelper-&gt;addDefaultData() .../administrator/components/com_hikashop/controllers/update.php:30 25 $newConfig-&gt;installcomplete = 1; 26 $config = hikashop_config(); 27 $config-&gt;save($newConfig); 28 $updateHelper = hikashop_get('helper.update'); 29 $updateHelper-&gt;addJoomfishElements(); 30 $updateHelper-&gt;addDefaultData(); 31 $updateHelper-&gt;createUploadFolders(); 32 $lang = JFactory::getLanguage(); 33 $code = $lang-&gt;getTag(); 34 $updateHelper-&gt;installMenu($code); 35 if($code != 'en-GB') { updateController-&gt;install() .../libraries/src/MVC/Controller/BaseController.php:730 725 } 726 727 // Record the actual task being fired 728 $this-&gt;doTask = $doTask; 729 730 return $this-&gt;$doTask(); 731 } 732 733 /** 734 * Method to get a model object, loading it if required. 735 * Joomla\CMS\MVC\Controller\BaseController-&gt;execute() .../administrator/components/com_hikashop/hikashop.php:75 70 $app-&gt;enqueueMessage('Page not found : '.$taskGroup, 'warning'); 71 return; 72 } 73 74 hikaInput::get()-&gt;set('view', $classGroup-&gt;getName() ); 75 $classGroup-&gt;execute( hikaInput::get()-&gt;get('task','listing')); 76 $classGroup-&gt;redirect(); 77 if(hikaInput::get()-&gt;getString('tmpl') !== 'component'){ 78 echo hikashop_footer(); 79 } 80 require_once() .../libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 66 // Load common and local language files. 67 $lang-&gt;load($this-&gt;app-&gt;scope, JPATH_BASE) &#124;&#124; $lang-&gt;load($this-&gt;app-&gt;scope, JPATH_BASE . '/components/' . $this-&gt;app-&gt;scope); 68 69 // Execute the component 70 $loader = static function ($path) { 71 require_once $path; 72 }; 73 $loader($path); 74 } 75 } Arguments 0 string(82) "/homepages/3/d4298756585/htdocs/administrator/components/com_hikashop/hikashop.php" Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() .../libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 68 69 // Execute the component 70 $loader = static function ($path) { 71 require_once $path; 72 }; 73 $loader($path); 74 } 75 } Joomla\CMS\Dispatcher\LegacyComponentDispatcher-&gt;dispatch() .../libraries/src/Component/ComponentHelper.php:361 356 if (!static::isEnabled($option)) { 357 throw new MissingComponentException(Text::_('JLIB_APPLICATION_ERROR_COMPONENT_NOT_FOUND'), 404); 358 } 359 360 ob_start(); 361 $app-&gt;bootComponent($option)-&gt;getDispatcher($app)-&gt;dispatch(); 362 $contents = ob_get_clean(); 363 364 // Revert the scope 365 $app-&gt;scope = $scope; 366 Joomla\CMS\Component\ComponentHelper::renderComponent() .../libraries/src/Application/AdministratorApplication.php:150 145 $this-&gt;dispatchEvent( 146 'onAfterInitialiseDocument', 147 new AfterInitialiseDocumentEvent('onAfterInitialiseDocument', ['subject' =&gt; $this, 'document' =&gt; $document]) 148 ); 149 150 $contents = ComponentHelper::renderComponent($component); 151 $document-&gt;setBuffer($contents, ['type' =&gt; 'component']); 152 153 // Trigger the onAfterDispatch event. 154 $this-&gt;dispatchEvent( 155 'onAfterDispatch', Joomla\CMS\Application\AdministratorApplication-&gt;dispatch() .../libraries/src/Application/AdministratorApplication.php:206 201 ['option' =&gt; 'com_users', 'task' =&gt; 'method.add'], 202 ['option' =&gt; 'com_users', 'task' =&gt; 'method.save'], 203 ]); 204 205 // Dispatch the application 206 $this-&gt;dispatch(); 207 208 // Mark afterDispatch in the profiler. 209 JDEBUG ? $this-&gt;profiler-&gt;mark('afterDispatch') : null; 210 } 211 Joomla\CMS\Application\AdministratorApplication-&gt;doExecute() .../libraries/src/Application/CMSApplication.php:304 299 $this-&gt;sanityCheckSystemVariables(); 300 $this-&gt;setupLogging(); 301 $this-&gt;createExtensionNamespaceMap(); 302 303 // Perform application routines. 304 $this-&gt;doExecute(); 305 306 // If we have an application document object, render it. 307 if ($this-&gt;document instanceof \Joomla\CMS\Document\Document) { 308 // Render the application output. 309 $this-&gt;render(); Joomla\CMS\Application\CMSApplication-&gt;execute() .../administrator/includes/app.php:58 53 54 // Set the application as global app 55 \Joomla\CMS\Factory::$application = $app; 56 57 // Execute the application. 58 $app-&gt;execute(); require_once() .../administrator/index.php:32 27 * define() is used rather than "const" to not error for PHP 5.2 and lower 28 */ 29 \define('_JEXEC', 1); 30 31 // Run the application - All executable code should be triggered through this file 32 require_once __DIR__ . '/includes/app.php'; Arguments 0 string(62) "/homepages/3/d4298756585/htdocs/administrator/includes/app.php"

Last edit: 9 months 3 weeks ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDA3My01MDAtYS1kYXRhYmFzZS1lcnJvci1oYXMtb2NjdXJyZWQtcGxlYXNlLWVuYWJsZS1kZWJ1Zy1tb2RlLWZvci1tb3JlLWluZm9ybWF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

9 months 3 weeks ago [\#370220](#370220) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[500 A database error has occurred. Please enable debug mode for more information](/forum/25-install-update/910073-500-a-database-error-has-occurred-please-enable-debug-mode-for-more-information#370220 "-- HikaShop version -- : 6.3 -- Joomla version -- : 5.42 -- PHP version -- : 8.3x -- Browser(s) name and version -- : Chrome à jour Version 144.0.7559.110 (Build officiel) (64 bits) -- Error-message(debug-mod must be tuned on) -- : 500 A database error has occurred. Please enable debug mode for more information.during update from 6.2 to 6.3  Hello  I have this error during update from 6.2 to 6.3  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")*

Hi,

Thank you for your feedback. I've made a patch for this. Please try again.

The following user(s) said Thank You: [oxido](/forum/user/29793-oxido "View oxido's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDA3My01MDAtYS1kYXRhYmFzZS1lcnJvci1oYXMtb2NjdXJyZWQtcGxlYXNlLWVuYWJsZS1kZWJ1Zy1tb2RlLWZvci1tb3JlLWluZm9ybWF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[extonjaez](/forum/user/9469-extonjaez "View extonjaez's Profile")**
- [![extonjaez's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9469.jpg)](/forum/user/9469-extonjaez "View extonjaez's Profile") Topic Author
- [ Offline](/forum/user/9469-extonjaez)

Less More

- Posts: 55
- Thank you received: 3
-
-

9 months 3 weeks ago [\#370221](#370221) by [extonjaez](/forum/user/9469-extonjaez "View extonjaez's Profile")  Replied by *[extonjaez](/forum/user/9469-extonjaez "View extonjaez's Profile")* on topic *[500 A database error has occurred. Please enable debug mode for more information](/forum/25-install-update/910073-500-a-database-error-has-occurred-please-enable-debug-mode-for-more-information#370221 "-- HikaShop version -- : 6.3 -- Joomla version -- : 5.42 -- PHP version -- : 8.3x -- Browser(s) name and version -- : Chrome à jour Version 144.0.7559.110 (Build officiel) (64 bits) -- Error-message(debug-mod must be tuned on) -- : 500 A database error has occurred. Please enable debug mode for more information.during update from 6.2 to 6.3  Hello  I have this error during update from 6.2 to 6.3  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")*

Works!
Merci ![;-)](/media/kunena/emoticons/24.png ";-)")

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkxMDA3My01MDAtYS1kYXRhYmFzZS1lcnJvci1oYXMtb2NjdXJyZWQtcGxlYXNlLWVuYWJsZS1kZWJ1Zy1tb2RlLWZvci1tb3JlLWluZm9ybWF0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.054 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
