Hello everyone,
I'm really reliant to this mod so I'm here to request an update to 3.0.9
Thank you very much.
Update to 3.0.9 - FTP addon for attachment function
Re: Update to 3.0.9
Did you already test if it works or not? Iam not submitting updates if it is still working.
Knock knock
Race condition
Who's there?
Keep your 3D printing filament inventory easy • My Photos • my phpBB Extensions • custom phpBB work & Development
Race condition
Who's there?
Keep your 3D printing filament inventory easy • My Photos • my phpBB Extensions • custom phpBB work & Development
-
- Infrastructure Team Leader
- Posts: 28935
- Joined: Sat Dec 04, 2004 3:44 pm
- Location: The netherlands.
- Name: Paul Sohier
Re: Update to 3.0.9
i installed it on a 3.0.9 board, and when trying to go to the automod tab in ACP, i now just get:
Fatal error: Cannot redeclare download_file() in /rgt/163/37027/www/forum/includes/functions_transfer.php on line 231
help please?
Fatal error: Cannot redeclare download_file() in /rgt/163/37027/www/forum/includes/functions_transfer.php on line 231
help please?
-
- Registered User
- Posts: 36
- Joined: Tue Jan 06, 2009 4:22 pm
Re: Update to 3.0.9
Correction: the uninstall feature of AutoMod isn't working correctly with this mod. found this around line 231:
and,
i tried to install the mod. first all went OK. then automod said it had a custom install script that had to run. i did not run it. then i used automod to un-install it. then i tried to install it with automod again, this time automod said it could not find some replace strings in include\functions_posting.php and include\functions_privmsgs.php - cus the uninstaller had not removed the changes from the first install.. replaced with a backup of the files, all was good again.. 3rd attempt, installed it with automod, all good. autmod said it had a custom setup file i needed to run. i ran the custom installer. now i get this error when going to autmod in the ACP:
Fatal error: Cannot redeclare download_file() in /rgt/163/37027/www/forum/includes/functions_transfer.php on line 231
(i will try to fix it tomorrow i think. and normal attachment uploads still work, tho they are not sent to any ftp server at the moment. bottom line: i still dont know if this mod work with 3.0.9 out of the box... just know the uninstall button from automod is not working out of the box.)
Code: Select all
/**
* Download a file from the FTP server.
*/
function download_file($local_path, $filename)
{
global $phpbb_root_path;
$path = $this->root_path . str_replace($phpbb_root_path, '', $filename);
return $this->_get($path, $local_path);
}
/**
* Download a file from the FTP server.
*/
function download_file($local_path, $filename)
{
global $phpbb_root_path;
$path = $this->root_path . str_replace($phpbb_root_path, '', $filename);
return $this->_get($path, $local_path);
}
and,
i tried to install the mod. first all went OK. then automod said it had a custom install script that had to run. i did not run it. then i used automod to un-install it. then i tried to install it with automod again, this time automod said it could not find some replace strings in include\functions_posting.php and include\functions_privmsgs.php - cus the uninstaller had not removed the changes from the first install.. replaced with a backup of the files, all was good again.. 3rd attempt, installed it with automod, all good. autmod said it had a custom setup file i needed to run. i ran the custom installer. now i get this error when going to autmod in the ACP:
Fatal error: Cannot redeclare download_file() in /rgt/163/37027/www/forum/includes/functions_transfer.php on line 231
(i will try to fix it tomorrow i think. and normal attachment uploads still work, tho they are not sent to any ftp server at the moment. bottom line: i still dont know if this mod work with 3.0.9 out of the box... just know the uninstall button from automod is not working out of the box.)
-
- Registered User
- Posts: 36
- Joined: Tue Jan 06, 2009 4:22 pm
Re: Update to 3.0.9
Got it working in 3.0.9
-
- Registered User
- Posts: 11
- Joined: Thu Feb 21, 2008 6:56 pm