Error: Shell class SyncAccessTokenShell could not be found

1

My application is cake 2.4.4, is hosted on Amazon. Before the server was apache, but now we migrate to nginx for better performance. As already expected several problems occurred (normal), one more of them that is giving me a certain headache is the console

Command to run on terminal:

../app/Console/cake SyncAccessToken syncAccounts
Error: Shell class SyncAccessTokenShell could not be found.
#0 /srv/www/htdocs/app.atentools.com/lib/Cake/Console/ShellDispatcher.php(198): ShellDispatcher->_getShell('SyncAccessToken')
#1 /srv/www/htdocs/app.atentools.com/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch()
#2 /srv/www/htdocs/app.atentools.com/app/Console/cake.php(36): ShellDispatcher::run(Array)
#3 {main}

It says that the class "SyncAccessToken" was not found, but it printable the whole class before giving the error o.0

I've done a lot of research but the error persists Anyone take a guess?

    
asked by anonymous 23.10.2014 / 18:00

1 answer

1

The problem was not in ngnix!

I decided to go in php.ini, in open_short_tags I put on, since I was off

open_short_table allows you to open php files using only

What happened was that the class file was found but it was not processed, the server understood it as a text file.

    
23.10.2014 / 19:57