Request patch file 0.4.2 -> 0.4.3
Status: Beta
Brought to you by:
tsdogs
Hello,
I have been running an openupload server for years and I haven't touched it since a long time. Now I want to update to the latest version (for php 7 support) but I can't remember which files I have customized, is it possible to provide .patch files in order to upgrade without headaches ?
Regards
Anonymous
Imho from GIT you should be abpe to create the patch.
Here you go. generated with:
git format-patch --stdout 9c0c2d6ae2a1b4d78f8f72b0a1e9c251c6dd1b1a > ../openupload-0.4.2-0.4.3.patch
Hello,
Thanks for you quick reply,
I put the patch file in the openupload root directory and typed :
patch -p1 --verbose < openupload-0.4.2-0.4.3.patch
I got a bunch of errors of this kind :
When checking the site in a browser, I get this warning :
Warning: Declaration of defaultAuth::useredit($user, $pwd = false) should be compatible with authBase::useredit(&$user, $pwd = false) in /home/clients/a1bc43f/openupload/lib/modules/auth/default.inc.php on line 72
And after upgrading to php 7 some more :
*Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; AuthModule has a deprecated constructor in /home/clients/a1bc43f/openupload/lib/modules/default/auth.inc.php on line 3
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CaptchaPlugin has a deprecated constructor in /home/clients/a1bc43f/openupload/plugins/captcha.inc.php on line 3*
You should really consider much more modern and secure alternatives that are regularly updated.
Such as https://www.zend.to/