Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Only red cross is displayed  (Read 3548 times)

0 Members and 1 Guest are viewing this topic.

CHRISS76

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Only red cross is displayed
« on: April 14, 2006, 09:19:40 pm »

Hey guys,

when I upload a jpeg file with coppermine 1.4.4 in http-modus, at the next page only a red cross is displayed, and
then I have to organize this to my test category and then coppermine says the picture could not be composed.
I have php 4.3.4.
Also the file is uploaded to the server, but no thumb is created and the picture is not displayed at any category.
safe_mode local is on, safe_mode master is off, and the GD Lib 2.x is working correctly.
I also tried it with the code changes in includes/picmgmt.inc.php


           // imagejpeg($dst_img, $dest_file, $CONFIG['jpeg_qual']);
         
         $fh=fopen($dest_file,'w');
            fclose($fh);
            imagejpeg($dst_img, $dest_file, $CONFIG['jpeg_qual']);

Also the folders have 777.
Nothing worked!

Any ideas from you??

Many thanks and regards

Chris
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

CHRISS76

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Only red cross is displayed
« Reply #2 on: April 15, 2006, 05:12:46 pm »

Hello GauGau,

I investigated a little bit more, the system (maybe coppermine, but I think more the GD Lib) can't work with jpg-Files bigger than about 250 kb.
Smaller pictures are no problem, but the bigger ones are not working!

Do you have an idea?

Kind regards

Chris
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

ddpmacho

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Only red cross is displayed
« Reply #4 on: April 16, 2006, 03:38:05 pm »

I'm going to put my 2cents in here if I may. I was having the same problem and to resolve it I resized all my pics to 640x480 before I uploaded them and that worked. Recently I switched hosts and did a fresh install of 1.4.4 and left all settings to default. I uploaded my pics went to batch add and had no problems. The majority of my pics are 5mg and above. So this may not be a coppermine issue but a hosting issue.
Logged

CHRISS76

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Only red cross is displayed
« Reply #5 on: April 17, 2006, 06:30:41 pm »


Hey guys,

many thanks, maybe I can investigate it a little more with different hosting packages.
If I have some more information, I will post it here!

Thanks and enjoy the day!

Chris
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Only red cross is displayed
« Reply #6 on: April 17, 2006, 08:04:51 pm »

please open the links GauGau posted... all necessary info to be found there
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.