Already fixed this.Kevicar wrote: Oh sorry !
In the installation file is marked: video_install.php and not video/install.php
Thank you !
Already fixed this.Kevicar wrote: Oh sorry !
In the installation file is marked: video_install.php and not video/install.php
Thank you !
Hi Vinny!_Vinny_ wrote:Version 1.0.4 RC1 is now live! See first post.
The MOD has undergone major changes, if you are still using 3.0.x and this MOD, let me know if you need help to update the MOD.
Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/video.php on line 67: DOMDocument::load(http://gdata.youtube.com/feeds/api/videos/): failed to open stream: HTTP request failed! HTTP/1.0 410 Gone
[phpBB Debug] PHP Warning: in file [ROOT]/video.php on line 67: DOMDocument::load(): I/O warning : failed to load external entity "http://gdata.youtube.com/feeds/api/videos/"
TO UPDATE:Vattenpistol wrote:Hi Vinny!_Vinny_ wrote:Version 1.0.4 RC1 is now live! See first post.
The MOD has undergone major changes, if you are still using 3.0.x and this MOD, let me know if you need help to update the MOD.
I currently use phpbb 3.0.12, so I would really appreciate if you could post a guide or some instructions on how to update.
Also, now I get this error code:Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/video.php on line 67: DOMDocument::load(http://gdata.youtube.com/feeds/api/videos/): failed to open stream: HTTP request failed! HTTP/1.0 410 Gone [phpBB Debug] PHP Warning: in file [ROOT]/video.php on line 67: DOMDocument::load(): I/O warning : failed to load external entity "http://gdata.youtube.com/feeds/api/videos/"
includes/constants.php
, find:
Code: Select all
define('VIDEO_CAT_TABLE', $table_prefix . 'video_cat');
Code: Select all
define('VIDEO_CMNTS_TABLE', $table_prefix . 'video_cmnts');
includes/functions.php
, find:
Code: Select all
'U_VIDEO' => append_sid("{$phpbb_root_path}video.$phpEx"),
Code: Select all
'U_VIDEO' => append_sid("{$phpbb_root_path}video/index.$phpEx"),
video/install.php
video.php
and video_install.php
Be sure that your server supports allow_url_fopen, if so turn it on.desco wrote:Also when I accept upload video
error
[phpBB Debug] PHP Warning: in file [ROOT]/video/posting.php on line 81: file_get_contents(https://www.googleapis.com/youtube/v3/v ... rt=snippet): failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 2684: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3969)
does that mean that youtube has made changes that need to go in the mod?No longer available
The MOD has received the appropriate update. See viewtopic.php?p=14101991#p14101991spaceace wrote:if you follow the link from the error...
http://gdata.youtube.com/feeds/api/videos/
you get
does that mean that youtube has made changes that need to go in the mod?No longer available
reason i'm asking is that this mod has been working great on a forum i work on and suddenly, the error started showing up
Thank you, I have just updated and everything is working fine!_Vinny_ wrote:
TO UPDATE:
- Download the last version.
- Upload the new files.
- Openincludes/constants.php
, find:After add:Code: Select all
define('VIDEO_CAT_TABLE', $table_prefix . 'video_cat');
- OpenCode: Select all
define('VIDEO_CMNTS_TABLE', $table_prefix . 'video_cmnts');
includes/functions.php
, find:Replace with:Code: Select all
'U_VIDEO' => append_sid("{$phpbb_root_path}video.$phpEx"),
- RunCode: Select all
'U_VIDEO' => append_sid("{$phpbb_root_path}video/index.$phpEx"),
video/install.php
- Deletevideo.php
andvideo_install.php
- Purge cache.
ABOUT THE ERROR:
Be sure that your server supports allow_url_fopen, if so turn it on.
Code: Select all
<a href="{video.U_VIEW_VIDEO}" title="{video.VIDEO_TITLE}"><img src="http://img.youtube.com/vi/{video.YOUTUBE_ID}/hqdefault.jpg" /></a>
Code: Select all
'S_VIDEO_THUMBNAIL' => 'http://img.youtube.com/vi/' . censor_text($row['youtube_id']) . '/default.jpg'
Code: Select all
'S_VIDEO_THUMBNAIL' => 'http://img.youtube.com/vi/' . censor_text($row['youtube_id']) . '/hqdefault.jpg'
[phpBB Debug] PHP Warning: in file [ROOT]/video/posting.php on line 81: file_get_contents(https://www.googleapis.com/youtube/v3/v ... rt=snippet): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
Nice. I'll update soon to HD.Vattenpistol wrote:I figured it out. I checked out the {S_VIDEO_THUMBNAIL} and saw that you used http://img.youtube.com/vi/ID/default.jpg.
So I changed this part in ../video/index.php:into thisCode: Select all
'S_VIDEO_THUMBNAIL' => 'http://img.youtube.com/vi/' . censor_text($row['youtube_id']) . '/default.jpg'
Code: Select all
'S_VIDEO_THUMBNAIL' => 'http://img.youtube.com/vi/' . censor_text($row['youtube_id']) . '/hqdefault.jpg'
From the link error:spaceace wrote:adding a new video is causing an error and allow_url_fopen is turned on in the server
[phpBB Debug] PHP Warning: in file [ROOT]/video/posting.php on line 81: file_get_contents(https://www.googleapis.com/youtube/v3/v ... rt=snippet): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
Checkout your API key configuration at Google Developers Console.{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "ipRefererBlocked",
"message": "There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed.",
"extendedHelp": "https://console.developers.google.com"
}
],
"code": 403,
"message": "There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed."
}
}
all fixed and working now. thanks_Vinny_ wrote:Checkout your API key configuration at Google Developers Console.