• Resolved Boris

    (@ispacecrusader)


    Hi,
    I am having an issue with the UM registration form: When I create a new member account, I cannot upload a photo. Whatever size I try, I get the message: Sorry, dit is geen geldige afbeelding (Sorry, this is not a valid image).
    I’ve checked the settings in UM and the form, and re-saved them to be sure.
    I’ve also checked all the possible causes here: https://docs.ultimatemember.com/article/114-photo-uploads-not-working
    And made some changes (774 permissions recursively, increased memory, made sure all PHP settings were installed and active), but nothing has helped.
    I then tested creating an account without an image. After login in with that account, uploading the image was no problem.
    Do you have any idea what might be causing this?

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

Viewing 11 replies - 31 through 41 (of 41 total)
  • @ispacecrusader

    Which Theme are you using?
    Have you made a test with one of the older basic WP Themes?

    Thread Starter Boris

    (@ispacecrusader)

    @missveronicatv – it’s an adaptation of the html5blank theme. I just tested with 2020 and 20201 themes. Same result.

    @ispacecrusader

    Try to turn off the Crop Feature of the Profile Photo and set to Default.

    Thread Starter Boris

    (@ispacecrusader)

    @missveronicatv – turning off crop has not made a difference.

    @ispacecrusader

    Try to get info from the LiteSpeed web server access log if there is an attempt from JavaScript to access the uploaded Profile photo in the temp folder via an Ajax call.

    Thread Starter Boris

    (@ispacecrusader)

    @missveronicatv – thank you for not giving up, I really appreciate your extensive efforts!

    I tested again, whilst looking at the log. I get the following error:
    .651082 [ERROR] [16337] [T0] [HTAccess] Failed to open [/wp-content/uploads/ultimatemember/.htaccess]: Permission denied
    The .htaccess file exists, but is completely empty.
    Permissions: 777

    @ispacecrusader

    There is no .htaccess file at my site.
    Try to remove the .htaccess file.

    I have an empty .htaccess file in the .../wp-content/uploads/ folder

    Thread Starter Boris

    (@ispacecrusader)

    I removed the .htaccess file, and added an empty one (777) in the uploads folder. I get the exact same error.

    @ispacecrusader

    Ask your Web hosting support if they can help you with this issue.

    Thread Starter Boris

    (@ispacecrusader)

    @missveronicatv – yes, I thought the same thing. Just created a ticket at Plesk support. I will post results here.

    Thread Starter Boris

    (@ispacecrusader)

    @missveronicatv – The problem is solved!
    Plesk support discovered it was a permissions issue:

    # ls -la /var/www/vhosts/domainname.nl/httpdocs/wp-content/uploads/total 112drwxrwxr-- 171 domainname-plesk-customer-username psacln  4096 Jun 29 13:37 ultimatemember

    The permissions should be drwxr-xr-x.
    He changed them using the command:

    # chmod 755 /var/www/vhosts/domainname.nl/httpdocs/wp-content/uploads/ultimatemember/

    and recreated the .htaccess file leaving it empty:

    -rwxr-xr-x   1 plesk-customer-username psacln    0 Jun 29 13:37 .htaccess

    I’m just posting it here in case someone else ever runs into the same issue.

    Thank you very much for your above-and-beyond support !!!!

Viewing 11 replies - 31 through 41 (of 41 total)
  • The topic ‘Profile picture upload not possible in registration form’ is closed to new replies.