CakePHP url rewrite not working or css cake.generic.css not working.

If CakePHP is not finding your image and css files and you tried everything else like activating mod rewrite, .htacess, try editing app/Config/Core.php file.

Find following line and uncomment it.

Configure::write(‘App.baseUrl’, env(‘SCRIPT_NAME’));


Popular posts from this blog

Fatal: LoadModule: error loading module 'mod_sql_mysql.c'

How to hide Android Soft Keyboard