Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CakePHP 1.3 Error: Fatal error: Call to a member function cd() on a non-object in /var/www/html/projectname/cake/libs/cache/file.php on line 248

When I install and give permission to whole CakePHP folder, it gives me below fatal error:

Server Configurations: CakePHP 1.3.x version PHP Version 5.3.6

Fatal error: Call to a member function cd() on a non-object in /var/www/html/xyz/cake/libs/cache/file.php on line 248

I tried to search on Google, but not much helpful.

Any idea, how to resolve this?

Regards !

like image 754
Aditya P Bhatt Avatar asked Nov 30 '22 08:11

Aditya P Bhatt


1 Answers

in your /app/config/core.php uncomment the date_default_timezone_set line

like image 123
Anh Pham Avatar answered Jan 18 '23 20:01

Anh Pham