Can't Upload HQs Can't Upload HQs
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Can't Upload HQs

Started by Vini, December 15, 2005, 08:58:20 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Vini

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!

Nibbler

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

Vini

#2
Quote from: Nibbler 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
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?

Nibbler

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

Vini

Quote from: Nibbler on December 15, 2005, 09:08:56 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...

Nibbler

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.

Vini

Quote from: Nibbler 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.
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)?

Joachim Müller

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