Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 2. and Doctrine 2.0
#1

[eluser]ephlodur[/eluser]
Hello all
I had a working version for Codeigniter 2.0 & Doctrine 2.0 using ubuntu 10.10 now I have move my app the Opensuse 11.4 I would not think that should make a difference.

when I try to recreate the tables on the new server I get the below:
Code:
# php doctrine orm:schema-tool:create
PHP Warning:  require(/srv/www/htdocs/doctrine/application/models/Catb.php): failed to open stream: No such file or directory in /srv/www/htdocs/doctrine/application/libraries/Doctrine/Common/ClassLoader.php on line 148
PHP Fatal error:  require(): Failed opening required '/srv/www/htdocs/doctrine/application/models/Catb.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/htdocs/doctrine/application/libraries/Doctrine/Common/ClassLoader.php on line 148

thanks for any help.
#2

[eluser]jlb[/eluser]
try running the `orm:generate-entities` command first -- looks like one of your models might be missing.




Theme © iAndrew 2016 - Forum software by © MyBB