• Resolved endorian

    (@endorian)


    After applying the previous update, I have this problem: https://www.ads-software.com/support/topic/gallery-pictures-cant-open/
    – repaired as explained in the post.

    After latest update plugin doesn’t work correctly – I can’t add import any new images from the image gallery. This works without any problems during the previous year.

    Now when I trying to add new images when I select them and import – I see the blank area (white section instead of image thumbnail). Also, Description is incorrect – every value has “null”.

    In the error log in same moment are thrown 3 lines per every image:
    [Tue Apr 09 00:53:50 2019] [error] [client 89.77.70.147] PHP Warning: copy(/volume1/web/hakimodo/wp-content/uploads/photo-gallery/imported_from_media_libray/Dustoff-Heli-Rescue-2-0103.jpg): failed to open stream: Permission denied in /volume1/web/hakimodo/wp-content/plugins/photo-gallery/filemanager/UploadHandler.php on line 598, referer: https://hakimodo.pl/wp-admin/admin.php?page=galleries_bwg&task=edit
    [Tue Apr 09 00:53:50 2019] [error] [client 89.77.70.147] PHP Warning: filesize(): stat failed for /volume1/web/hakimodo/wp-content/uploads/photo-gallery/imported_from_media_libray/Dustoff-Heli-Rescue-2-0103.jpg in /volume1/web/hakimodo/wp-content/plugins/photo-gallery/filemanager/UploadHandler.php on line 617, referer: https://hakimodo.pl/wp-admin/admin.php?page=galleries_bwg&task=edit
    [Tue Apr 09 00:53:50 2019] [error] [client 89.77.70.147] PHP Warning: filemtime(): stat failed for /volume1/web/hakimodo/wp-content/uploads/photo-gallery/imported_from_media_libray/Dustoff-Heli-Rescue-2-0103.jpg in /volume1/web/hakimodo/wp-content/plugins/photo-gallery/filemanager/UploadHandler.php on line 619, referer: https://hakimodo.pl/wp-admin/admin.php?page=galleries_bwg&task=edit

    Also when I trying to delete this entry I see JS confirmation “Name Field is required”.

    When I trying to delete a specific image directly from Gallery I see an error that this is impossible.

    This problem was not existed before plugin update.
    ==================

    What I tested:
    – turned all plugins except photo gallery – images still can’t be imported.
    – changed theme to other to test = still can’t import images.
    – checked directories/files on the filesystem – rights looks ok.
    – tried to manually create needed files (+thumbnails) = when I created it manually all is works. Manually corrected: https://hakimodo.pl/2019/04/03/r67-cuboid-keeper-recenzja-dynamicznej-i-ciekawej-zrecznosciowki-jak-to-jest-byc-obronca-kostki/
    – (otherwise, when we create a gallery and select it to add into the post we see “No Images found.”. Example: (on the bottom of the page) https://hakimodo.pl/2019/03/30/r66-heroes-of-hammerwatch-recenzja-z-powrotu-multiplayerowych-wypraw-po-zloto-i-rude/

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter endorian

    (@endorian)

    Image examples:
    https://ibb.co/ysTHdwZ – after import images to gallery
    https://ibb.co/Jckv7yt – we trying to delete a picture
    https://ibb.co/XZkxRqz – error we got

    • This reply was modified 5 years, 7 months ago by endorian.
    Plugin Support Kima Baghdasaryan

    (@kimabaghdasaryan)

    Hi,

    Please note that the issue cannot be because of updating. Please note that you do not have access to wp-content/uploads/photo-gallery folder. There is an issue related to permissions. Please try to contact your hosting server. Have you changed anything recently that you do not have permission to this folder?

    Thank you!

    Have a nice day!

    Thread Starter endorian

    (@endorian)

    I can tell what was happen. I only updated plugins.
    Now I repaired it.

    As you’re suggested I changed owner to the directory tree and rights and all now works.
    I’ve removed manually all galleries created from last 2 plugins upgrades and rebuilt images base. This helped.

    I think that reason of this situation can be a bug you’re made in the previous version of the plugin (with “array()”) – I had to recreate manually some files and possible that I did this with another user (on the filesystem).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Photo Galery does not work after plugin update’ is closed to new replies.