2
I configured and installed everything with respect to Cakephp to use via command line in Ubuntu. I created and saved the following:
class HelloShell extends AppShell {
public function main() {
$this->out('Hello world.');
}
}
Which is their sample code. But when running via command line this error is returned, which cannot load the class.
It gets in:
/home/ubuntu/cakephp/apps/almofadagram/Console/Command/HelloShell.php
And executed from right there, but as said is returned the error:
Error: Class HelloShell could not be loaded.
Which command line are you running?
– Paulo Rodrigues
The error message is "could not be found" or "could not be Loaded"? (The title says one thing and the question says another!)
– J. Bruni
I actually typed wrong in the title. It’s "could not be Loaded"
– Gilson José