• Resolved apalomares

    (@apalomares)


    I have trouble uploading files (images) for participants. It used to work. I tried to adjust the directory rights, etc. but keep getting this error:

    The configured uploads directory “/opt/bitnami/wordpress/wp-content/wp-content/uploads/sites/7/participants-database/” for Participants Database is not writable. This means that plugins file uploads will fail, check the Participants Database “File Upload Location” setting for the correct path.

    There is one strange thing:
    The configured directory for uploads is:
    /wp-content/uploads/participants-database/
    The link the images are uploaded is:
    /wp-content/uploads/sites/7/participants-database/ (bitnami multisite)
    The path in the error message is:
    /opt/bitnami/wordpress/wp-content/wp-content/uploads/sites/7/participants-database/
    = the path in the error message containes “wp-content” twice.

    I tried changing the “File and Image Uploads Use WP Content Path” setting. But this did not help either. The images show correct, but I cannot change them anymore (that used to work for years now).

    Can anyone help me fix this?

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author xnau webdesign

    (@xnau)

    I’m attempting to reproduce this issue here.

    I assume you tried this, but try these settings:

    File Upload Location: uploads/participants-database/

    File and Image Uploads Use WP Content Path: checked

    Those two settings must agree, for example, if the Upload Location includes wp-content and Use WP Content Path is checked, you’ll get a duplicate “wp-content”

    Thread Starter apalomares

    (@apalomares)

    Thank you very much for your help. I still have a problem. I tried:

    1. Setting the “upload location” to “uploads/participants-database/” and checking the “Use WP Content Path” in the advanced settings:
    The result:
    Images are now linked wrong (wp-content is missing):
    https://www.corvetterallye.ch/uploads/sites/7/participants-database/ (wrong)

    2. Setting the “upload location to “wp-content/uploads/participants-database/” and UNchecking the “Use WP Content Path” in the advanced setting:
    The result:
    Images are now linked correct (including wp-content):
    https://www.corvetterallye.ch/wp-content/uploads/sites/7/participants-database/

    But…

    When I try to delete or replace an image it gives me an error. I can’t even add new members. The page throws an error every time. I guess, this is due to some folder access rights.

    Thank you for your very appreciated help!

    Plugin Author xnau webdesign

    (@xnau)

    What is the error you’re seeing when you try to upload? Is the upload successful anyway?

    The message you mentioned in your initial post about the path is not an error, just a warning to let you know that php thinks the directory isn’t writable.

    Thread Starter apalomares

    (@apalomares)

    I was able to reproduce the problem:

    When the “Participants Database Image Expansion” plugin is activated, it shows the images of each participants. But the participants cannot be edited. Uploading or deleting images throws an error.

    When I deactivate the “Participants Database Image Expansion” plugin, there are no images shown. But I can edit the participants adding pictures. They then also show up on the list, but are larger than they should.

    Therefore I guess my problem is related to the “Participants Database Image Expansion” plugin.

    Plugin Author xnau webdesign

    (@xnau)

    Yes, you cannot turn the Image Expansion on and off because images are handled differently, and since you want to use that add-on, leave it on.

    I sill have not seen the exact reason you cannot edit the record with the Image Expansion Kit active. Can you be specific about exactly what happens?

    Thread Starter apalomares

    (@apalomares)

    When the expansion is turned on I cannot add a new participants. When saving it, I get the error “There was a critical error on your website” (find out more about problem solving in wordpress). The same thing happens, when I delete a participants image. Disabling the expansion plugin lets me add and edit new participants…

    Thread Starter apalomares

    (@apalomares)

    I deleted the plugin and copied the one I donwnloaded from when I bought it into the plugins folder. I now get a new error, when trying to activate the image expansion plugin…

    Warning: require_once(/bitnami/wordpress/wp-content/plugins/participants-database//vendor/wp-background-process/wp-async-request.php): failed to open stream: No such file or directory in /bitnami/wordpress/wp-content/plugins/pdb-image-expansion/pdbiex/Plugin.php on line 35
    
    Fatal error: require_once(): Failed opening required '/bitnami/wordpress/wp-content/plugins/participants-database//vendor/wp-background-process/wp-async-request.php' (include_path='.:/opt/bitnami/php/lib/php') in /bitnami/wordpress/wp-content/plugins/pdb-image-expansion/pdbiex/Plugin.php on line 35
    Thread Starter apalomares

    (@apalomares)

    I copied back Version 1.5.3 of the Image Extension Plugin. The errors above are gone, but I still cannot edit or add participants, wehen the plugin is activated.

    Plugin Author xnau webdesign

    (@xnau)

    The fatal error is because the Participants Database plugin is not correctly installed, it is missing critical components.

    I suggest you reinstall both plugins to their latest version.

    If you’re still getting the same “fatal error” check to make sure all parts of the Participants Database plugin were installed. You may find it works better to remove the Participants Database plugin entirely (using FTP or the file manager NOT the Plugin uninstaller), then reinstall using the WP Plugin installer upload.

    If you’re still running into trouble updating a record, provide the errors you see when trying to update the record.

    Thread Starter apalomares

    (@apalomares)

    Thank you very much again!

    I can try that. I have 3 questions:

    1. Can I just delete the participants database plugin without loosing my participants and settings?

    2. Where can I download the latest Image Extension Plugin. The link in my order #6592 has expired.

    3. Can I contribute/pay something for your help? If yes, how?

    Thank you and kind regards

    Plugin Author xnau webdesign

    (@xnau)

    1…yes, this is why you should not use the WP Plugins page delete.

    2. if you have an older version of the plugin you can install, do that then update it on the Plugins page. You must activate it first.

    If you need the file, email me at [email protected] and let me know the name on the order so I can find it and re-up the download.

    Thread Starter apalomares

    (@apalomares)

    I will try that.

    I just bought the expansion plugin again and was able to download it. So no worry about updating the download.

    Thread Starter apalomares

    (@apalomares)

    Tatatatataaa!!! Wonderful!

    I bought the expansion plugin again and downloaded version 1.5.6.

    Replaced my current version 1.5.3 with the newer one and bam: IT WORKS AGAIN!

    Thank you very much for your help.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Image upload / directory rights’ is closed to new replies.