Klaida:  Nepagautas apeException

  Bloga uzklausa (FOUND_ROWS) :

SELECT SQL_CALC_FOUND_ROWS * FROM ape_modules WHERE enabled = 1 and substring(name,1,3)='sys'


Error: (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 'rows' at line 1



#0 /home/neta/domains/praktikos.neta.lt/public_html/engine/apeDatabase.php(215): apeEngine::throwError('Bloga uzklausa ...')
#1 /home/neta/domains/praktikos.neta.lt/public_html/engine/apeDatabase.php(431): apeDatabase->sql('SELECT SQL_CALC...')
#2 /home/neta/domains/praktikos.neta.lt/public_html/engine/apeDBTable.php(162): apeDatabase->select('ape_modules', '*', 'enabled = 1 and...', '', '', '')
#3 /home/neta/domains/praktikos.neta.lt/public_html/objects/ape_modules.php(26): apeDBTable->selectRows('*', 'enabled = 1 and...')
#4 /home/neta/domains/praktikos.neta.lt/public_html/engine/apeEngine.php(93): ape_modules->getSystemModules()
#5 /home/neta/domains/praktikos.neta.lt/public_html/engine/apeEngine.php(50): apeEngine->loadSystemModules()
#6 /home/neta/domains/praktikos.neta.lt/public_html/engine/ape.php(150): apeEngine->run()
#7 /home/neta/domains/praktikos.neta.lt/public_html/index.php(4): require('/home/neta/doma...')
#8 {main}

  įvyko /home/neta/domains/praktikos.neta.lt/public_html/engine/apeEngine.php eilutėje 22