Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
9 - 1 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: Problem with mytube after php upgrade
by Mamba on 2014/6/10 10:29:13

I recommend to use XoopsTube, and if you find any bugs there, please let us know. MyTube is not maintained anymore on XOOPS.

The issues that you've mentioned above, have been already fixed in XoopsTube before. We test all modules that are maintained by XOOPS Development team on PHP 5.5.x.
Re: Problem with mytube after php upgrade
by noo-b on 2014/6/10 2:26:46

this is solved...Credits and a big thank you to skenow

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.

le="color: #000000"><?php 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 to
le="color: #000000"><?php function 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.
Problem with mytube after php upgrade
by noo-b on 2014/6/9 1:51:19

Recently my host upgraded to php 5.4.29 from php 5.3xx

i noticed when opening the mytube module..i received blank page..

turning on the debug reveals no error

all other modules seems ok

Im using
XOOPS 2.57
mytube 1.05
php 5.429
mysql 5.5.36-cll

mytube module works without problem before the upgrade

i have tried XOOPSTUBE module but the custom video is not working

Who's Online

256 user(s) are online (186 user(s) are browsing Support Forums)


Members: 0


Guests: 256


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits