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
I wanted to upload a picture as thumbnail, but I got access denied, and error message "The filename provided is not being accepted by the server".
How do I fix this? If I can upload from the controller panel would be nice.
Offline
Is the tmp and media folder set for chmod 755?
Offline
yes, the folders is set to 755, but I found the picture is set to 644.
I tried to change it to chmod 755, but I got no permission message.
Last edited by Jeff (2012-03-16 05:08:12)
Offline
I set it to 777, now it's working.
Offline
Ah, I take it you are not running suPHP that would then require a chmod 777. Glad you got it working.
Offline
How do I make it chmod 777 everytime it generate the thumb folder?
I gotta change it to 777 for new folder everytime.
Offline
This should not be required. What exactly are you trying to do?
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I want to upload a thumbnail to the folder.
but the new generated folder is set to chmod 644
Offline
I want to upload a thumbnail to the folder.
but the new generated folder is set to chmod 644
default permission depends on the default umask. is not something that the script change.
Offline
Are you generating the new folder or is the script generating the new folder. If the script is generating the new folder, then it should be always writable by the user that runs the web servers (or if you run suphp/... then by the account user).
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Hmmm...you want to upload your own thumbs in /media/videos/tmb/xxx/xxx/xxx/?
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Yes, I want to use my own thumb as the movie cover picture.
I think I got it, now I command umask to 000.
Still can't get it work, I have to change chmod for every new created folder.
I umask the 000 folder to 000, the next time I log in, it returns to 022.
Last edited by Jeff (2012-03-17 01:54:50)
Offline
Pages: 1