-
That’s not valid user upload, it is missing the user id in path. 🙂 Can I have access to your Profile page?
I tried to upload a profile picture but the upload never completes!
Was this an issue from beginning or happened after a specific update?
No errors, i even asked for the file from the hosting guys but no error log.
Are you installing the site on subfolder? I am having difficulty reading wp-load.php for that subfolder, which is causing the upload to fail because it’s not properly triggering the load of wordpress
Hi Ahmed, this has been an issue for me no too long ago… obviously after an update coz it used to work pretty fine…
Yes i used a plugin to disguise my site for some reasons… and it has nothing to do with the reason why the Profile Header picture isn’t working… Please i need assistant as soon as possible. Thanks.
I figured I’d lend my solution to you guys and it may or may not be a similar situation..
I was getting the same errors that Rushi was getting, or “not getting” as the upload would just pause, never getting pass the 100% loaded bar.
After going through, changing around the UserPro’s API.PHP, Ajax.PHP, and a few other /lib files I was able to finally get the error to raise and be visible in Chrome’s console.
In my situation, the files wouldn’t load properly due to my site’s URL being different then the source origin. To be more specific, I was getting the ” No ‘Access-Control-Allow-Origin’ header is present on the requested resource.” error after UserPro tried to pull the file-upload.php file.
For those who don’t know, this basically falls under the old ‘CORS’ Cross-Origin Resource Sharing policy, preventing a document or script loaded from one origin from getting or setting properties of a document from another origin.
If you domain settings in WordPress are set to http://www….. but your code is calling http://……. or any other similar scenario which could cause a difference between the two, you’ll get the error. There are a number of different workarounds to allow this to work as shown here from StackOverFlow.. Alternatively, if you can adjust your site address settings, that may do the trick .
Forgot to mention.
- Site installed on a subfolder
- Also has the WP-content folder renamed
You must be logged in to reply to this topic.