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.
Pages: 1
when i delete some video thats delete thumbs and video file from server?
Offline
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
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
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
-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
how i can delete all no needed thumbs?
Last edited by thiva7 (2011-08-27 11:42:23)
Offline
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
that will change owner...i ask to how delete thumbs wich is not deleted when i do it from admin panel....
Offline
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
no u are not understood but is not your problem that my english is bad
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
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.
Offline
Pages: 1