75530

CakeResque - Resque not found in …app/Plugin/CakeResque/Lib/CakeResque.php on line 82

Question:

CakeResque - Resque not found in ...app/Plugin/CakeResque/Lib/CakeResque.php on line 82

I've followed the instructions here: <a href="http://cakeresque.kamisama.me/install#requirements" rel="nofollow">http://cakeresque.kamisama.me/install#requirements</a> to setup CakeResque with my CakePHP project but the Resque class isn't loading. I installed CakeResque using Composer and I'm assuming I'm missing something (possible autoloader) but with no luck.

Any help is appreciated. Thanks.

Answer1:

Got help at github. I had missed adding composer autoloader in my app/Config/core.php per the instructions.

Answer2:

make sure the vendor directory is mentioned in the app/composer.json

{ "require": { "kamisama/cake-resque": "^4.1" }, "config": { "vendor-dir": "Vendor" } }

in the app/Config/core.php require the autoload

require_once dirname(__DIR__) . '/Vendor/autoload.php';

Recommend

  • Autoload classes using namespace within Symfony 1.4
  • Launch box spout
  • Cant get the zend loader to load classes only under wamp
  • How use custom libraries in Kohana 3
  • List all tables in cakePHP 3.x
  • cakephp get schema for list of tables
  • Bloomberg Data… Why doesn't Application.WorksheetFunction.BDH work?
  • Apache POI 3.17 in OSGi
  • How to: CakePHP logging in without password?
  • Position Userform differently for each ActiveCell Clicked
  • How to debug office add-in for mac?
  • Working with big files in classic ASP
  • Cakephp Form Helper
  • Calling PowerShell's where-object from C#
  • composer dependency stating in doesn't have php-xsl
  • Extending the Django 1.11 User Model
  • Prevent page break in text block with iText, XMLWorker
  • Python 3.2.2, error(scripts to exe)
  • NSIS decompiler
  • Using MouseListener to select a range of cells in a grid
  • Does Apportable support to build library binary (.a/.so)?
  • How to explicitly/implicitly implemented interface members in C++/CLI?
  • Best way to dynamically load an xml configuration file into a Flex4/Flash movie at runtime?
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Problem while Building a Setup Project for a windows Service?
  • OOP Javascript - Is “get property” method necessary?
  • JQuery Internet Explorer and ajaxstop
  • Cancel a live stream “fast motion” catch-up in Flash
  • Switching to Release Build causes runtime error in Web Reference
  • How to delay loading a property with linq to sql external mapping?
  • Cannot connect to cassandra from Spark
  • QuartzCore.framework for Mono Develop
  • Why joiner is not used after Sequence generator or Update statergy
  • Java static initializers and reflection
  • Exception on Android 4.0 `android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode)`
  • File not found error Google Drive API
  • Is it possible to post an object from jquery to bottle.py?
  • unknown Exception android
  • Observable and ngFor in Angular 2
  • Unable to use reactive element in my shiny app