xoops forums

xsell

Quite a regular
Posted on: 2016/11/26 8:01
xsell
xsell (Show more)
Quite a regular
Posts: 245
Since: 2008/9/2 1
#1

debaser 0.92 not working with xoops 2.5.8

hello

i have been using debaser 0.92 for over than 5 years but recently i upgraded my xoops from 2.5.7 to 2.5.8 but debaser stopped shown the files in any of the category i have created . when hit a category name it returns with error no files found and the inlin bug info shows this error .
UnknownOnly variables should be assigned by reference in file /modules/debaser/index.php line 39 UnknownOnly variables should be assigned by reference in file /modules/debaser/index.php line 45 UnknownOnly variables should be assigned by reference in file /modules/debaser/include/functions.php line 372 UnknownNon-static method Database::getInstance() should not be called staticallyassuming $this from incompatible context in file /modules/debaser/class/debasertree.php line 45 UnknownOnly variables should be assigned by reference in file /modules/debaser/class/debasertree.php line 45 UnknownOnly variables should be assigned by reference in file /modules/debaser/include/functions.php line 372 UnknownNon-static method Database::getInstance() should not be called staticallyassuming $this from incompatible context in file /modules/debaser/class/debasertree.php line 45 UnknownOnly variables should be assigned by reference in file /modules/debaser/class/debasertree.php line 45

Mamba

Moderator
Posted on: 2016/11/26 10:58
Mamba
Mamba (Show more)
Moderator
Posts: 10762
Since: 2004/4/23
#2

Re: debaser 0.92 not working with xoops 2.5.8

Which version of PHP?

When you upgraded to XOOPS 2.5.8, did you change anything else? Did you also upgraded your PHP? If yes, then from which version to which?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Mamba

Moderator
Posted on: 2016/11/26 13:45
Mamba
Mamba (Show more)
Moderator
Posts: 10762
Since: 2004/4/23
#3

Re: debaser 0.92 not working with xoops 2.5.8

I did some cleanup. Check it out, and see if this helps:

https://github.com/XoopsModulesArchive/debaser
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

xsell

Quite a regular
Posted on: 2016/11/26 14:18
xsell
xsell (Show more)
Quite a regular
Posts: 245
Since: 2008/9/2 1
#4

Re: debaser 0.92 not working with xoops 2.5.8

thank you , it worked but files won't play ..

error
Notice: Undefined index: player in file /modules/debaser/player.php line 39
Notice: Undefined offset: 1 in file /modules/debaser/player.php line 74
Notice: Undefined variable: player3 in file /modules/debaser/player.php line 98

xsell

Quite a regular
Posted on: 2016/11/26 17:47
xsell
xsell (Show more)
Quite a regular
Posts: 245
Since: 2008/9/2 1
#5

Re: debaser 0.92 not working with xoops 2.5.8

the files playing now but the error's still in there .. not sure if it matter .. anyway Mamba , thanks for the help but can u tell me what files u have edited .. i have own modification of debaser .. i would like to change the files myself ..

Mamba

Moderator
Posted on: 2016/11/26 20:57
Mamba
Mamba (Show more)
Moderator
Posts: 10762
Since: 2004/4/23
#6

Re: debaser 0.92 not working with xoops 2.5.8

Quote:
can u tell me what files u have edited ..

GitHub has a very nice way to see the differences by showing you how many commits have been made, and then you can look at each commit.

Just click on the "6 commits" on top left, and then you'll have the list. The interesting for you are:

1) getID3-1.9.12 - I've update the library with the latest version from GitHub

2) I've made some other cleanup changes

Quote:
i have own modification of debaser .. i would like to change the files myself ..

I would suggest to use a code comparison tool like a WinMerge to see the differences and make the modifications.

Good luck...
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

xsell

Quite a regular
Posted on: 2016/11/27 5:07
xsell
xsell (Show more)
Quite a regular
Posts: 245
Since: 2008/9/2 1
#7

Re: debaser 0.92 not working with xoops 2.5.8

thank you , i would suggest u add your version of debaser to the latest working module with xoops 2.5.8 .. debaser 3.10 working fine too but its too complicated, to upgrade from .092 to 3.10 .

Mamba

Moderator
Posted on: 2016/11/27 6:20
Mamba
Mamba (Show more)
Moderator
Posts: 10762
Since: 2004/4/23
#8

Re: debaser 0.92 not working with xoops 2.5.8

Quote:
i would suggest u add your version of debaser to the latest working module with xoops 2.5.8

I am not sure, I understand - where should I add it?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

xsell

Quite a regular
Posted on: 2016/11/27 11:57
xsell
xsell (Show more)
Quite a regular
Posts: 245
Since: 2008/9/2 1
#9

Re: debaser 0.92 not working with xoops 2.5.8

what with XOOPS Module Repository! .. the version in there is not working with latest xoops .

Mamba

Moderator
Posted on: 2016/11/27 19:00
Mamba
Mamba (Show more)
Moderator
Posts: 10762
Since: 2004/4/23
#10

Re: debaser 0.92 not working with xoops 2.5.8

Quote:
what with XOOPS Module Repository! .. the version in there is not working with latest xoops .

Yes, that needs to be updated.

Would you be willing to help with the cleanup of the XOOPS Module Repository?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs