include/addon_lib.php
Warning line 100: unlink(/pages/24/ea/d0005025/home/htdocs/ritter/uniadmin2/addon_zips/rpgo-CharacterProfiler_latest.zip) [function.unlink]: No such file or directory
Warning line 109: unlink(/tmp/phpgRXl5C) [function.unlink]: No such file or directory
// Try to set write access on the uploaded file
if( !is_writeable($zip_file) )
// Try to set write access on the uploaded file
$try_chmod = @chmod($zip_file,0777);
if( !$try_chmod )
{
$uniadmin->error(sprintf($user->lang['error_chmod'],$zip_file));
return;
}
$try_chmod = @chmod($logo_location,0777);
if( !$try_chmod )
{
$uniadmin->error(sprintf($user->lang['error_chmod'],$logo_location));
return;
}
if( !is_writeable($zip_file) )
if( !is_writeable($zip_file) || !is_readable($zip_file) )
zanix wrote:Change that line to
- Code: Select all
if( !is_writeable($zip_file) || !is_readable($zip_file) )
Php fonctionne en suexec, c'est-à-dire qu'il est exécuté avec les droits de votre compte ftp. Vous avez via php exactement les mêmes droits que via ftp.
Users browsing this forum: No registered users and 0 guests