• Resolved aicomp

    (@aicomp)


    Hi,

    I’m working with the UM free version. Over a long period the image upload function on the personal profile worked well. One user came up now and said he’s not able to upload a profile picture. I’ve checked that. First when opening the dropdown to upload a picture over the profile settings the popup runs nearly out of screen. When resizing the browser window it jumps in the middle of the screen. There no way to upload a picture then. You can read the header text of the popup “Change your profile photo”. Below is “Upload” but only as text. “Apply” button is grayed out as there’s no picture uploaded. And as usual the cancel button. But nothing else to choose/upload a new picture.

    Any idea how to fix that?

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • @aicomp

    Copied from your site’s HTML

    <!– Cache Enabler by KeyCDN @ Thu, 01 Feb 2024 14:03:16 GMT (https-index-webp.html.gz) –>

    Have you tried to deactivate the caching for the UM pages?

    https://docs.ultimatemember.com/article/1595-caching-problems

    • This reply was modified 9 months, 4 weeks ago by missveronica.
    Thread Starter aicomp

    (@aicomp)

    Checked in troubleshooting mode (UM + Hello Theme) and disabled Cache enabler. Doesn’t help. The problem stays as described.

    @aicomp

    1. Look at your Browser web Console if you have any JavaScript errors.
    Mouse right button click, select Inspect then Console in the Menu.

    2. Try to do a Theme/Plugin conflict test if your Theme or another Plugin is causing a conflict with UM.

    https://docs.ultimatemember.com/article/96-how-to-do-a-plugin-theme-conflict-test

    3. Enable PHP error logging if the debug will give some more info about this issue.

    Read this guide: “How to enable debug logging”

    https://docs.ultimatemember.com/article/1751-enable-debug-logging

    You will probably get a PHP log file with notices and errors in this file:
    .../wp-content/debug.log

    Post the content of this file here in the Forum and we can give you the PHP error explanation. For best formatting use the Forum’s CODE format.

    Thread Starter aicomp

    (@aicomp)

    Okay…need to check it over the next days due to workload.

    First Check of JavaScript errors:

    Failed to load resource: the server responded with a status of 403 (Forbidden)

    um-functions.min.js:1 Uncaught TypeError: d.uploadFile is not a function
    at initImageUpload_UM (um-functions.min.js:1:2613)
    at um_new_modal (um-functions.min.js:1:7344)
    at HTMLAnchorElement. (um-modal.min.js:1:4103)
    at HTMLBodyElement.dispatch (jquery.min.js:2:40035)
    at v.handle (jquery.min.js:2:38006)
    at Object.trigger (jquery.min.js:2:70124)
    at HTMLAnchorElement. (jquery.min.js:2:70726)
    at Function.each (jquery.min.js:2:3129)
    at e.<computed>.each (jquery.min.js:2:1594)
    at e.<computed>.trigger (jquery.min.js:2:70701)

    Thread Starter aicomp

    (@aicomp)

    conflict test via staging site. Theme 2024. Error still persists.

    @aicomp

    the server responded with a status of 403 (Forbidden)

    Is your Web Hosting using any security/firewall software tools like “ModSecurity”?

    Plugin Support andrewshu

    (@andrewshu)

    Hi @aicomp

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards

    Thread Starter aicomp

    (@aicomp)

    Hi, I found out that settings in htaccess where responsible for the strange window behaviour. That is fixed. I can now upload the picture. But when I try to apply the cropping for that picture javascript seems to be blocked. I disabled JS caching to test that. Didn’t help. In the Dev Tools I get that error:

    Uncaught TypeError: Cannot read properties of undefined (reading ‘scaleX’)
    at n.getData (cropper.min.js:10:25897)
    at HTMLAnchorElement. (um-modal.min.js:1:1666)
    at HTMLDocument.dispatch (jquery.min.js:2:40035)
    at v.handle (jquery.min.js:2:38006)
    getData @ cropper.min.js:10
    (anonymous) @ um-modal.min.js:1
    dispatch @ jquery.min.js:2
    v.handle @ jquery.min.js:2

    any other idea?

    Thread Starter aicomp

    (@aicomp)

    another update: Web Hosting doesn’t block anything here

    Thread Starter aicomp

    (@aicomp)

    another update: Autooptimize is responsible for that error.

    Any idea which settings make sense there?

    @aicomp

    Deactivate your “Autooptimize” plugin or ask your questions at their support forum.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Profil Picture Upload not working’ is closed to new replies.