Jump to content

Forums

Search In
  • More options...
Find results that contain...
Find results in...

Error on statistics


Ashton
 Share

Recommended Posts

Found an issue when you click the Statistics button on the Soldiers module and then click the Personnel by MOS Tab. You get the following error. 

	SELECT * Manage*), personnel_mos FROM `perscom_personnel` WHERE personnel_mos IS NOT NULL AND personnel_enlistment_date>0 AND personnel_enlistment_date>1546465914 AND personnel_enlistment_date<1562104314 GROUP BY `personnel_mos`
IPS\Db\Exception: 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 'Manage*), personnel_mos FROM `perscom_personnel` WHERE personnel_mos IS NOT NULL' at line 1 (1064)
#0 /home/stcavalry/public_html/system/Db/Select.php(373): IPS\_Db->preparedQuery('/*IPS\\Helpers\\C...', Array, true)
#1 /home/stcavalry/public_html/system/Db/Select.php(271): IPS\Db\_Select->runQuery()
#2 /home/stcavalry/public_html/system/Helpers/Chart/Database.php(253): IPS\Db\_Select->setKeyField('personnel_mos')
#3 /home/stcavalry/public_html/system/Helpers/Chart/Dynamic.php(404): IPS\Helpers\Chart\_Database->getOutput()
#4 /home/stcavalry/public_html/applications/perscom/modules/admin/personnel/soldier.php(0): IPS\Helpers\Chart\_Dynamic->__toString()
#5 /home/stcavalry/public_html/system/Dispatcher/Controller.php(85): IPS\perscom\modules\admin\personnel\_soldier->stats()
#6 /home/stcavalry/public_html/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute()
#7 /home/stcavalry/public_html/applications/perscom/sources/Node/Controller.php(0): IPS\Node\_Controller->execute()
#8 /home/stcavalry/public_html/applications/perscom/modules/admin/personnel/soldier.php(0): IPS\perscom\Node\_Controller->execute()
#9 /home/stcavalry/public_html/system/Dispatcher/Dispatcher.php(152): IPS\perscom\modules\admin\personnel\_soldier->execute()
#10 /home/stcavalry/public_html/*********/index.php(14): IPS\_Dispatcher->run() [Removed our AdminCP link]
#11 {main}
	

Don't think this is contained to just our website as it seems to be an SQL Syntax issue.

Thanks

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.