in TablePrefix.php outside class I added print('a'); and it is shown,
means file found, also in __construct I added
echo $this->prefix;
and corrected table prefix is shown, but in entity file if I change
prefix_users to users, it gives this table not found error. please
advice. it seems the table class actually is loaded but the prefix
value is not imported in entity file!


Fatal error: Uncaught exception 'PDOException' with message
'SQLSTATE[42S02]: Base table or view not found: 1146 Table
'DBNAME.users' doesn't exist' in
/home2/edited/composer/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:699
Stack trace:
#0 
/home2/edited/composer/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(699):
PDO->query('SELECT c0_.users...')
#1 
/home2/edited/composer/vendor/doctrine/orm/lib/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php(50):
Doctrine\DBAL\Connection->executeQuery('SELECT c0_.users...', Array,
Array, NULL)
#2 /home2/edited/composer/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php(286):
Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute(Object(Doctrine\DBAL\Connection),
Array, Array)
#3 
/home2/edited/composer/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(794):
Doctrine\ORM\Query->_doExecute()
#4 
/home2/edited/composer/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(586):
Doctrine\ORM\AbstractQuery->execute(NULL, 2)
#5 /home2/edited/composer/t in
/home2/phplicen/composer/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php
on line 91

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to