-
Hi,
I get the Error: Forbidden while uploading profile picture as well as when I try to upload a “cv” file that I have created as a user field.
I have read everything about CHMOD permissions and -htaccess restrictions but just cant get it to work. Do you have any guidance on what dirs and files that should have what permissions for this to work?
Please try to contact your webhost, they probably know why you can’t upload files via the PHP method . It could be a permission issue or they deny this function at once
I dont belive it is an issue with the host since they are very allowing but I will. What PHP methods should they be allowing or what more exactly do I need to ask them?
You should be able to use move_uploaded_file( $_FILES[“userpro_file”][“tmp_name”], $target_file ); and upload files via php file: fileupload/fileupload.php in userpro/lib folder
Hi,
My hosting provider has not checked our site for potential problems and they can confirm that they have no limits on uploads etc and that uploading via PHP works just fine outside of your plugin.
They suspect that some permissions might be wrong or that there is a reference to an included function etc that is not correct. Can you please provide me with the exact permissions that needs to be set for all directories and files as well as what kind of references for other php files I need to check for?
My plugin is in a standard installation of WordPress and I have not changed any directory names etc.
You must be logged in to reply to this topic.