A big problem,someone please help me A big problem,someone please help me
 

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

A big problem,someone please help me

Started by petko, June 03, 2008, 09:12:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

petko

Hello.I'vei nstalled for first time that amazing gallery and when I tried to uploud one photo it show me some error - 262.I was searching 1,30 for someway to "kill" that problem...but I can't.Please somebody help me!!!

Thanks a lot!

petko


François Keller

QuoteI tried to uploud one photo it show me some error - 262.
give us more details, but for a start, read the post it of this board http://forum.coppermine-gallery.net/index.php/topic,24088.0.html
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

petko

Thank you for the quickly answer!


It show me that error
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9000 bytes) in /home/=====/public_html/include/picmgmt.inc.php on line 262

when I try to uploud HQ picture (860 kb )

François Keller

Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

petko

Quotelternative 1 (ideal):Increase the memory limit allocation in php.ini. You must be the server's administrator to do this. Also, .htaccess files cannot change this configuration setting, and it cannot be changed using ini_set(). First, you locate the following block in php.ini:

Code:

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60        ; Maximum amount of time each script may spend parsing request data
memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)


That is what I search.But I cant understand where I must to put that. :'( :'( :'(

François Keller

ask your webhost if they can do it for you. If not, look at the others solutions or try to use a mod like coppermine java image uploader
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

petko

I just tried the Java but it miss some pictures.
The others ways - resize images and btw ... I must to uploud the photos in the original sizes.

So please if there is some way to do it alone (change something in some .php file) please tell me,I really need from that  :'( :'(

just_some_guy

php.net/ini_set()

Have a look into the PHP ini_set() function; if you can't edit your php.ini file then this is a very good alternative, it allows you to modify the pre-set PHP settings on a per-file basis. It could elevate your memory_limit like so - ini_set("memory_limit", "10M");.

Also, you may wish to look at the Coppermine Home Uploader mod, as an alternative, it doesnt operate on your server, instead it works on your PC so it bypass's any PHP restrictions.
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums