0
I took a project made in CakePHP
from an old server and played on a new one, but the old server path seems to remain in the script. I played all the files in the new and when I enter the URL, it returns me:
Warning: include(/home/upimobco/public_html/lib/Cake/Error/ErrorHandler.php) [function.include]: failed to open stream: No such file or directory in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Warning: include(/home/upimobco/public_html/lib/Cake/Error/ErrorHandler.php) [function.include]: failed to open stream: No such file or directory in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Warning: include() [function.include]: Failed opening '/home/upimobco/public_html/lib/Cake/Error/ErrorHandler.php' for inclusion (include_path='/home/daint250/public_html/sitedainterage.com.br/upimob/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Warning: include(/home/upimobco/public_html/lib/Cake/Error/ErrorHandler.php) [function.include]: failed to open stream: No such file or directory in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Warning: include(/home/upimobco/public_html/lib/Cake/Error/ErrorHandler.php) [function.include]: failed to open stream: No such file or directory in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Warning: include() [function.include]: Failed opening '/home/upimobco/public_html/lib/Cake/Error/ErrorHandler.php' for inclusion (include_path='/home/daint250/public_html/sitedainterage.com.br/upimob/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Warning: set_error_handler() expects the argument (ErrorHandler::handleError) to be a valid callback in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/Configure.php on line 442
Warning: include(/home/upimobco/public_html/lib/Cake/Error/ErrorHandler.php) [function.include]: failed to open stream: No such file or directory in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Warning: include(/home/upimobco/public_html/lib/Cake/Error/ErrorHandler.php) [function.include]: failed to open stream: No such file or directory in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Warning: include() [function.include]: Failed opening '/home/upimobco/public_html/lib/Cake/Error/ErrorHandler.php' for inclusion (include_path='/home/daint250/public_html/sitedainterage.com.br/upimob/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Warning: include(/home/upimobco/public_html/lib/Cake/Error/ErrorHandler.php) [function.include]: failed to open stream: No such file or directory in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Warning: include(/home/upimobco/public_html/lib/Cake/Error/ErrorHandler.php) [function.include]: failed to open stream: No such file or directory in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Warning: include() [function.include]: Failed opening '/home/upimobco/public_html/lib/Cake/Error/ErrorHandler.php' for inclusion (include_path='/home/daint250/public_html/sitedainterage.com.br/upimob/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Warning: set_exception_handler() expects the argument (ErrorHandler::handleException) to be a valid callback in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/Configure.php on line 445
Warning: include(/home/upimobco/public_html/lib/Cake/Log/CakeLog.php) [function.include]: failed to open stream: No such file or directory in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Warning: include(/home/upimobco/public_html/lib/Cake/Log/CakeLog.php) [function.include]: failed to open stream: No such file or directory in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Warning: include() [function.include]: Failed opening '/home/upimobco/public_html/lib/Cake/Log/CakeLog.php' for inclusion (include_path='/home/daint250/public_html/sitedainterage.com.br/upimob/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/daint250/public_html/sitedainterage.com.br/upimob/lib/Cake/Core/App.php on line 546
Fatal error: Class 'CakeLog' not found in /home/daint250/public_html/sitedainterage.com.br/upimob/app/Config/bootstrap.php on line 113
That directory /home/upimobco/public_html is from the old server. Today the path is /public_html/upimob (is in that folder inside the new server, all files).
I don’t know about Cake so I don’t know where this directory is.
In the folder
app/Config
no app.default.php file ;/– Alisson Acioli
The Folder
app/
is a default generic name. Your project may be using another name. Just look upWWW_ROOT
which you should solve. Use a text editor like Notepad++ to search multiple files.– Daniel Omine