The tmp directories aren't affected, I only upload the controllers/
views/layouts that I've modified. The tmp dirs are still chmoded 777.

On 15 Mar, 14:25, Julian 86 <[email protected]> wrote:
> How are you working on the server?? Did you push the new code with a
> ftp programm? Then you override the permissions of the tmp
> directory...
>
> On 15 Mrz., 14:19, "[email protected]" <[email protected]> wrote:
>
> > I keep getting these error messages, they don't show up every time I
> > view a page, but every 20th pageview or so. My tmp and session
> > directory are set chmod 777. I've tried switching the session engine
> > from php to cake's own, but that didn't make a difference. Has anyone
> > come across this before, or has an idea of what I can try to fix it?
>
> > Here's the error:
>
> > Warning (2): fopen(/tmp/sess_4bbc6925e4dc2234b2253a5a6d370c27)
> > [function.fopen]: failed to open stream: Permission denied [CORE/cake/
> > libs/file.php, line 156]
>
> > $mode   =       "rb"
> > $force  =       false
>
> > fopen - [internal], line ??
> > File::open() - CORE/cake/libs/file.php, line 156
> > File::read() - CORE/cake/libs/file.php, line 175
> > FileEngine::clear() - CORE/cake/libs/cache/file.php, line 225
> > FileEngine::gc() - CORE/cake/libs/cache/file.php, line 109
> > Cache::engine() - CORE/cake/libs/cache.php, line 160
> > Cache::config() - CORE/cake/libs/cache.php, line 126
> > include - APP/config/core.php, line 238
> > Configure::__loadBootstrap() - CORE/cake/libs/configure.php, line 648
> > Configure::getInstance() - CORE/cake/libs/configure.php, line 137
> > include - CORE/cake/bootstrap.php, line 43
> > [main] - APP/webroot/index.php, line 77
>
> > Warning (2): fopen(/tmp/sess_60bc2ba565993335f0ad0be8d63af1eb)
> > [function.fopen]: failed to open stream: Permission denied [CORE/cake/
> > libs/file.php, line 156]
>
> > Warning (2): fopen(/tmp/sess_ac46f56f90566da28651803e9d8f8997)
> > [function.fopen]: failed to open stream: Permission denied [CORE/cake/
> > libs/file.php, line 156]
>
> > Warning (2): fopen(/tmp/sess_da8afc546b848ea90fd55b7f117c0ab6)
> > [function.fopen]: failed to open stream: Permission denied [CORE/cake/
> > libs/file.php, line 156]
>
> > Warning (2): fopen(/tmp/sess_fc0fe5113eb55f71fc9b1eb20de04999)
> > [function.fopen]: failed to open stream: Permission denied [CORE/cake/
> > libs/file.php, line 156]
>
> > ..and so on, this list continues endlessly (until I press stop in the
> > browser)

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to