• Welcome to WooUSEFUL by PHPVIBE . Please log in.

new install bug in youtube importer

Started by boydie100,

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

boydie100Topic starter

getting this error on youtube importer

Fatal error: Uncaught Exception: Error 400 'invideoPromotion' : unknownPart in /home/boydcrypto/video1.boydcrypto.com/app/classes/class.youtube.php:459 Stack trace: #0 /home/boydcrypto/video1.boydcrypto.com/app/classes/class.youtube.php(302): Youtube->decodeSingle() #1 /home/boydcrypto/video1.boydcrypto.com/moderator/yt_bc.php(6): Youtube->getChannelById() #2 /home/boydcrypto/video1.boydcrypto.com/moderator/index.php(42): require_once('/home/boydcrypt...') #3 {main} thrown in /home/boydcrypto/video1.boydcrypto.com/app/classes/class.youtube.php on line 459
  •  

boydie100Topic starter

  •  

Marius

Hi,

So I've remove the InPromotion part
https://github.com/PHPVibe/PHPVibe-CMS/blob/master/app/classes/class.youtube.php
and fixed the import channel issues
https://github.com/PHPVibe/PHPVibe-CMS/blob/master/moderator/yt_bc.php


For that channel:
QuoteCHANNEL ID
UCeq92pfqp1GE6hbh-eoaJxg

you can use https://commentpicker.com/youtube-channel-id.php to get the id from the URL or https://stackoverflow.com/questions/14366648/how-can-i-get-a-channel-id-from-youtube
but now the search by name works too.
You cannot view this attachment.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

Marius

Thanks for reporting this. I'm actually working on the new importer so haven't checked this one much  ^-^
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

boydie100Topic starter

do I need to download and upload those two files?
Also, does it pull out the YT tags?
  •  

boydie100Topic starter

Warning: Array to string conversion in /home/boydcrypto/video1.boydcrypto.com/moderator/yt_bc.php on line 33

I'm seeing this error on the imported videos
  •  

boydie100Topic starter

  •  

boydie100Topic starter

and it pulls the tags, this is awesome
  •  

boydie100Topic starter

https://video1.boydcrypto.com/video/21/italy-setting-up-crypto-environment-that-meets-eu-s-new-laws-central-bank-governor-says/

Has a sidebar error

Warning: Unknown column 'Array' in 'where clause' in /home/boydcrypto/video1.boydcrypto.com/app/classes/ez_sql_mysqli.php on line 270
  •  

boydie100Topic starter

  •  

boydie100Topic starter

also, is there an rss feed output on latest videos?
  •  

Marius

Quote from: boydie100 on also, is there an rss feed output on latest videos?

Well, it used to be one..as you can see it was generated in the output of the cms.


Quote<link rel="alternate" type="application/rss+xml" title="VideoShifter All Media Feed" href="https://www.videoshifter.com/feed/" />
<link rel="alternate" type="application/rss+xml" title="VideoShifter Video Feed" href="https://www.videoshifter.com/feed?m=1" />
<link rel="alternate" type="application/rss+xml" title="VideoShifter Music Feed" href="https://www.videoshifter.com/feed?m=2" />
<link rel="alternate" type="application/rss+xml" title="VideoShifter Images Feed" href="https://www.videoshifter.com/feed?m=3" />

but doesn't seem to work. I'm adding to the issues list.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

Marius

Quote from: boydie100 on is there a Cron setting?


Yes, it was added long ago

https://forums.phpvibe.com/questions-clarifications/(video-cms-v4)cron-job-5208/msg27830/#msg27830

You can save your crons by clicking "Automate this" under a search. And run /cron.php in the server's crontab.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

Similar topics (7)