coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: creamycoolness on December 02, 2006, 08:53:00 PM

Title: Problem with .jpg uploading.
Post by: creamycoolness on December 02, 2006, 08:53:00 PM
Hey everyone,

I've been recently introduced to CPG and I have issues when I try to upload some of my pictures. I uploaded the pics on the server and when I try to add them on the gallery, there's no preview and the images are not added. I checked the size, witdh and all that I could think of, but it's not working :s

Can anybody help?

Here's a pic I can't upload : http://www.colorblinded.eu//Portfolio/albums/resources/stocksimages/lights/tfhs17.jpg

if someone manage to upload it, thanks a million !
Title: Re: Problem with .jpg uploading.
Post by: Davide Renda on December 02, 2006, 09:09:16 PM
have you checked permissions (chmod) on your files?
Title: Re: Problem with .jpg uploading.
Post by: Sami on December 02, 2006, 09:14:47 PM
Actually it's better to do as suggested under upload trouble shooting section (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble) of doc.
Title: Re: Problem with .jpg uploading.
Post by: creamycoolness on December 02, 2006, 09:22:50 PM
Quote from: lontano on December 02, 2006, 09:09:16 PM
have you checked permissions (chmod) on your files?

Yes, I put it on full permission (777) but it isn't working. Besides, other files work so it has to do with these files :s

Here what I got when I try to upload them :

QuoteFatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 8192 bytes) in /customers/colorblinded.eu/colorblinded.eu/httpd.www/Portfolio/include/picmgmt.inc.php on line 262

Thanks Sami, I'm going to read it :)
Title: Re: Problem with .jpg uploading.
Post by: Sami on December 02, 2006, 09:26:51 PM
Quote from: creamycoolness on December 02, 2006, 09:22:50 PM
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 8192 bytes) in /customers/colorblinded.eu/colorblinded.eu/httpd.www/Portfolio/include/picmgmt.inc.php on line 262

Then I recommand to read this first ;)
http://forum.coppermine-gallery.net/index.php?topic=24088.msg110690#msg110690
Title: Re: Problem with .jpg uploading.
Post by: creamycoolness on December 02, 2006, 09:38:25 PM
Quote from: Sami on December 02, 2006, 09:26:51 PM
Then I recommand to read this first ;)
http://forum.coppermine-gallery.net/index.php?topic=24088.msg110690#msg110690

I'm sorry, I know I must look like a total moron...but, where can I find the php.ini file that I have to modify?
Title: Re: Problem with .jpg uploading.
Post by: Sami on December 03, 2006, 06:34:50 AM
Ask your host about it ...
Title: Re: Problem with .jpg uploading.
Post by: Joachim Müller on December 03, 2006, 10:43:20 AM
Ask them if you're allowed to edit php.ini at all, as you're probably not. If this is the case, you can't do anything to circumvent this on your server. You'll have to resize pics on your client before upload then.
Title: Re: Problem with .jpg uploading.
Post by: creamycoolness on December 04, 2006, 09:15:55 PM
Quote from: GauGau on December 03, 2006, 10:43:20 AM
Ask them if you're allowed to edit php.ini at all, as you're probably not. If this is the case, you can't do anything to circumvent this on your server. You'll have to resize pics on your client before upload then.

Yes, I can't change the php.ini settings. I've found another way to trick this evil gallery :D lol

Thanks for all the support   ;)