Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Infusions latest_videos_panel

hejsa has an error in this latest_videos_panel.
I have only one error

is it a language file



latest_videos_panel.php
/php/home.php
Linje: 34
3 minutter siden

Vigtighed : Der blev genereret advarsler af Run-time
Undefined index: VID_latest



CodeDownload  
 $result = dbquery("SELECT v.*, vc.video_cat_id, vc.video_cat_name, u.user_id, u.user_name, u.user_status, u.user_avatar, u.user_level,
 u.user_joined
25     FROM ".DB_VIDEOS." v
26     INNER JOIN ".DB_VIDEO_CATS." vc on v.video_cat = vc.video_cat_id
27     LEFT JOIN ".DB_USERS." u ON v.video_user=u.user_id
28     ORDER BY v.video_datestamp LIMIT 6
29     ");
30    
31     $locale = fusion_get_locale('', VID_LOCALE);
32    
33     if (dbrows($result)) {
34     openside($locale['VID_latest']);

Line 34 -- 5 minutter siden
Undefined index: VID_latest

35     echo '<div class="list-group">';
36    
37     while ($data = dbarray($result)) {
38     if ($data['video_type'] == 'youtube') {
39     if (!empty($data['video_image']) && file_exists(VIDEOS.'images/'.$data['video_image'])) {
40     $thumbnail = VIDEOS.'images/'.$data['video_image'];
41     } else {
42     $thumbnail = 'https://img.youtube.com/vi/'.$data['video_url'].'/maxresdefault.jpg';
43     }
44     } else if (!empty($data['video_image']) && file_exists(VIDEOS.'images/'.$data['video_image'])) {



mvh J_K_NIELSEN
Thread Information
Author
Replies
2 posts
Views
115 times
Last Post
Last updated on 27 days ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: J_K_NIELSEN, RobiNN