Error: Shell class Syncaccesstokenshell could not be found

Asked

Viewed 45 times

1

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

Command to be executed in 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}

He says that the "Syncaccesstoken" class was not found, but he prints the whole class before giving the error o.0

I have already researched enough but the error persists Someone risks a hunch?

1 answer

1


The problem wasn’t in ngnix!

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

open_short_table lets you open php files using only

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.