• Resolved yanay

    (@yanay)


    Hi
    When creating a new nexrgen gallery and adding images to ti – the images do not upload and an error is displayed – An unexpected error occured. This is most likely due to a server misconfiguration. Check your PHP error log or ask your hosting provider for assistance. The result are multiple empty galleries with the same name

    PHP error log, seemes there is some error in the plugin itself:

    “[23-Mar-2016 08:47:16 UTC] PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in /home/benyamin/public_html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/package.module.nextgen_gallery_display.php on line 1592
    [23-Mar-2016 08:47:16 UTC] PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in /home/benyamin/public_html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/package.module.nextgen_gallery_display.php on line 365″

    https://wordpress.org/plugins/nextgen-gallery/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @yanay – What are you seeing under Gallery > Overview for your Server Settings?

    – Cais.

    Thread Starter yanay

    (@yanay)

    Operating System : Linux (64 Bit)
    Server : Apache
    Memory usage : 69.08 MByte
    MYSQL Version : 5.5.48-cll
    SQL Mode : Not set
    PHP Version : 5.3.26
    PHP Safe Mode : Off
    PHP Allow URL fopen : On
    PHP Memory Limit : 256
    PHP Max Upload Size : 10M
    PHP Max Post Size : 10M
    PCRE Backtracking Limit : 1000000
    PHP Max Script Execute Time : 30s
    PHP Exif support : Yes ( V1.4 )
    PHP IPTC support : Yes
    PHP XML support : Yes

    Thread Starter yanay

    (@yanay)

    Anything in server settings that creates this problem?
    Thank you

    Plugin Contributor photocrati

    (@photocrati)

    @yanay – I’m not seeing anything I would be concerned with … can you provide a link to your site? There may be something within the page source which might offer a clue on where to look.

    Thanks!

    – Cais.

    Thread Starter yanay

    (@yanay)

    Hi
    the site is http://tinyurl.com/jujj9dx
    There is no specific page. Just working with nextgen admin trying to create a gallery. Is it possible related to WPML plugins? I have them properly installed, working and updated.
    Thank you

    Plugin Contributor photocrati

    (@photocrati)

    @yanay – Have you tried deactivating all of your plugins, clearing your browser cache (and site caches if you are using a caching plugin), then reactivating the NextGEN plugin?

    If this fixes the problem then it was likely one of the deactivated plugins that was causing an issue. Now, retrace your steps activating each plugin and re-checking to see if the problem returns. If it does then that last activated plugin was probably the one. Keep reactivating and in most cases it is also best to keep checking after each plugin, sometimes there may be more than one plugin on a site that will create an issue. If you do find one (or more) plugins causing this problem we would greatly appreciate your feedback on them so the developers may address them as soon as they can.

    Also to note, in rare cases it may be the theme itself that is causing a conflict so while you have just the NextGEN plugin activated you might consider temporarily switching to one of the default WordPress Twenty series themes and see if this corrects the issue as well.

    If the problem still persists after all of this we would still want to know, even more so, as we will still want to sort out the issue and may need additional details.

    Thanks!

    – Cais.

    I have the same problem. There is no PHP error log. Only the message at uploading:

    An unexpected error occured. This is most likely due to a server misconfiguration. Check your PHP error log or ask your hosting provider for assistance.

    I have other websites with NGG on the same hosting, and there is no problem with them. I deactivated/activated all plugins. Nothing helped.
    No caching. The latest versions of WP and NGG.
    How can I figure out what’s going on?

    I’ve deleted all WP files, except of wp-content folder and root folder custom files as wp-config.php, then put via FTP a fresh bundle. It has fixed the problem.

    Plugin Contributor photocrati

    (@photocrati)

    @ayek – Thanks for sharing. This may or may not be related to the OP issue.

    – Cais.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘cannot create galleries – An unexpected error occured’ is closed to new replies.