Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Login
Register
News
:
December 02, 2008, 01:05:26 pm
RSGallery2 Support Forums
RSgallery2 support forums
RSgallery2 bugs & problems
(Moderators:
Jonah
,
Tomislav Ribicic
,
Daniel Tulp
,
Ronald Smit
)
"Allowed memory size exhausted" error
« previous
next »
Topic Tools
Search this topic
Pages
1
2
Author
Topic: "Allowed memory size exhausted" error (Read 19348 times)
Reply #15
«
on:
June 10, 2007, 05:23:39 am »
Daniel Tulp
Administrator
Hero Member
Search search search before posting please
Posts: 1870
Re: "Allowed memory size exhausted" error
you can always use the single file upload feature, I use it for my photo.danieltulp.nl website as it gives me more control and you can select more then one image so, it doesn't differ that much
we are thinking about changing the batch upload process to upload, from step 2, one image at at time, in order to prevent problems like this, did you have problems on step1 also?
Logged
RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
Reply #16
«
on:
June 10, 2007, 05:26:33 am »
CofL
Newbie
Posts: 7
Re: "Allowed memory size exhausted" error
I have a problem with single photo upload.
Batch, I didn't even try....sorry if I wasn't clear about that.
Logged
Reply #17
«
on:
July 17, 2007, 05:06:25 am »
Agus
Newbie
Posts: 2
Re: "Allowed memory size exhausted" error
Hello,
Maybe here's the solve of this "Allowed bla bla bla...", you can attach "ini_set("memory_limit","12M");" at the top of img_utils.php. Hope this helpfull..
Errr..sorry my english is bad
...Thx.
Logged
Reply #18
«
on:
July 18, 2007, 10:49:07 am »
CofL
Newbie
Posts: 7
Re: "Allowed memory size exhausted" error
Where can I find img_utils.php ?
Logged
Reply #19
«
on:
July 22, 2007, 01:26:32 pm »
Hein de Vries
Newbie
Posts: 5
Re: "Allowed memory size exhausted" error
Quote from: CofL on July 18, 2007, 10:49:07 am
Where can I find img_utils.php ?
in /srv/www.htdocs/administrator/components/com_rsgallery2/includes (on my Linux machine). But this doesn't work, at least not for me. I've tried 12M en 120M, I've tried single or double quotation marks. It doesn't help.
Does anybody else have any suggestions?
Greetzzzzzzzz........
Hein
Logged
Reply #20
«
on:
July 23, 2007, 05:55:03 am »
CofL
Newbie
Posts: 7
Re: "Allowed memory size exhausted" error
Correct, doesn't work here either..
Logged
Reply #21
«
on:
July 23, 2007, 02:24:45 pm »
Hein de Vries
Newbie
Posts: 5
Re: "Allowed memory size exhausted" error
I have found a solution that works for me. I have changed the setting " memory_limit = 16M" to 32M in php.ini (php v5), and restarted apache & mysql. Now I can upload images bigger than 4M. Hope this works for others who have the same problem.
Greetzzzzzzz...........
Hein
Logged
Reply #22
«
on:
July 24, 2007, 02:48:44 am »
CofL
Newbie
Posts: 7
Re: "Allowed memory size exhausted" error
Yep, this solution works, as long as you have the rights and freedom to change your own php.ini.
In my case, the provider manages the php.ini and I don't have the possibility of changing it myself.
His viewpoint is that any application that needs so much memory isn't written well.
And he's got a point, because Coppermine can handle larger filesizes with only 12M memory. Alas Coppermine isn't as flexible with user rights. That is the reason I ended up with RSG2.
So until the prog is rewritten, it means no gallery for me...
Logged
Reply #23
«
on:
August 12, 2007, 04:03:05 pm »
BarendPHP
Newbie
Posts: 1
Re: "Allowed memory size exhausted" error
Almost right every one. BUT!!! It is not the MB's but the resolution what kills the applacation using the following code:
$image_p = imagecreatetruecolor($new_width, $new_height)or die("Cannot Initialize new GD image stream");
$handle = imagecreatefromjpeg($orgfile);
imagecopyresampled($image_p, $handle, 0, 0, 0, 0, $new_width, $new_height, $width, $height);
imagejpeg($image_p, $tumbfile, 100);
Maxumum upload size 1200 x 1200 pixels will do!
Succes!
Logged
Reply #24
«
on:
August 20, 2007, 05:42:16 am »
Mattias B.
Newbie
Posts: 1
Re: "Allowed memory size exhausted" error
I had the same error, increaseing memory limit in .htaccess did it for me, but there must be some kind of error since this is needed since the image I tried to upload was 27 890 bytes.
Worked fine with 50+ pictures (size 800x600), only failed on one which differed in format.
Same error with batch upload and single file upload. I'm running somewhat default config of rs2 and the file I was trying to upload was 600x800px.
Just thought I'd post the extra info, maybe it will help in finding the problem. If you wanna debug yourselves (
http://www.voda.se/galleri/13/P1010071-800.jpg
) is the picture that caused the error and I'm running com_rsgallery2_1.12.2-alpha.
Logged
Reply #25
«
on:
August 30, 2007, 07:45:21 am »
gleikin
Newbie
Posts: 1
Re: "Allowed memory size exhausted" error
I had exactly the same problem. If you have Netpbm 10.0 installed on your server it should solve the problem. I just switched gd2 graphics library to netpbm and it's working now. Was able to upload 94 pictures in a batch.
Logged
Pages
1
2
« previous
next »
Jump to:
Please select a destination:
-----------------------------
RSgallery2 support forums
-----------------------------
=> RSgallery2 bugs & problems
===> Resolved Issues
===> Known Issues
=> Features
=> Display and Templates
=> RSgallery2 modules and plugins (mambots)
-----------------------------
RSGallery2
-----------------------------
=> General discussion
=> Gallery Showcase
=> Template directory
=> Meta Forum
=> Duplicate Threads
-----------------------------
Language translations
-----------------------------
=> General language and translation questions
=> Chinese
=> Danish
=> Dutch
=> English
=> French
=> German
=> Greek
=> Polish
=> Spanish
=> Other languages
=> New translations
-----------------------------
Developers corner
-----------------------------
=> Developer Lobby
=> Nightly Builds for RSGallery2 in Joomla 1.5
=> J15Backport [Closed]
=> Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened!
Print
Advanced search
Powered by SMF 1.1.7
|
SMF © 2006-2008, Simple Machines LLC
Pn-Pn Theme by koni.
Loading...