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.
Not a member yet? Click here to register.
Forgot Password?

Infusions latest_videos_panel

Asked Modified Viewed 947 times
J
J_K_NIELSEN
J
  • Member, joined since
  • Contributed 61 posts on the community forums.
  • Started 19 threads in the forums
  • Started this discussions
asked
Member

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



 $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
Edited by Falk on 22-10-2019 04:01,
0 replies

1 post

R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

Updated
0 replies

Category Forum

Panels and Infusions

Labels

None yet

Statistics

  • Views 0 views
  • Posts 1 post
  • Votes 0 votes
  • Topic users 2 members

2 participants

J
J
  • Member, joined since
  • Contributed 61 posts on the community forums.
  • Started 19 threads in the forums
  • Started this discussions
R
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet