Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.
Please keep in mind:
Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/web97/html/:/var/www/web97/phptmp/:/var/www/web97/files/:/var/www/web97/atd/:/usr/local/php5.5/lib/php/:/usr/local/php5.5/pear/) in /var/www/web97/html/buzzpics/app/lib/classes/class.upload.php on line 216
if(!$this->downstream) {
throw new UploadException("Can't get a tempnam", 200);
}
if(!$this->downstream or !is_writable($this->downstream)) {
$this->downstream = tempnam($this->destination, 'chvtemp');
}
Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/web97/html/:/var/www/web97/phptmp/:/var/www/web97/files/:/var/www/web97/atd/:/usr/local/php5.5/lib/php/:/usr/local/php5.5/pear/) in /var/www/web97/html/buzzpics/app/lib/classes/class.upload.php on line 216
Yes, and now I know that the problem is the open_basedir restriction aka no write access to /tmp folder.Did you notice the error log thag I posted?
Still no luck with ^this code...if(!$this->downstream or !@is_writable($this->downstream)) {$this->downstream = tempnam($this->destination, 'chvtemp');
}
$this->downstream = tempnam(sys_get_temp_dir(), 'chvtemp');
$this->downstream = tempnam('/var/www/web97/phptmp', 'chvtemp');
// Set the downstream file
$this->downstream = tempnam(sys_get_temp_dir(), 'chvtemp');
if(!$this->downstream) {
throw new UploadException("Can't get a tempnam", 200);
}
// Set the downstream file
$this->downstream = @tempnam(sys_get_temp_dir(), 'chvtemp');
if(!$this->downstream or !@is_writable($this->downstream)) {
$this->downstream = @tempnam($this->destination, 'chvtemp');
if(!$this->downstream) {
throw new UploadException("Can't get a tempnam", 200);
}
}
I'll do thisBtw you should also try beg your host to fix their crappy PHP setup.