WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] Fatal error: Cannot redeclare class nggimage in //boswinfs01\home\users\we (32 posts)

  1. nbperkins
    Member
    Posted 5 years ago #

    I just today installed the latest nextgen gallery (1.1.0) and I still can not upload images. I receive this message after the image seems to finish uploading:

    Fatal error: Cannot redeclare class nggimage in //blahblahblah\wp-content\plugins\nextgen-gallery\lib\image.php on line 9

    I have checked my file permissions for the gallery folder and they are set to 777. I look and find that in the gallery it has tried to load an image, but it is broken and it has a wrong date associated with it. Any help would be greatly appreciated.

  2. zowieguy
    Member
    Posted 5 years ago #

    Same issue here:

    Fatal error: Cannot redeclare class nggimage in //frigga\home\users\web\b556\as.concretestreet\wp-content\plugins\nextgen-gallery\lib\image.php on line 9

    I cannot upload import or upload images...

    pLease Advise.

    _Thanks

  3. zowieguy
    Member
    Posted 5 years ago #

    When importing images it seems to import only one image and then gives Fatal Error.

  4. zowieguy
    Member
    Posted 5 years ago #

    Still have not found a solution to this issue.
    I create a gallery, start to upload images, the i get:

    Fatal error: Cannot redeclare class nggimage in //frigga\home\users\web\b556\as.concretestreet\wp-content\plugins\nextgen-gallery\lib\image.php on line 9

    and the gallery is created, with only one image (w/ thumbnail). then if i try to scan folder for images.. I get same error.. then i go back to manage gallery and there is now 2 images. So apparently it is only bringing in 1 image at a time. Since i have hundreds of images to import this would be a very time consuming affair.

    If anyone knows how to fix this issue it would be greatly appriciated.

    Operating System : WINNT
    Server : Microsoft-IIS/6.0
    Memory usage : N/A
    MYSQL Version : 5.0.45-log
    SQL Mode : Not set
    PHP Version : 4.4.8
    PHP Safe Mode : Off
    PHP Allow URL fopen : On
    PHP Memory Limit : N/A
    PHP Max Upload Size : 10M
    PHP Max Post Size : 8M
    PHP Max Script Execute Time : 120s
    PHP Exif support : No
    PHP IPTC support : Yes
    PHP XML support : Yes

    Thanks'
    _Bradley

  5. zowieguy
    Member
    Posted 5 years ago #

    anyone? ... help?
    i have exhausted myself trying to fix this...

    alexrabe your my only hope!
    where are you? :)

    _Bradley

  6. zowieguy
    Member
    Posted 5 years ago #

    For the love of god!! Please help with this issue.....

    I dont think i have any hair left to pull out... this is sooo frustrating..

    I have even tried reinstalling the whole thing from scratch... still having the same issue:

    Fatal error: Cannot redeclare class nggimage in //frigga\home\users\web\b556\as.concretestreet\wp-content\plugins\nextgen-gallery\lib\image.php on line 9

    if there is anyone who can help - I will PAY YOU $$ !!!
    I need this fixed..

    wow begging is so sad. :(

    have a nice day'
    _Bradley

  7. zowieguy
    Member
    Posted 5 years ago #

    any suggestions on this yet - - i am STILL having this issue???

  8. zowieguy
    Member
    Posted 5 years ago #

    *bump*

  9. Alex Rabe
    Member
    Posted 5 years ago #

    Check via FTP if you have more that one nextgen-gallery folder

    a) Delete the plugin folder
    b) upload the plugin again via FTP and reactivate it then

  10. zowieguy
    Member
    Posted 5 years ago #

    Just the one folder exists...

    ?> if my wp_ database table prefix if changed, would it effect ngg?

    btw_ thanks for responding .. i am getting desperate to get this fixed..

  11. Alex Rabe
    Member
    Posted 5 years ago #

    Where you you get his error message ? at which page ?

  12. zowieguy
    Member
    Posted 5 years ago #

    when adding images or scanning folder for images.. error comes up and the i go into manage gallery and one image is there with no thumb. I can create thumb.. but then have to repeat these steps to get next image in.

    I just deleted all ngg folder and reinstalled.. error still there.

    Thanks'

  13. Alex Rabe
    Member
    Posted 5 years ago #

    Mhh maybe some IIS issue... can't reproduce it here with Apache. Try to update to PHP 5 if possible.

  14. zowieguy
    Member
    Posted 5 years ago #

    I did update PHP - and it slowed the site waaaaaaaaay down. but I will try again.
    Thank..
    _B

  15. zowieguy
    Member
    Posted 5 years ago #

    ok - after updating PHP... site runs slow.. but tried "scan folder for new images" and got something new.

    gave me "pictures added successfully" them went on .. with
    status bar still uploading and giving these errors as each uploaded:

    D 192: A failure occurred[more]
    
    ID 193: A failure occurred[more]
    
    ID 194: A failure occurred[more]
    
    ID 195: A failure occurred[more]
    
    ID 196: A failure occurred[more]
    
    ID 197: A failure occurred[more]
    
    ID 198: A failure occurred[more]
    
    ID 199: A failure occurred[more]
    
    ID 200: A failure occurred[more]
    
    ID 201: A failure occurred[more]
    
    ID 202: A failure occurred[more]
    
    ID 203: A failure occurred[more]
    
    ID 204: A failure occurred[more]

    but looks like some progress here...
    :)

  16. zowieguy
    Member
    Posted 5 years ago #

    *added - those errors seem to be when ngg is making thumbnails... but thumbs folder already there... mabey thats the error..

    hrmmmm

  17. zowieguy
    Member
    Posted 5 years ago #

    I just cant leave the site in PHP 5... it just runs uber slow. But images DO upload in PHP 5.

  18. eurythmics
    Member
    Posted 5 years ago #

    I too am receiving this error problem. I am self hosting via EasyCGI one of WordPress's partners. I can create the gallery OK, but the moment I try to upload na image I get this error. I have tried with and without flash upload enabled and still get the problem.

    Any help gratefully received.

  19. blogmd7
    Member
    Posted 5 years ago #

    * Operating System : Linux
    * Server : Apache/2.0.63 (Unix)
    * Memory usage : 12.3 MByte
    * MYSQL Version : 5.0.67-community
    * SQL Mode : Not set
    * PHP Version : 5.2.6
    * PHP Safe Mode : Off
    * PHP Allow URL fopen : On
    * PHP Memory Limit : 128M
    * PHP Max Upload Size : 2M
    * PHP Max Post Size : 8M
    * PHP Max Script Execute Time : 30s
    * PHP Exif support : Yes ( V1.4 )
    * PHP IPTC support : Yes
    * PHP XML support : Yes

    With all this setting I got the error ( ID 204: A failure occurred[more])
    I think is a bug on the new version.
    1:After I upload my photos I got the error but the photos and thumbs are created fine.

    2:In Gallery settings if I try to set any changes as watermark etc the same error occurs.
    * ID 26: A failure occurred
    [more]
    1

    1 picture(s) successfully added

    Any Help Please!

  20. blogmd7
    Member
    Posted 5 years ago #

    MY Settings--Php 5

    * Operating System : Linux
    * Server : Apache/2.0.63 (Unix)
    * Memory usage : 12.3 MByte
    * MYSQL Version : 5.0.67-community
    * SQL Mode : Not set
    * PHP Version : 5.2.6
    * PHP Safe Mode : Off
    * PHP Allow URL fopen : On
    * PHP Memory Limit : 128M
    * PHP Max Upload Size : 2M
    * PHP Max Post Size : 8M
    * PHP Max Script Execute Time : 30s
    * PHP Exif support : Yes ( V1.4 )
    * PHP IPTC support : Yes
    * PHP XML support : Yes

    With all this setting I got the error ( ID 204: A failure occurred[more])
    I think is a bug on the new version.
    1:After I upload my photos I got the error but the photos and thumbs are created fine.

    2:In Gallery settings if I try to set any changes as watermark etc the same error occurs.
    * ID 26: A failure occurred
    [more]
    1

    1 picture(s) successfully added

    Any Help Please!

  21. SeanS
    Member
    Posted 5 years ago #

    I just installed yesterday and am getting the same error:

    Fatal error: Cannot redeclare class nggimage in //nawinfs02\home\users\web\b279\rh.seansweb\blog\wp-content\plugins\nggallery\lib\image.php on line 9

    as noted above it gives the error but will upload image one at a time according to the admin panel. But, if I FTP the actual directory all the images are actually uploaded.

    Thanks for any help...

  22. SeanS
    Member
    Posted 5 years ago #

    I think the above issue may have something to do with the metadata. When I try to import metadata it gives the same error, and when I add my pictures one at a time, they all are dated Dec 31, 1969. Hopefully that gives a hint to what may be going on.

  23. zowieguy
    Member
    Posted 5 years ago #

    yes - i have the same issue.. all images are dated Dec 31, 1969

  24. videocp
    Member
    Posted 5 years ago #

    I am having the same problems.

    I have tried several approaches to the problem. Most recently, I uploaded directly to a gallery folder and then select SCAN FOLDER FOR NEW IMAGES, and still does the same, only recognizes one image at a time and give me the fatal error. I can repeat the steps and get another image recognized, but it follows with the fatal error again. I'm looking for another gallery plugin, too many problems and clients to convince the extra steps are worth it and it saying it be resolved soon.

    Fatal error: Cannot redeclare class nggimage in .....

    NexGen 1.2.1
    WP 2.7.1

  25. dmochizuki
    Member
    Posted 5 years ago #

    I am having the thumbnail problem and have been getting this error:

    ID 177: A failure occurred
    [more]
    [object XMLHttpRequest]

    I can upload a picture it's just the thumbnail that keeps failing!

    Please help!

  26. Raaj
    Member
    Posted 5 years ago #

    I read this post which started over two months and ago, and still no solution. Talk about bad support! Where are the people from NextGEN for support?

  27. JPFortier
    Member
    Posted 5 years ago #

    NEED HELP. IT DOESN'T WORK.

  28. greytdogart
    Member
    Posted 5 years ago #

    Is there a resolution to this error yet? Works great on one of my blogs, the other (different host) nope. Help.

  29. wandaterral
    Member
    Posted 5 years ago #

    I am getting the failure messages every time I upload images. However, the images ARE getting uploaded AND the thumbnails DO get created. When ever I click on the MORE link, I just get sent back to the manage gallery page. I am having problems editing the thumbnails though.

  30. zowieguy
    Member
    Posted 5 years ago #

    I am still having this problem. I have found a workaround but it is a pain. Please Alex.... give some support on this issue.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.