[ Video Sharing CMS v4 ] Date issue

Started by OliverJ,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

OliverJTopic starter

Video Duration doenst work on 3.5 /:
I can type anything but it dont work , i use a fresh installation.
Fix this please , this is important for google to index my video as a video not a normal site.
  •  

AlexH

Quote from: OliverJ on
Video Duration doenst work on 3.5 /:
I can type anything but it dont work , i use a fresh installation.
Fix this please , this is important for google to index my video as a video not a normal site.

For me it works very well. It may be from your host the problem ...

PHPVibe A.

OliverJ do you have any error? I know there was an issue in the first release of 3.5 with ffmpeg, the time was missing, but it got fixed.
Also, this should have went into "Troubleshooting", not features requests.

OliverJTopic starter

Oh sorry ^^ , is there a patch ? i dont use ffmpeg.
I have no Error or Anything.
  •  

PHPVibe A.

Open lib/upload.php

and change

$db->query("INSERT INTO ".DB_PREFIX."videos (`pub`,`token`, `user_id`, `source`) VALUES ('0','".$token."', '".user_id()."', '".$source."')");


to

$db->query("INSERT INTO ".DB_PREFIX."videos (`date`,`pub`,`token`, `user_id`, `source`) VALUES (now(),'0','".$token."', '".user_id()."', '".$source."')");


Indeed, there is an issue when not using ffmpeg (I was checking ffmpeg  :-[ )

Similar topics (7)