Hosted by Codezwiz Your #1 Help Resource! french | german | italian | portuguese | spanish

8.3.11. Upload module

Figure 8-30. 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.