[SOLVED] Can't delete and browse images?

theboywonder

Joined: 2005-02-25
Posts: 2
Posted: Fri, 2005-02-25 05:42

Hi :)

Ok the main problem is that I can't delete any images from my newly installed gallery (http://theboywonder.co.uk/photos). I'm also getting a lot of "page not found" errors aswell when viewing images. This is what I've tried:

-- Uploading from Web Browser --

1st attempt:
Using Firefox and 2 images. Click upload, it seems to transfer but the page just sits there and doesn't change. Refreshing the gallery shows the filenames, but no thumbnail, clicking the filename to view does nothing. Using IE and clicking the filenames = Cannot find server

2nd attempt:
Using Firefox and 1 image. Click upload, it seems to transfer but the page just sits there. Refreshing the gallery shows the thumbnail this time, but again clicking the thumbnail does nothing.
Using IE and clicking the thumbnail = Cannot find server

3rd attempt:
Using Internet Explorer 6.0 and 4 images.

Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: in /home/httpd/vhosts/theboywonder.co.uk/httpdocs/photos/modules/gd/classes/GdFunctionality.class on line 244

Warning: imagecreatefromjpeg(): '/home/httpd/vhosts/theboywonder.co.uk/httpdocs/photos/g2data/albums/8_25426-1.jpg' is not a valid JPEG file in /home/httpd/vhosts/theboywonder.co.uk/httpdocs/photos/modules/gd/classes/GdFunctionality.class on line 244
Error (ERROR_BAD_PATH)
in modules/core/classes/GalleryDataItem.class at line 127 (gallerystatus::error) 
in modules/core/classes/GalleryUnknownItem.class at line 77 (gallerydataitem::create) 
in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 220 (galleryunknownitem::create) 
in modules/core/classes/GalleryCoreApi.class at line 1322 (galleryitemhelper_medium::additemtoalbum) 
in modules/core/ItemAddFromBrowser.inc at line 79 (gallerycoreapi::additemtoalbum) 
in modules/core/ItemAdd.inc at line 77 (itemaddfrombrowser::handlerequest) 
in main.php at line 170 (itemaddcontroller::handlerequest) 
in main.php at line 47
in main.php at line 40

But the first 3 images upload and work perfectly well in IE and Firefox! (however, still cannot delete in either browser).

6th attempt:
Using Internet Explorer, 1 image, into a sub-album. Tries to upload but eventually results in the usual Cannot find server ..... and the viewing the gallery shows no thumbnail, just a filename like the 1st attempt.

-- Uploading from Local Server --

4th and 5th attempt:
Using Internet Explorer again, 1 image each attempt. Clicking "Add files" results in page not found, but the thumbnails are created, but clicking the main images results again in: Cannot find server

------------

Any help would be greatly appreciated! This problem sucks :cry:

Many thanks,

Robin

----

Gallery URL (optional): http://theboywonder.co.uk/photos
Gallery version: 2
Webserver (with version): Apache/2.0.50 (Fedora)
Datatabase (with version): MySQL 3.23.58
PHP version (eg 4.2.1): 4.3.8
phpinfo URL (optional):
Graphics Toolkit(s): Gd
Operating system: Win2K Pro
Web browser/version: Firefox v.1.0

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2005-02-25 07:12

have you tried imagemagick or netpbm?

 
theboywonder

Joined: 2005-02-25
Posts: 2
Posted: Fri, 2005-02-25 07:27

Oh my Gosh, you're the best.

netpbm worked for me :D I had absolutely no idea that deleting/browsing error would be due to that once the image had been uploaded!

Thanks again!