Viewing 15 replies - 16 through 30 (of 44 total)
  • I am a newbie with this Gallery, but heard it should be pretty good, but it seems I got the same problem as many others – It seems that I upload a picture, but afterwards there’s nothing to see … Anything to do?

    Okay. My bad. I thought it was the theme because I am running two sites on the same ISP, managed from the same local computer: one with Weaver II and the other one with EduPress both with the same plugins. Weaver II worked, when EduPress didn’t I figured it had to be the theme.

    I just switched the site with EduPress to Weaver II…and I still have the SAME PROBLEM. I cannot upload any new pictures. Everything else seems to still be working.

    Thread Starter peppeirace

    (@peppeirace)

    try to unistall the plug in and reinstall it directly through the wp installer (not using the zipped file)

    2.0

      was

    originally installed through the WP installer. According to what I read on the NGG support forum, you should NOT uninstall 2.0 unless you are willing to lose all of your existing galleries.

    I followed their procedures to revert to v.1.9.13 without actually uninstalling 2.0. (Thank you photocrati for that procedure…it worked perfectly.) The re-installed v. 1.9.13 works great with WP 3.6, so there is definitely something twitchy going on with the interface between WP 3.6 and NGG 2.0. I hope it gets fixed soon, because I like what I see in 2.0…much easier user interface for my clients to upload their own pix.

    Plugin Contributor photocrati

    (@photocrati)

    Could you all try resetting your permalinks to ‘post name’ > save changes > clear your browser cache, and try uploading again? We’ve seen this work for several users having upload issues. let us know how it works for you.

    Thanks!
    -Becky

    Becky,
    I did as you requested by resetting the permalinks to “post name”. Cleared the cache and exited the browser, started it back up and logged back in to my site and ran the NGG 2.0 update.

    Unfortunately, there is no change. I can access the existing Galleries to load pix; I can select pix to add; I can initiate the ‘Start Upload’ button and it starts the rolling the percentage telling you how much of the file has loaded. Then it hits 100%; flashes the little yellow warning triangle and a pop up box emerges saying “Upload complete – 0 images were uploaded”

    I will be happy to give you access to my site if it will help.

    Tommy

    I tried again, trying to upload an image to a new gallery. It did create the new gallery, but did not upload the image.

    Same problem here. Previous version worked fine. Latest version won’t upload anything. Plugin is useless to me in its current state.

    @limeyguy – if you’re looking for help, please start your own thread and include adequate info so someone can help you – per the forum guidelines posted by photocrati:

    – WordPress up to date?
    – NextGEN up to date?
    – What version of NextGEN Gallery did you upgrade from? (i.e. I had 1.9.8, then upgraded to 1.9.12)

    (please confirm the following, with your server host tech) :
    – MySQL up to date (at least 5.2.4)?
    – PHP up to date (at least 5.0)?
    – The mod_rewrite Apache module activated?
    – PHP Safe Mode OFF?

    Additional information that will help us find a solution:
    – Who are you hosted with?
    – What theme are you running?
    – Which plugins do you have installed and activated?
    – Does this error still occur if you switch your theme to the WP default, and deactivate all plugins except NextGEN Gallery? (*be sure to clear your browser cache and reload your site after deactivating)

    If you prefer to rollback to the prior version, see:

    https://www.nextgen-gallery.com/how-to-rollback-a-version/

    Simply saying “me too” is useless.

    Plugin Contributor photocrati

    (@photocrati)

    @twbeeson – I’m wondering if what you may be seeing is something like an HTTP error. Would you mind trying to resize your images to no larger than 960px wide on the longest side before uploading, and then upload those images to a new gallery?

    If that does not work, sure you can submit this as a bug report including your login credentials to : https://www.nextgen-gallery.com/report-bug and we’ll take a look.

    Thanks!
    -Becky

    @photocrati – yes, it definitely was an HTTP problem. It said so in the error message. However, there was no such problem when previously using (and since re-loading) the previous versions of NGG. That being said, I think I solved my picture loading issue. Instead of downloading direct through WP, I saved the 2.0 zip file to my hard drive, used FTP client software to copy to …/plugins and tried to unzip it there but it looked like it still unzipped it on my hard drive so I went back through WP and reinstalled 2.0 and it now works. No idea if it was my procedure or changes made to the programming on your end by the time I tried the last upload, but it now loads pix like it should, regardless of the size. (I did all of this before I saw your message to try limiting the pix size.)

    HOWEVER, I now have a new problem: a page that used to work perfectly using [nggallery id=xx template=caption] no longer gives me uniform columns. Here’s the page if you’re interested.

    Thanks for your help with this one. I’ll look for a new topic to continue the discussion on my new problem.

    Plugin Contributor photocrati

    (@photocrati)

    @twbeeson and others:

    UPLOADING. First, we’ve introduced fixes for several other users who were having image upload problems. Those are included in our latest informal release here:

    https://www.nextgen-gallery.com/nextgen-gallery-latest-beta

    If you are still having issues with uploading and are comfortable manually updating, please give that a try. Otherwise, those fixes will be in the next official release, probably next Monday.

    CAPTTION TEMPLATE. On the caption template, there were a few issues with these, most of which are resolved in the latest 2.0.10 release above. So you’ll need that version or later. Also, when you use a caption template, just add it through the new attach-to-post window when you click the nextgen icon for your page or post. when you do, please specify the number of columns you want. Try that and let us know if that works.

    I appreciate your hard work trying to get the fixes in place. I once again ended up reverting to 1.9.13. If you really need me to for your testing purposes, I’ll try it again…otherwise I’m just going to wait a few more days (and update versions) before trying it again. I’ll post here again with the success story (I’m optimistic) when I do.

    Hi all.
    Will try to explain reasons why we can’t upload images.

    1. Every time you hit button “Start upload”, gallery plugin send POST request to URL https://myblog.com/photocrati_ajax?action=upload_image&gallery_id=1&gallery_name=
    2. For all of us, who has issues with uploading, server returns HTTP 400 Bad Request response. Response body is:
      {“gallery_id”:1,”error”:”An unexpected error occured.”,”error_details”:”Invalid data type used for entity. Please use stdClass\n\t\t\t\tor a subclass of C_DataMapper_Model. Arrays will be supported in\n\t\t\t\tthe future.”}
    3. This is an exception throwed in /wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/class.gallerystorage_driver_base.php file, in Mixin_GalleryStorage_Driver_Base::upload_base64_image() method in particular.
    4. There are two reasons/erros why. After deep debugging using XDebug I came up with two MySQL errors that occur while executing insert query to table “ngg_pictures”. This query runs when you add/upload new image to gallery.
      Usually query looks like this:
      INSERT INTO prefix_ngg_pictures (exclude, description, sortorder, imagedate, alttext, galleryid, filename) VALUES ('','','0','2013-08-28 19:52:59','hs-2009-25-x-1920x1200_wallpaper','1','hs-2009-25-x-1920x1200_wallpaper.jpg')
      Where “prefix_” in table name can be empty or any custom value, depends on what other plugins or settings you have for your WP instance.
    • The first error you will get while debugging is: #1364 – Field ‘image_slug’ doesn’t have a default value
      To fix that, simply execute SQL query in your MySQL WP database console:
      ALTER TABLE prefix_ngg_pictures CHANGE image_slug image_slug VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL
      Where “prefix_” in table name can be empty or any custom value, depends on what other plugins or settings you have for your WP instance.
    • The second error you will get while debugging is: Incorrect integer value: ” for column ‘exclude’ at row 1
      To fix that, simply execute SQL query in your MySQL WP database console:
      ALTER TABLE prefix_ngg_pictures CHANGE exclude exclude VARCHAR( 4 ) NOT NULL DEFAULT '0'
      Where “prefix_” in table name can be empty or any custom value, depends on what other plugins or settings you have for your WP instance.

    This fix has to be added to further release.
    Thanks for attention guys.

    I just saw this on a WordPress with Nextgen Gallery v 2.0.14.
    I also found the source of the problem for this particular case, which came from WordPress settings-> general settings.

    These settings made the error occur:
    WordPress Address (URL) https://websiteaddress.com
    Site Address (URL) https://www.websiteaddress.com

    After changing them, the error was gone and images uploaded perfectly. The correct settings for this case was to add www to WordPress address as well:
    WordPress Address (URL) https://www.websiteaddress.com
    Site Address (URL) https://www.websiteaddress.com

    Keep up the great work with NextGen, you are still much loved!

Viewing 15 replies - 16 through 30 (of 44 total)
  • The topic ‘NextGen gallery images upload problems’ is closed to new replies.