1
oswaldo
Xoopstube 1.08 beta 1 Error when deleting video
  • 2021/5/11 0:39

  • oswaldo

  • Quite a regular

  • Posts: 215

  • Since: 2008/8/22


I have the next error when I tried to delete a video

Error: Error: Cannot use object of type mysqli_result as array en el archivo /modules/xoopstube/admin/main.php lĂ­nea 466

Xoops 2.10
PHP 7.4
Xoopstube 1.08 beta1

2
zyspec
Re: Xoopstube 1.08 beta 1 Error when deleting video
  • 2021/6/16 21:51

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


You can temporarily fix this by changing rows 465-466 from:
[$lid$title] = $GLOBALS['xoopsDB']->fetchrow($result);
            
$item_tag $result['item_tag'];

to the single line:
[$lid$title$item_tag$vidid] = $GLOBALS['xoopsDB']->fetchrow($result);


which should work (although I didn't try it).... I'll add this as an issues for the Beta 2 code on GitHub since it looks like it's still an issues there too.

3
Mamba
Re: Xoopstube 1.08 beta 1 Error when deleting video
  • 2021/6/17 22:16

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Thanks, Zyspec for the fix! It has been added to the current version at:
https://github.com/mambax7/xoopstube

Oswaldo, you can test it from there. Once confirmed that it works, I'll merge it into:
https://github.com/XoopsModules25x/xoopstube/
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

4
oswaldo
Re: Xoopstube 1.08 beta 1 Error when deleting video
  • 2021/6/21 18:38

  • oswaldo

  • Quite a regular

  • Posts: 215

  • Since: 2008/8/22


Thanks zyspec and Michael for your help

5
oswaldo
Re: Xoopstube 1.08 beta 1 Error when deleting video
  • 2021/6/21 21:01

  • oswaldo

  • Quite a regular

  • Posts: 215

  • Since: 2008/8/22


It works fine but I can't get the video online, it doesn't change the offline icon (X) to green

Resized Image
Resized Image

6
Mamba
Re: Xoopstube 1.08 beta 1 Error when deleting video
  • 2021/6/22 12:22

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Did it work before the recent change?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

7
oswaldo
Re: Xoopstube 1.08 beta 1 Error when deleting video
  • 2021/6/22 19:31

  • oswaldo

  • Quite a regular

  • Posts: 215

  • Since: 2008/8/22


Yes, Michael I can delete the video now
only I can't activate the video but this already happened.

8
Mamba
Re: Xoopstube 1.08 beta 1 Error when deleting video
  • 2021/6/23 2:38

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Oswaldo, I see the issue. I'll fix it over the weekend, unless somebody beats me to it
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

9
oswaldo
Re: Xoopstube 1.08 beta 1 Error when deleting video
  • 2021/6/24 2:33

  • oswaldo

  • Quite a regular

  • Posts: 215

  • Since: 2008/8/22


Thanks Michael

10
Mamba
Re: Xoopstube 1.08 beta 1 Error when deleting video
  • 2021/6/27 15:11

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Oswaldo, the issue with the offline icon should be now fixed. Please test:

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

Login

Who's Online

203 user(s) are online (127 user(s) are browsing Support Forums)


Members: 0


Guests: 203


more...

Donat-O-Meter

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

Latest GitHub Commits