if anyone here having the same problem..here is the solution
Quote:
skenow wrote:
If you were to look at your server PHP logs, you might be able to pinpoint the problems. But, here's my guess - there are very few things in PHP 5.4 that will cause fatal errors that didn't cause them on 5.3. Using a superglobal ($_GET, $_POST, $_FILE) as a function parameter is one of them.
http://us.php.net/manual/en/migration54.incompatible.php
Looking for that, I find this is happening in include/functions.php in 1 function - xtube_uploading.function xtube_uploading( $_FILES, $uploaddir = 'uploads', $allowed_mimetypes = '', $redirecturl = 'index.php', $num = 0, $redirect = 0, $usertype = 1 ) {
global $_FILES, $xoopsConfig, $xoopsModuleConfig, $xoopsModule;
You should be able to just change it tofunction xtube_uploading( $files, $uploaddir = 'uploads', $allowed_mimetypes = '', $redirecturl = 'index.php', $num = 0, $redirect = 0, $usertype = 1 ) {
global $files, $xoopsConfig, $xoopsModuleConfig, $xoopsModule;
and you'll be fine.