8.3.11. Upload module

Figure 8-30. Upload module.

Upload module.

Upload module.



The PHP-Nuke Upload module facilitates upload functionality for PHP-Nuke and has the following features:

Important PHP-Nuke versions greater than 6.5 and the Upload module
 

If you are using a version of PHP-Nuke greater than 6.5, you must do a minimal, but crucial, change in the index.php file of the Upload file. Otherwise, the SQL queries will use the wrong field (uid, instead of user_id) for the user in the nuke_users table, leading to errors. Find the line

if ($Version_Num == "6.5") {

and change it to:

if ($Version_Num >= "6.5") {

This will make sure that the right field names are used for all versions greater or equal to 6.5, not only for the 6.5 version. Inline graphic


Help us make a better PHP-Nuke HOWTO!

Want to contribute to this HOWTO? Have a suggestion or a solution to a problem that was not treated here? Post your comments on my PHP-Nuke Forum!

Chris Karakas, Maintainer PHP-Nuke HOWTO