I would contact your administrators.

On 4/20/07, Davide <[EMAIL PROTECTED]> wrote:
>
> Samuel DeVore wrote:
> >
> > http://us2.php.net/manual/en/features.file-upload.errors.php
>
> By the link you provided it's noticed that the error is raised because
> there's no set for the ini variable "upload_tmp_dir".
>
> I've tried something like the following (I hoped) but didn't work, and I
> can even understand why. Do you know a way to solve it, or should I have
> to contact the administrators in order to set the variable?
>
> Thank a lot
> Davide
>
>    function beforeFilter(){
>       parent::beforeFilter();
>       //Configure::write("debug",1);
>       $tmp_dir = ini_get("upload_tmp_dir");
>       if($tmp_dir==""){
>          ini_set("upload_tmp_dir",ROOT . DS . APP_DIR . DS . "tmp");
>       }
>       $this->log($tmp_dir,LOG_DEBUG);
>       $this->log(ROOT . DS . APP_DIR . DS . "tmp" ,LOG_DEBUG);
>    }
>
>
> >
>


-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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