vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - 8WayRun.Com - Media Library (https://vborg.vbsupport.ru/showthread.php?t=240677)

iask 08-29-2010 09:45 AM

Media URL contained invalid data.
http://www.youtube.com/watch?v=tGpLHj-MVtk

Lee Roberts 08-29-2010 02:33 PM

1 Attachment(s)
Jaxel, i'v got two things. If you have the time could you give me an idea on what i need to do to fix them please. Great MOD by the way !

1.
When i click the "Click here to restore all services in the "/media/xml" directory to their default settings."

I am getting the following error:

Quote:

Database error in vBulletin 4.0.6:

Invalid SQL:
UPDATE media_service SET
svcName = 'YouTube',
svcRegex = 'http://[a-z]*?[\\.]?youtube\\.[a-z]*?/watch\\?v=([\\w-]*)',
svcURL = 'http://www.youtube.com/watch?v={serviceVAL}',
svcFeed = 'http://gdata.youtube.com/feeds/api/videos/{serviceVAL}',
svcValue2 = 'null',
svcThumb = '$arr[\'media:group\'][\'media:thumbnail\'][3][\'url\']',
svcTitle = '$arr[\'media:group\'][\'media:title\'][\'value\']',
svcDesc = '$arr[\'media:group\'][\'media:description\'][\'value\']',
svcLength = '$arr[\'media:group\'][\'yt:duration\'][\'seconds\']',
svcTags = 'null',
svcMovie = 'http://www.youtube.com/v/{serviceVAL}?autoplay={ap10}&hd=1&fs=1',
svcWidth = 640,
svcHeight = 385,
svcStream = 'null',
svcType = 'application/x-shockwave-flash',
svcError = '$arr[\'app:control\'][\'yt:state\'][\'value\']'
WHERE serviceID = 1;

MySQL Error : Unknown column 'svcStream' in 'field list'
Error Number : 1054
Request Date : Sunday, August 29th 2010 @ 08:22:25 AM
Error Date : Sunday, August 29th 2010 @ 08:22:25 AM
Script : http://www.mycncuk.com/forums/media....n_host_restore
Referrer : http://www.mycncuk.com/forums/media.php?do=admin_host
Classname : vB_Database
MySQL Version : 5.1.26-rc-5.1.26rc
I have upgraded to 4.1.6 from 4.0.9 by uploading and then importing the xml file, i also set this to overright for both the uploads and the import.

2.
The other thing i have a problem with is this blank space showing up, i think its somthing to do with the custom variable system. I have this turned off so im not sure why its creating this blank space. Also what are the "custom variables" attully for, how do we use them and can you give an example.

Thanks for your time.

Lee

Lee Roberts 08-29-2010 04:08 PM

Looks like its somthing to do with this line, if i remove it the blank area go's away:

Quote:

<vb:if condition="$media['embed_stream']"><div class="mediarow" style="margin-top: {vb:stylevar media_margin}px; border: 0px; padding: 0px;">{vb:raw media.embed_stream}</div></vb:if>

Jaxel 08-29-2010 06:28 PM

Quote:

Originally Posted by MYCNCUK (Post 2091123)
I am getting the following error:

I have upgraded to 4.1.6 from 4.0.9 by uploading and then importing the xml file, i also set this to overright for both the uploads and the import.

4.1.6 was a rollup, from 4.1.2... add the following row to your media_services table:
svcStream varchar(255) NOT NULL default 'null',

Quote:

Originally Posted by iask (Post 2091028)
Media URL contained invalid data.
http://www.youtube.com/watch?v=tGpLHj-MVtk

Rebuild your hoster services; 4.1.6 now includes error codes to enhance error reporting when hoster sites (such as youtube) reject your embed request. (such as: this video is not available in your region or uploader has disabled external embedding for this video)

Big-Pete 08-29-2010 07:20 PM

HI Jaxel,
Love this mod..

I'd like to add my videos that I have on Amazon s3 / cloudfront, Is there a way to get these into the media library aswell??
The URL format is

Quote:

http: // myvids.s3.amazonaws.com/gt/myvideotitle-2448555.flv
My videos also have MRSS files / info with them..

spoky29 08-29-2010 08:24 PM

Very nice it's working perfectly! Thanks

Just a little idea: Will it be possible to put a buton " Add to playlist" To add any video of the media library?

++

Jaxel 08-29-2010 09:23 PM

Quote:

Originally Posted by Big-Pete (Post 2091249)
HI Jaxel,
Love this mod..

I'd like to add my videos that I have on Amazon s3 / cloudfront, Is there a way to get these into the media library aswell??
The URL format is



My videos also have MRSS files / info with them..

Please send me a link to an example mrss file.

Merjawy 08-30-2010 05:39 AM

I am really not that dumb, I feel like one this time

I installed it and had issue with vsa mod and had issues with it before so I removed it
uninstalled this mod and reinstalled it

now all seem to be ok, but the first plug-in media Admin import is disabled. Is that normal?

when I enable it, and run the updates I get database errors tabe videotagvideo not found

PHP Code:

Database error in vBulletin 4.0.6:

Invalid SQL:
INSERT IGNORE
        INTO media_tag_content 
(tagIDmediaIDuserIDdateline)
        
SELECT tagidvideoiduseriddateline FROM videotagvideo;

MySQL Error   Table 'XXXXXXXXXX_vb403.videotagvideo' doesn't exist
Error Number  : 1146
Request Date  : Monday, August 30th 2010 @ 02:36:06 AM
Error Date    : Monday, August 30th 2010 @ 02:36:06 AM
Script        : http://www.XXXXXXX.com/XXXXXX/XXXXXXcp/misc.php?do=import_media_vdrcreate
Referrer      : http://www.XXXXXXXX.com/XXXXXXX/XXXXXXcp/misc.php?do=import_media_check
IP Address    : XXXXXXXXX
Username      : XXXXXX
Classname     : vB_Database
MySQL Version : 4.1.22-standard 


Also I get database error with the other two options with different table not exist issues

Or am I doing it all wrong?
I don't have any data imported into my library yet

Thanks

kingMOB 08-31-2010 04:34 PM

Is there a way to make one link open the page with videos from more than one categorie? Like media.php?do=category&cid=3&cid=4&cid=5 ?

Thanks.

ANGEL OF FIRE 09-01-2010 08:16 AM

Search doesn't work if the search request is entered by Cyrillic. Fix it please as we have a lot of videoclips with Cyrillic titles.


All times are GMT. The time now is 11:15 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04444 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete