• I use nextgen gallery since V0.50. Last week I upgraded wp from 2.6.5 to 2.7.1 and next-gen gallery to V1.2.1 automatically via plugin-updater.
    My problem is that fter the upgrade I can not upload images.
    If I try to upload one picture in one existing gallery, next gen gallery, instead of show an error message print “0 picture(s) successfully added”.
    There are no problem in creating a new gallery but, when I try to upload a picture I see this message “Directory /web/htdocs/www.taibi.it/home/wp-content/gallery/test contains no pictures”

    I checked the apache error log but it is blank.

    Can You help me?

    Thanks, Davide Taibi
    https://www.taibi.it

Viewing 12 replies - 1 through 12 (of 12 total)
  • Same issue here, with wpmu2.7.1 + NextGEN new installed.

    Anything new on this issue? I have the same problem with my WP 2.7 setup and the newest version of NextGEN Gallery.

    After a little more testing, i found that the error only occures when I use the flash upload-system. Also, the error still occures in the latest beta version of NextGEN gallet

    Do you have also problems with the wordpress core flash upload ?

    Yes

    I keep getting this, even after disabling the flash upload.

    image_0.jpg (Error : Create Image failed. Check safe mode settings)

    huh????? what safe mode settings?

    @Ulriken.org
    If WP core failed as well i cannot help, you should use the standard upload instead

    i just found out that it seems to be a file ownership issue.
    For me setting the ownership of the gallery folder in wp-content to
    “apache:apache”
    with the “chown command” via SSH
    worked fine.
    might be different on other servers though.

    I have the same problem with WP 2.8.5 + NextGEN Gallery 1.3.6
    No ownership and file permission helped

    Having the same problem with WP 2.9.2 + NexGen 1.4.3. Changing ownership and file permissions did not help.

    the same problem:
    ‘Error : Create Image failed. Check safe mode settings)’
    which safe mode setting are ment by this..?

    Thanks,
    D

    Was trying to help a client with similar issue and I notice that this error message is rather miss leading as the issue has nothing to do with php safe mode.

    When you upload a file, the main image file actually got uploaded fine under

    “wp-content/gallery/gallery/”

    and it appears that the next-gen script is also trying to generate a thumbnail file under

    “wp-content/gallery/gallery/thumbs”

    And the permission on this /thumbs directory is being set with 755 permission.

    The upload function should report “permission error on /thumbs directory” rather than “Check safe mode settings)”

    You can simply change the permission set on “wp-content/gallery/gallery/thumbs” to “777” and retry again and it should work. (At least in my case)

    On a note with 777 permission set on a directory e.g /images or /gallery, I have seen a lot of compromise where there are some bad codes within the upload script that the hacker manage to exploit and try to upload their compromised scripts and from here manage to own the user web space and manipulate any files/directory that have 777 permission or owned by the apache user.

    As a quick effective work around, you can disable the execution of php and perl/cgi with a .htaccess file under any directory that should only images or doc with 777 permission.

    Create a .htaccess file with the following content:

    php_value engine off
    OPTIONS -Indexes -ExecCGI

    Hope this will help other wp users with similar issue.

    Cheers.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: NextGEN Gallery] Upload images fails after the WP 2.7 upgrade’ is closed to new replies.