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-08-26 11:13:22

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

delete videos ?

when i delete some video thats delete thumbs and video file from server?

Offline

#2 2011-08-26 11:37:26

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

Re: delete videos ?

Yes. When you delete a video the script will delete the thumbs and video file (if it has access to these files).


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

Offline

#3 2011-08-26 12:24:59

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: delete videos ?

for me is not delete some for now

http://www.xporn4u.com/media/videos/tmb … /973/1.jpg


in same time delete thumbs or some hours after?

Offline

#4 2011-08-27 06:10:45

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

Re: delete videos ?

At the same time. There was a error in previous versions where if the video was not assigned to any categories, the video delete failed. If you added the videos with other methods (under another username on the server) then the delete will not work because the username running the apache server does not have permissions to delete the thumbs. Do a ls -la /path/to/thumb/that/doesnt/delete.jpg and paste here.


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

Offline

#5 2011-08-27 11:32:45

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: delete videos ?

-rw-r--r-- 1 root root 1811 Aug 24 08:20 /home/username/public_html/media/videos/tmb/000/289/973/1.jpg

root is owner hmm

how i can delete all no needed thumbs?

Last edited by thiva7 (2011-08-27 11:42:23)

Offline

#6 2011-08-27 17:08:55

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

Re: delete videos ?

Login with ssh as root. Find what user runs the apache or nobody server (usually apache, but it depends on the server configuration, you can do this with ps aux) and then go to /media/videos/tmb and execute:

chown -R user.user *

This will change the ownership for all files/folders to user.user (please NOTE that user.users is just a example). After you do this, you will be able to delete from the admin panel. Want me to do this for you? (i have your server access, you sent it today).


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

Offline

#7 2011-08-27 17:25:21

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: delete videos ?

that will change owner...i ask to how delete thumbs wich is not deleted when i do it from admin panel....

Offline

#8 2011-08-27 20:33:11

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

Re: delete videos ?

The thumbs cannot be deleted from admin because the username running the apache server (or in some cases with suphp or other methods the FTP username) has no access to the thumb files, so it has not enough permissions to delete the files. Thats why you need to change the owner or the thumbs. I hope i understood correctly what you want to do, if not please explain again.


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

Offline

#9 2011-08-27 20:43:54

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

Re: delete videos ?

no u are not understood  but is not your problem that my english is bad smile

ok lets thing i have this video : http://www.xporn4u.com/305500/hot-teens … some-cock/

with this thumb : http://www.xporn4u.com/media/videos/tmb … /500/1.jpg

this video is active i have not deleted or suspend it yet . so this thumb ( /home/username/public_html/media/videos/tmb/000/305/500/1.jpg  ) can have root as owner?? so if i try some day to delete it from admin panel will be there this thumb?

i ask because i have delete over 30.000 videos and i dont want to have thumbs from this videos.

Last edited by thiva7 (2011-08-27 20:44:40)

Offline

#10 2011-08-28 10:30:48

Eri
Member
Registered: 2011-03-18
Posts: 977

Re: delete videos ?

Every php script do not delete files that the owner is "root" you have to change username or change premission to 777 for those files.

But why the script make root as the owner of the thumbs? This is your problem i think.


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

Board footer

Powered by FluxBB