Login     Sign up
picture upload
Håvard Rylandsholm (@haavard)
Join date: Sep 24th 2010
Community posts: 51
View Profile
Send Message

I have a problem with picture upload.

My server provider have increased server settings, memory to 25 MB and file upload to 40 MB

But i still get this error:

Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 12128 bytes) in /mnt/webcluster1storage4/T/theracew/www/includes/libs/resizeimage.inc.php on line 119

174 months ago
Terence Watts (@terencewatts)
Join date: Sep 15th 2010
Community posts: 75
View Profile
Send Message

Try reducing the size of the picture to 400px x 400px

174 months ago
Håvard Rylandsholm (@haavard)
Join date: Sep 24th 2010
Community posts: 51
View Profile
Send Message

In what jcow file? can it be something wrong with the scripts/codes?

174 months ago
AL (@switch48)
Join date: Sep 1st 2010
Community posts: 450
View Profile
Send Message

[quote=haavard]In what jcow file? can it be something wrong with the scripts/codes? [/quote]

i think he means resize your image before you try uploading

174 months ago
Håvard Rylandsholm (@haavard)
Join date: Sep 24th 2010
Community posts: 51
View Profile
Send Message

People take picture and add them to their computer and than to the website. If the pic they try to upload om my site are 2 MB it`s a big problem (no uploas)

Maby 3% of social members can fix on their pictures.

I need a system that works.

174 months ago
AL (@switch48)
Join date: Sep 1st 2010
Community posts: 450
View Profile
Send Message

[quote=haavard]People take picture and add them to their computer and than to the website. If the pic they try to upload om my site are 2 MB it`s a big problem (no uploas)

Maby 3% of social members can fix on their pictures.

I need a system that works. [/quote]

It does work I can upload 4mb size it just might be your server...

174 months ago
Håvard Rylandsholm (@haavard)
Join date: Sep 24th 2010
Community posts: 51
View Profile
Send Message

The server can handle 40 mb upload and 25 mb memory

174 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

put a link to this site

[url]http://www.shrinkpictures.com/[/url]

174 months ago
Terence Watts (@terencewatts)
Join date: Sep 15th 2010
Community posts: 75
View Profile
Send Message

HI - you just need to adjust the picture size. Almost everybody on my community site has managed this. I'm not sure what the max. size is but 200px square definitely uploads okay.

174 months ago
Håvard Rylandsholm (@haavard)
Join date: Sep 24th 2010
Community posts: 51
View Profile
Send Message

Ok, so everybody have a problem with upload? We have checked the server. and it`s noting wrong there.

There must be a way to solve this problem.

I have payd money for this scripts...

174 months ago
DeFender (@defender)
Join date: Oct 1st 2010
Community posts: 167
View Profile
Send Message

try this [url]http://www.tech-recipes.com/rx/777/solve-php-fatal-error-allowed-memory-size-of-8388608-bytes-exhausted-tried/[/url]

174 months ago
Håvard Rylandsholm (@haavard)
Join date: Sep 24th 2010
Community posts: 51
View Profile
Send Message

Problem fixed:)

174 months ago