Page 1 of 2

Error while creating.....(Error1)

Posted: 10 Aug 2008, 02:06
by tarnold
Ok, i have been uploading pictures just fine into folders and everything. Everything has been working fine until today. I tried to upload some pictures and they went fine until I get this error. I dumped all the images and reinstalled Phoca and same thing happens. I tried different images and same thing. The only thing I can think of is that this is the first time I tried multiple image upload. But I tried both.


Phoca 1.8.8
PHP Version: 4.4.8
Joomla! Version: Joomla! 1.5.5
Web Server: Apache/1.3.34 Ben-SSL/1.55

Code: Select all

Phoca Gallery is creating thumbnail(s) now. Please wait...

Creating of thumbnail beyond33.jpg ... Error
(beyond33.jpg)

(Re)creating of thumbnails is running now, please wait...
Error Message:	Error while Creating Thumbnails (Error1)
What to do now :	ยป If you have fixed the problem caused by

    * Image (wrong type or broken image) - remove the image or upload new image via e.g. FTP
    * GD Library (not correctly working GD library, not working GD functions) - install or reinstall GD library
    * Permissions (no rights to write files or folders) - change the permissions of image/phocagallery folders on your server,

Re: Error while creating.....(Error1)

Posted: 10 Aug 2008, 17:45
by Jan
Hi, the 'Error1' error you get in case, you don't obtain any information from function:

ImageCreateFromJPEG

please, see your GD, if you have support for this function...

Jan

Re: Error while creating.....(Error1)

Posted: 10 Aug 2008, 21:15
by tarnold
I guess I would have to talk to my web hosting provider (1and1) about this. Or is this something I can do myself?

Re: Error while creating.....(Error1)

Posted: 10 Aug 2008, 21:35
by Jan
go to administration area (Joomla!):

Help - System Info - PHP information and you can find here the 'gd' info

Jan

Re: Error while creating.....(Error1)

Posted: 10 Aug 2008, 23:22
by tarnold
Heres what the gd info says

Code: Select all

gd
GD Support  enabled  
GD Version  bundled (2.0.28 compatible)  
FreeType Support  enabled  
FreeType Linkage  with freetype  
GIF Read Support  enabled  
GIF Create Support  enabled  
JPG Support  enabled  
PNG Support  enabled  
WBMP Support  enabled  
XBM Support  enabled  

Re: Error while creating.....(Error1)

Posted: 11 Aug 2008, 11:13
by Jan
So it seems like the GD support should work on your site... try to reinstall Phoca Gallery or maybe there is some problem with some jpg image (try to create thumbnails from other images) ... maybe the function ImageCreateFromJPEG is enabled but it have some problems ... :( ???

Jan

Re: Error while creating.....(Error1)

Posted: 12 Aug 2008, 15:56
by thefake
Same Error in here

Code: Select all

gd
GD Support 	enabled
GD Version 	bundled (2.0.28 compatible)
FreeType Support 	enabled
FreeType Linkage 	with freetype
FreeType Version 	2.1.9
T1Lib Support 	enabled
GIF Read Support 	enabled
GIF Create Support 	enabled
JPG Support 	enabled
PNG Support 	enabled
WBMP Support 	enabled
XBM Support 	enabled
Which version von GD do you have tested?

Reinstallation of Phoca didn't work it broke the thumbnailingprozess at the 5. picture of that gallery
thumbnail creation from other galleryies did work fine but more than 5 galleries (and there pictures) got the error like the topic creator has. Is there a way to trick the phoca gallery for the galleries that don't work by creating the thumbs by myself and upload them?
A side effect of this error 1 is, that the complete pictures of this gallery cannot be displayed either in thumb or (and that's the bigger problem) as big (original) picture.

Hoping you have some hints
greets
fake

Re: Error while creating.....(Error1)

Posted: 13 Aug 2008, 17:15
by Jan
The error occures in this place:

Code: Select all

$image1 = ImageCreateFromJPEG($file_in);
if ($image) {
} else {
 error
}
so it means, that Phoca Gallery don't get any result from ImageCreateFromJPEG. Why? maybe the GD is wrong (I think, this is not the problem), maybe the jpg image has some problem which inhibits from properly creating of a thumbnail by the GD on the server. :(

so maybe the removing from the image will help ???, Stop thumbnails creating should be clicked to stop automatically creating of thumbnails and solving the problem (removing image, reinstalling Phoca Gallery, etc...)

Jan

Re: Error while creating.....(Error1)

Posted: 14 Aug 2008, 01:06
by arzlonga
I have the same problem. I wrote an email to my host about GD libraries, they said there's no problem. Also I installed another components that use GD they work very well. I created two galleries and they worked well too. But when I tried third one it gives "The GD function ImageCreateFromJPEG doesn't work on your server" while creating thumbnails. Nothing changed after the other two galleries both on my website and on my host. So I don't think its about hosts or GD library supports. But I don't know the solution too. I deleted images, upload another images, nothing changed. I uninstalled the component and reinstall it, after two galleries it gives the same error. I don't know why. Is there a limit for galleries that we create? It's an urgent problem I guess. Please help

Re: Error while creating.....(Error1)

Posted: 15 Aug 2008, 20:27
by Jan
there are no limits, thumbnails are made by server's GD... did you try to add e.g. some small image? try if small images work?