3.3 Upload fail, multiserver

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
xaver19862687 said:
This is on Main Server

Login is on both Sites impossible
FTP Data is in your inbox
i´ll try Script Admin Rights
Ok, can you send me an admin login also.
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Did you re-upload the incudes/class.dbsession.php file or make any other changes to the code? My changes have reverted.
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Ok, can you set the ftp account on both servers to have write permissions, I can't edit any of the files.
 

xaver19862687

New Member
YetiShare User
Jun 27, 2013
35
0
0
on the File-Server Permissions already set
the main server make some really weird problems with the overwrite..
you must delete on the server the old file and reupload the new. i´ll try in the moment to fix that
 

uploadchest

New Member
YetiShare User
Oct 28, 2012
45
0
0
United States
Update: find this under the function removebyuser()
// @TODO - enable removal of 'direct' stored files
elseif ($storageType == 'direct')
{
unlink($filePath);
return true;
}

and change it to:
// @TODO - enable removal of 'direct' stored files
elseif ($storageType == 'direct')
{
unlink($filePath);
}

For some reason, return true hinders the deletion process and change of ID from 1 to 2 in the DB.
Cheers!