CakePHP 2.7 - changed server - issues finding Classes

65 Views Asked by At

Transferred an old CakePHP project to a new server to do some testing ( i don't have access to it's original server) . It's cakePHP 2.7 running on php 5.5. The project was originally built using PEAR, I've managed to install PEAR after a lot of issues with deprecated packages, but am unable to run the build.xml as it requires a package that is deprecated and I am unable to find anywhere. Fixed most of the path & redirect issues. But can't get it to find any Classes; not even App, as i have no idea where this is defined. Is it defined by PEAR? it doesn't seem to be in core.php or bootstrap.php or the initial index.php. Or if it is I can't find it.

so:

Any file that has App class for example:

App::objects('Controller');

returns:

Fatal error: Class 'App' not found in D:\xampp\htdocs\projectname\cake\app\webroot\test.php on line 2

hoping someone out there still has knowledge of cakePHP 2!

0

There are 0 best solutions below