Re: Cache errors on Heroku with update to 2.3 but works fine on local?

2013-02-14 Thread Brad Koch
You're correct that Aspen and Bamboo are read only, but that doesn't apply here because the Cedar stack (which all PHP apps run on) has a writeable ephemeral file system [1]. Figured out my case though, CakePHP's default .gitignore [2] ignores the tmp directory. Therefore, since the entire tmp di

Re: Cache errors on Heroku with update to 2.3 but works fine on local?

2013-02-09 Thread Simon Males
Issue is not CakePHP 2.3 specific. Heroku is a read only file system[1]. Though you can write to /tmp. So in core.php, when setting Cache::config() update the value of the 'path' key to '/tmp'. I've also shared my production Cache::config() settings[2]. [1] https://devcenter.heroku.com/articles/r

Re: Cache errors on Heroku with update to 2.3 but works fine on local?

2013-02-08 Thread Shahruk Khan
Did not resolve the issue as of yet. I tried to change the caching engine to Redis but that requires a username / password and I never got past that. I've made a post on the official CakePHP group on Facebook. On Tuesday, January 29, 2013 11:43:10 PM UTC-5, Shahruk Khan wrote: > > I just updated

Re: Cache errors on Heroku with update to 2.3 but works fine on local?

2013-02-08 Thread Brad Koch
Ran into the same problem with a new Heroku app of ours. However, we've been running the file cache on an older app for over a year and never had problems. (Both are on the cedar stack.) Did you ever get to the bottom of this? I assume it has something to do with Heroku's philosophy of read-onl

Re: Cache errors on Heroku with update to 2.3 but works fine on local?

2013-01-30 Thread Shahruk Khan
Here's the thing - Heroku uses EC2, meaning that any files written are deleted on Git push. But I think you're right, so I'm gonna contact Heroku support the moment I get the chance. Thanks On Wednesday, January 30, 2013 7:51:12 AM UTC-5, Luciano Bargmann wrote: > > First things first: I am alm

Cache errors on Heroku with update to 2.3 but works fine on local?

2013-01-30 Thread Luciano Bargmann
First things first: I am almost sure you have a write permission problem. Have you tried to fix that? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" g

Cache errors on Heroku with update to 2.3 but works fine on local?

2013-01-29 Thread Shahruk Khan
I just updated my cake application to 2.3 and I started getting internal errors on my heroku application. *Warning* (512): /app/www/app/tmp/cache/ is not writable [*CORE/Cake/Cache/Engine/FileEngine.php*, line *336*] *Warning* (2): file_put_contents(/app/www/app/tmp/logs/error.log) [http://php