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: Can't Upload HQs  (Read 5651 times)

0 Members and 1 Guest are viewing this topic.

Vini

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 55
Can't Upload HQs
« on: December 15, 2005, 08:58:20 pm »

After,that problem that i could not upload..Now i can..
But when i try to upload BIG files as 1 MB of just ONE picture.It gives me that error picture per picture,changing the "byes exhausted" before that problem i could do it!

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1600 bytes) in /home/virtual/site41/fst/var/www/html/apple/include/picmgmt.inc.php on line 209


Lines 205 - 215(Line 209 in BOLD)

 if (!function_exists('imagecreatetruecolor')) {
                cpg_die(CRITICAL_ERROR, 'PHP running on your server does not support GD version 2.x, please switch to GD version 1.x on the config page', __FILE__, __LINE__);
            }
            if ($imginfo[2] == GIS_JPG)
                $src_img = imagecreatefromjpeg($src_file);
            else
                $src_img = imagecreatefrompng($src_file);
            if (!$src_img) {
                $ERROR = $lang_errors['invalid_image'];
                return false;
            }


Hope you help me!
« Last Edit: December 17, 2005, 01:27:34 am by GauGau »
Logged

Nibbler

  • Guest
Re: Can't Upload HQs
« Reply #1 on: December 15, 2005, 09:02:11 pm »

You do not have enough resources available on the server to handle pics of that size. Either do the resizing on your own PC or get the memory limit increased.

http://forum.coppermine-gallery.net/index.php?topic=5843.0
Logged

Vini

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 55
Re: Can't Upload HQs
« Reply #2 on: December 15, 2005, 09:06:50 pm »

You do not have enough resources available on the server to handle pics of that size. Either do the resizing on your own PC or get the memory limit increased.

http://forum.coppermine-gallery.net/index.php?topic=5843.0
before it,
i always could upload BIG files..
I have already uploaded one that had 3,0 MB!It was super HQ

I entered your link...But i did not find anything that could help me

My users LOVES hqs...I can't stop uploading IT!..as i didn't found the file> php.ini that is requested to make the changes...
Isn't it in my GALLERY?
« Last Edit: December 15, 2005, 09:15:09 pm by Vini »
Logged

Nibbler

  • Guest
Re: Can't Upload HQs
« Reply #3 on: December 15, 2005, 09:08:56 pm »

Before you were using Imagemagick, where the memory limit does not apply.
Logged

Vini

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 55
Re: Can't Upload HQs
« Reply #4 on: December 15, 2005, 09:18:14 pm »

Before you were using Imagemagick, where the memory limit does not apply.
It's because of the SIZE in MB?
Or the size in Pixels???


I'd like to back to IMAGEMAGICK >:(
It's accept HQs...and i get SATISFACTED my users  :'(

There's NO mean to BE RIGHT BACK to IMAGEMAGICK????
Can i BACK?Without Lose the addition of PICS...
Logged

Nibbler

  • Guest
Re: Can't Upload HQs
« Reply #5 on: December 15, 2005, 09:34:33 pm »

You won't lose anything, judging from your previous thread you just need to obtain the correct path to 'convert' and enter it in config.
Logged

Vini

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 55
Re: Can't Upload HQs
« Reply #6 on: December 15, 2005, 09:42:21 pm »

You won't lose anything, judging from your previous thread you just need to obtain the correct path to 'convert' and enter it in config.
Please...I'm sorry...I didn't understand... :'(
I just want to UPLOAD big pictures like 2000x2000 px
But i need to make them for example to have 80kb the invert of the real size(1.80 mb)?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can't Upload HQs
« Reply #7 on: December 17, 2005, 01:27:09 am »

double-post, same thing asked on the cpg1.3.x board: http://forum.coppermine-gallery.net/index.php?topic=25137.0
On that other thread, Vini said that he's actually using cpg1.4.x, so I'm moving this thread from the cpg1.4.x uploaod board to the board that deals with version Vini has and where he should have posted in the first place.
Causing supporters double work like that is not a bright idea.

@Vini: if you keep disrespecting board rules, you'll get banned
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 16 queries.