[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] tomt jpg



Leif Lende skrev:
Peter Makholm skrev:

Leif Lende <sslug@sslug> writes:


Nogen der kan give et hint, så jeg kan komme videre?



For det første mangler du at fortælle os hvilket sprog du prøver at programmere i og for det andet mangler du at fortælle hvor definitionerne af GetImageSize, ImageCreateFromJpeg, ImageCreate osv. kommer fra (med mindre det er et specielt billedhåndteringssprog der har den slags funktioner som primitiver).

Beklager, sene aftentimer...
Nu er jeg vidst vågen igen.
scriptsproget er PHP 4
GD installeret og enables fra php.ini
zlib installeret og enables fra php.ini
libjpeg er installeret
Leif

Jeg har fundet denne snip i httpd error log eftger at køre script:

if ($ar>=0) {
if(!file_exists("minipics/mini$file")){
$size = GetImageSize("gfx/$file");
$im_in = ImageCreateFromJpeg("gfx/$file");
$im_out = ImageCreate($size[0] / 3, $size[1] / 3);
ImageCopyResized($im_out, $im_in, 0, 0, 0, 0, $size[0] / 3, $size[1] / 3, $size[0], $size[1]);
ImageJpeg($im_out, "minipics/mini$file");
Imagedestroy($im_in);
ImageDestroy($im_out);
}


httpd: relocation error: /usr/share/php4/gd.so: undefined symbol: ap_php_snprintf

Er der en ekspert der kan oversætte lidt?
Måske jeg er på sporet af hvorfor mini.jpg bliver tomt ,0 byte.
Leif


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *