[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
 

tomt jpg



Har et script til at lave miniturer af jpgs.
Kører gennem mappen /gfx

snip:
-----------------------------
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);
}
----------------------
laver så en minitur i /minipics, dersom ikke findes i forvejen.
Kørte fint på Mandrake


Efter migration til server kører scripts i safemode, har det lykkedes at få httpd til at lave en mini*.jpg i /minipics, da ejer af scriptfil og hele sitet med /gfx, inkl original.jpg's, og /minipics er sat til httpd (mens jeg får det til at virke) Den er blot tom = 0 byte.
kan ikke finde noget fornuftig i /log/httpd/error_log om dette.


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

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] *