Sentora Support Forums
repo browser Critical Error: [0144] - Sentora database 'query' error (42000). - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: repo browser Critical Error: [0144] - Sentora database 'query' error (42000). (/showthread.php?tid=11916)



repo browser Critical Error: [0144] - Sentora database 'query' error (42000). - zustudios - 12-21-2019

I went to my repo browser and tried to install a module and I got:
Quote:Critical Error: [0144] - Sentora database 'query' error (42000).

A database query has caused an error, the details of which can be found below.

Error message:

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 ''h.end=i=function(){s.className=s.className.replace(RegExp(''' at line 1

SQL Executed:

SELECT * FROM x_modules WHERE mo_folder_vc = 'h.end=i=function(){s.className=s.className.replace(RegExp(''

Stack trace:

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 ''h.end=i=function(){s.className=s.className.replace(RegExp(''' at line 1' in /etc/sentora/panel/dryden/db/driver.class.php:125

#0 /etc/sentora/panel/dryden/db/driver.class.php(125): PDO->query('SELECT * FROM x...')
#1 /etc/sentora/panel/modules/repo_browser/code/controller.ext.php(58): db_driver->query('SELECT * FROM x...')
#2 /etc/sentora/panel/modules/repo_browser/code/controller.ext.php(275): module_controller::ListModules()
#3 /etc/sentora/panel/etc/tmp/storage/Sentora2/f2d3d874516da03e854b2815788cab33.cache(498): module_controller::getModuleList()
#4 /etc/sentora/panel/dryden/ui/templateparser.class.php(364): include('/etc/sentora/pa...')
#5 /etc/sentora/panel/dryden/ui/templateparser.class.php(391): ui_templateparser::runPHP('...')
#6 /etc/sentora/panel/inc/init.inc.php(146): ui_templateparser::Generate('etc/styles/Sent...')
#7 /etc/sentora/panel/index.php(21): require_once('/etc/sentora/pa...')
#8 {main}