You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.
I was having issuses with CakeResqueue not finding Shell in a non-standard Plugin path.
The plugin path is hardcoded on line 45 of Resque_Job_Creator.php. This should use App::pluginPath($plugin). I have plugins that are in another directory and CakeResque can't find them. I had to create a symlink from my Plugin directory to the actual path to figure out what the problem was.
I was having issuses with CakeResqueue not finding Shell in a non-standard Plugin path.
The plugin path is hardcoded on line 45 of Resque_Job_Creator.php. This should use App::pluginPath($plugin). I have plugins that are in another directory and CakeResque can't find them. I had to create a symlink from my Plugin directory to the actual path to figure out what the problem was.
Replace this:
$classpath = self::$rootFolder . (empty($plugin) ? '' : 'Plugin' . DS . $plugin . DS) . 'Console' . DS . 'Command' . DS . $model . '.php';
with this:
if (empty($plugin)) {
$classpath = self::$rootFolder . 'Console' . DS . 'Command' . DS . $model . '.php';
} else {
$classpath = App::pluginPath($plugin) . 'Console' . DS . 'Command' . DS . $model . '.php';
}
The text was updated successfully, but these errors were encountered: