Closed irongomme closed 11 years ago
Did you try to manually include the Database file on top of your resque job file ?
Any update on this issue ?
Sorry, i was very busy ...
I've big problems with models autoload, my cake common dir is under :
/var/www/lib/cakephp
so cakeresque is looking for classes under /var/www/lib/cakephp/app/Models/ but in my app, models are into /var/www/mydomain.tld/www/myapp/Models/
in /var/www/mydomain.tld/www/myapp/ , i've defined symbolic link to access cake libs.
So how to defines paths to make it work properly ?
Ps: Sorry, this is not my initial problem, but for me this is the same issue ...
I'm currently on the move so I can't look at your issue carefully, but I think there's already a similar issue. Check the closed issues, there should be a solution, but I didn't implement it, as it was an edge case.
On Monday, September 23, 2013, Jérôme DENIS wrote:
Sorry, i was very busy ...
I've big problems with models autoload, my cake common dir is under :
/var/www/lib/cakephp
so cakeresque is looking for classes under /var/www/lib/cakephp/app/Models/ but in my app, models are into /var/www/mydomain.tld/www/myapp/Models/
in /var/www/mydomain.tld/www/myapp/ , i've defined symbolic link to access cake libs.
So how to defines paths to make it work properly ?
Ps: Sorry, this is not my initial problem, but for me this is the same issue ...
— Reply to this email directly or view it on GitHubhttps://github.com/kamisama/Cake-Resque/issues/27#issuecomment-24918433 .
Hi,
I'm using several projects with the same cake lib base. So each of them are not called 'app', but the resque job try to include '/app/Config/database.php' and fails because the file is not stored here ....
any solution ?
Im working with the last version (3.3.8)