First of all, thank you Allessandro for OpenUpload, which is really fantastic software. Rock solid, efficient and any user I know that used it just loves it.
I have installed OpenUpload correctly on few machines. On one of them I hit a problem recently which I was able to resolve for now, but it will re-appear in near future surely. The problem is realted to php7. Affected machine is in a cloud, running OpenSuse Linux, Apache2, MariaDB. Rolled release OpenSuse distro, called Tumbleweed, has recently moved to php7 version completely, abandoning php5 probably forever. Due to security related reasons, OpenUpload was running on Tumbleweed. I resolved the issue by downgrading/moving back to lastest stable version of OpenSuse (42.3) called Leap, where php5 is still available. Before I did that, I switched from old mysql_connect to mysqli_connect using your modified files (thank you for that too!). I modified all required config files of Apache and PHP7 but ended with unresolved issue of error - query failed: SELECT FROM langs WHERE active="1" ORDER BY id . I was checking the database, its tables, nothing changed, all data were there unchanged.
I can expect, that php5 removal sooner or later affect Leap release too.
Question for you - do you plan to rewrite OpenUpload code so it could be installed and run with php7? Or maybe database should be reorganized somehow for php7?
Thank you in advance for any answer on that. Sorry for my poor English, I am not native English speaker. Best regards,
Wojciech Grodzki
Anonymous
Currently I'm a bit uncertain on how to proceed. OpenUpload it's old, and I have not had much time to develop it further.
Though porting it to PHP7 should be pretty simple.
I also considered doing a rewrite using yii2 framework and html5.
I only need to find some time and love for the project again.
There are so many alternatives out there that I'm not sure it's worth the job.
I disagree, this is an ideal web app to allow people to do a quick file send and be able to check its downloaded etc. I would be willing to buy a few beers for a php7 fix. There is a published smarty fix but that doesnt make it work. Currently on my test 7 system I only get warnings about class names being depreciated and nothing else, would love to have this great code running for a bit longer
Ok, I'll consider fixing it for php7 compatibility for the svn version.
put your paypal email address up and I will gladly donate some beers if this works :)