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-05-21 00:29:47

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Upload from FTP Error

The upgrade itself worked great tongue

What i noticed right now is that the upload from ftp wasn´t fixed. I still get the same error i got on RC1.

Ben

Offline

#2 2011-05-21 01:51:49

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

Re: Upload from FTP Error

I rewrote the code for upload-ftp completly and tested in on my box and another server. It worked correctly for me. What error do you get?


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

Offline

#3 2011-05-21 02:01:47

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Re: Upload from FTP Error

It says 3 videos converted. But on the video main part in the acp is error at the right of each one shown and they were not converted.

You can test it on my site. The videos are still in the upload folder.

Last edited by MS_DA (2011-05-21 02:02:30)

Offline

#4 2011-05-21 02:09:39

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

Re: Upload from FTP Error

Please email me administration panel username/password.


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

Offline

#5 2011-05-21 02:13:22

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Re: Upload from FTP Error

Done big_smile

Offline

#6 2011-05-21 17:21:58

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

Re: Upload from FTP Error

So the actual problem is that ffmpeg fails the identify the videos (and when i've tested all videos were identified). Now it could be a exception (but thiva7 also has a video that fails to identify) or wmv identification is problematic. Fixing.


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

Offline

#7 2011-05-21 17:29:00

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Re: Upload from FTP Error

The same video that dun work over ftp can be uploaded by the single upload. We uploaded about 40 smaller ones of the same serie over the single upload part on the acp after it din´t work over ftp and they worked fine. Converted 2 to flv and uploaded them to the upload folder today  - didn´t work with them too. I´ve absolutely no idea what reason it could be even since u said it works fine on your install. The same video that dun work over ftp can be uploaded by the single upload

Offline

#8 2011-05-21 17:30:15

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

Re: Upload from FTP Error

The problem is that the videos have space in their filename and ffmpeg failed to load the video for identification. Fixed and now testing with the 3 videos you had in /tmp/uploads.


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

Offline

#9 2011-05-21 17:38:52

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Re: Upload from FTP Error

oki will quickly rename them again.

Offline

#10 2011-05-21 17:41:38

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Re: Upload from FTP Error

They have their old names now again.

Offline

#11 2011-05-21 17:43:23

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Re: Upload from FTP Error

Well what i dun understand at this point is why isn´t the name a problem on single uploads then - it´s the same ffmpeg.

Offline

#12 2011-05-21 18:44:27

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

Re: Upload from FTP Error

Because uploaded videos always look something like /tmp/dal2l312lkjnw12wj21 (thats how php renames them automatically on upload) and from there i move uploaded vids to media/videos/vid/VIDEO_ID.EXT so basically there is no space. I fixed the problem in RC3, until then, here's the fix:

Edit libraries/framework/video.php and replace all occurences of:

.$src.

with:

.escapeshellarg($src).

Also:

.$file.

with:

.escapeshellarg($file).

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

Offline

#13 2011-05-21 19:07:29

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Re: Upload from FTP Error

Well this fixed the import / convert but you cannot play them. The player says 200.Stream not found...

sad

Offline

#14 2011-05-21 20:15:16

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

Re: Upload from FTP Error

Please give me the URL for a video that you added with the FTP Upload in Admin. It should play (i tested with your video on my box and it worked).


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

Offline

#15 2011-05-21 20:39:21

MS_DA
Member
Registered: 2011-04-26
Posts: 401
Website

Re: Upload from FTP Error

mailed it big_smile

Offline

Board footer

Powered by FluxBB