Bug on install community on web server
2020-10-18 21:08:35
Miguel Tomas
  • Visit: 3
  • Join Date: 2020-10-18
  • Last Login: 2020-10-18
  • My Point: 0
  • PartyLevel: No Party
the folling bug appear when installing fresh on a PHP/MySQL websever and specify an empty table prefix for the DB.

15:04:00 Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zenCalm.zt_config' doesn't exist in framework/router.class.php:90
Stack trace:
#0 framework/router.class.php(90): PDO->query('SELECT value FR...')
#1 framework/base/router.class.php(378): router->setClientLang()
#2 framework/base/router.class.php(401): baseRouter->__construct('pms', '/home/h1xhyjfp3...')
#3 www/install.php(22): baseRouter::createApp('pms', '/home/h1xhyjfp3...', 'router')
#4 {main}
thrown in framework/router.class.php on line 90 when visiting
2020-10-19 14:32:31
Troy Yang
  • Visit: 752
  • Join Date: 2019-09-11
  • Last Login: 2022-11-28
  • My Point: 0
  • PartyLevel: No Party

Hi Miguel,

As i just tested, blank prefix doesn't work as you mentioned and i got the same error.

You could go and delete my.php in /zentao/config/ and visit your web server again and use the default one 

i.e "zt_"  to install it successfully,or ask for a config.php which can fix this problem completely 

by my email address troy@easycorp.ltd.

Last edited by Troy on 2020-10-19 15:09:13