Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2011-10-26 05:40:09

Cookies
Member
Registered: 2011-09-06
Posts: 16

error / failed and no thumbnail

So i bought a new dedicated server and installed everything for the script. when i upload a video it converts and saves it as .flv in my media/videos/flv folder and everything. the video still shows up as ERROR / failed, no thumbnails etc. (I can set it to active and the video works fine on the front page just no thumbnails).

this is what i see from the error log

ffmpeg: libavformat/avidec.c:1029: avi_read_seek: Assertion `st2->time_base.den == ast2->rate' failed.
Failed to extract thumb!

did I installed something wrong thats causing it to not create thumbnails of the videos, giving it a error?

one thing I did do was installed ffmpeg without the --enable libx264  because I kept getting a libx264 not found error. could that be whats causing the problem?


Edit: I can set the video to Active and click Regenerate Thumbs and it will give me the rotating thumbnails on the front page. Still no thumbs in the admin area.

Last edited by Cookies (2011-10-26 06:12:19)

Offline

#2 2011-10-26 08:12:26

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: error / failed and no thumbnail

Hmmm....i'm confused. It doesnt generate thumbs when you upload, however if you regenerate the thumbs from the admin panel you have thumbs on the front page, but not in the admin panel? Can you please enable debug in Admin -> Config -> System and then regenerate the thumbs for a video from admin and tell me if any errors appear? --enable-libx264 can cause problems, but only for x264 files (there are a lot of h264/h263 filese these days) and you cannot create HD videos.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2011-10-26 13:40:47

Cookies
Member
Registered: 2011-09-06
Posts: 16

Re: error / failed and no thumbnail

VException [ 0 ]: VException [ 0 ]: exception 'ErrorException' with message 'file_put_contents() [function.file-put-contents]: Filename cannot be empty' in /home/admin/public_html/libraries/framework/file.php:34 Stack trace: #0 [internal function]: VError::error_handler('', '/usr/local/cpff...', 10) #1 /home/admin/public_html/libraries/framework/file.php(34): file_put_contents(NULL, '/usr/local/cpff...', true) #2 /home/admin/public_html/libraries/framework/video.php(562): VFile::write('/usr/local/cpff...') #3 /home/admin/public_html/libraries/framework/video.php(452): VVideo->log('/home/admin...', 11) #4 /home/admin/public_html/admin/modules/video/components/view.php(115): VVideo->extract_thumbs(11) #5 /home/admin/public_html/admin/modules/video/components/view.php(73): VComponent_Admin_video_view->regenerate_thumbs() #6 /home/admin/public_html/admin/modules/video/video.php(45): VComponent_Admin_video_view->render() #7 /home/admin/public_html/admin/index.php(25): VModule_Admin_video->render() #8 {main} ~ /home/admin/public_html/admin/modules/video/video.php [ 47 ]

/home/admin/public_html/admin/index.php [ 27 ]

22     try {
23         require $module_path;
24         $obj = new $module_class();
25         $obj->render();
26     } catch (Exception $e) {
27         throw new VException($e);
28     }
29 } else {
30     throw new VException('Invalid admin module format! Aborting!');
31 }
32


thats what im getting. line 27 is highlighted

Offline

#4 2011-10-26 15:17:10

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: error / failed and no thumbnail

This is happening when you click in Regenerate Thumbs. Right? Its weird, Filname cannot be empty...hmm...i have a idea. Please email me FTP access.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2011-10-26 15:28:09

Cookies
Member
Registered: 2011-09-06
Posts: 16

Re: error / failed and no thumbnail

info sent.

I have no clue what im doing lol. never had a dedicated server or ran linux before

I just know my way around html files hehe

Offline

#6 2011-10-26 18:19:06

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: error / failed and no thumbnail

I replied, when you have some free time please reply. Please dont panic about the mass emails i sent you :PPPP


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#7 2011-10-27 02:50:12

Cookies
Member
Registered: 2011-09-06
Posts: 16

Re: error / failed and no thumbnail

ssh sent. I turned on debug and clicked Regenerate Thumbs and thats the error it gave me

EDIT: seems like clicking on regenerate thumbs isn't bringing me to that debug page anymore.

Last edited by Cookies (2011-10-27 04:20:14)

Offline

#8 2011-10-27 08:24:37

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: error / failed and no thumbnail

Yes. I fixed that, but still no thumbs. Still debugging.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#9 2011-10-27 13:51:01

Cookies
Member
Registered: 2011-09-06
Posts: 16

Re: error / failed and no thumbnail

reinstalled new version of ffmpeg but now for some reason in my script admin menu there is no SUBMIT button to save changes anymore. are you modifying the script right now? need to change my ffmpeg location to the new one

Offline

#10 2011-10-27 14:49:11

Cookies
Member
Registered: 2011-09-06
Posts: 16

Re: error / failed and no thumbnail

reinstalled new ffmpeg to same location as I had it set in config and it seems to work now.. uploaded a video and it converted it without error

still missing SUBMIT button in video admin settings/config panel though.

EDIT: when clicking UPLOAD from front page it gives me a debug error...

I'm going to delete and reinstall the script later tonight and see what happens. I had this script running just fine on my last server without any error or problems. Don't know why this is happening on this dedicated

Last edited by Cookies (2011-10-27 14:52:21)

Offline

Board footer

Powered by FluxBB