added mkdir app/cache and chmod 777 to it.