Hi guys any ideas?
When we upload images we get the following error:
"
Afbeelding toevoegen...
Het bestand SS101468.JPG is succesvol geüpload als /opt/www/zwartsw/web/www.tibozwarts.be/blog/uploads/SS101468.JPG
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3648 bytes) in /opt/www/zwartsw/web/www.tibozwarts.be/blog/include/functions_images.inc.php on line 1307
"
If I check the site trough ftp, the JPG is actually uploaded, but no thumbnail is generated and definatly doesn't showi teh medialibrary.
Thanks!
Error uploading image
-
kleinerChemiker
- Regular
- Posts: 765
- Joined: Tue Oct 17, 2006 2:36 pm
- Location: Vienna/Austria
- Contact:
Re: Error uploading image
You have to raise the memorylimit of php.
Re: Error uploading image
Where can I find this?kleinerChemiker wrote:You have to raise the memorylimit of php.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Error uploading image
Hi!
Either you need to contact your web provider, or you can try to use a .htaccess and set "php_value memory_limit 64M" for example.
The actual memory usage depends on the number of plugins you have installed, how much RAM the server has, and how large the image is. Remember a 500kb JPEG might take up to 30MB of RAM if thumbnail conversion is required.
Regards,
Garvin
Either you need to contact your web provider, or you can try to use a .htaccess and set "php_value memory_limit 64M" for example.
The actual memory usage depends on the number of plugins you have installed, how much RAM the server has, and how large the image is. Remember a 500kb JPEG might take up to 30MB of RAM if thumbnail conversion is required.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Error uploading image
Hi gavin,garvinhicking wrote:Hi!
Either you need to contact your web provider, or you can try to use a .htaccess and set "php_value memory_limit 64M" for example.
The actual memory usage depends on the number of plugins you have installed, how much RAM the server has, and how large the image is. Remember a 500kb JPEG might take up to 30MB of RAM if thumbnail conversion is required.
Regards,
Garvin
Thanks for the reply, I'll start with editing the htacces file and see what happens.
What is strange though is that it's always the same size of JPEG's. I didn't alter or install new pluggins since I setup the blog, and my wife always uses the same camera. From what I understand is that maybe the provider has tweakd something on the server and that's what causing the problems... is this correct?
Greetzzz,
Wim
Re: Error uploading image
PS: where can I finf the .htaccess file? 
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Error uploading image
Hi!
Hm, what you could do is re-upload an image that already exists on your server, to see if your provider changed anything.
.htaccess support depends on your provider, your mileage may vary and the provider might not even supporrt it. Also, if it doesn't exist you might need to create it. Remeber that some FTP clients/servers hide files that start with "." which makes it hard to spot such files...
Regards,
Garvin
Hm, what you could do is re-upload an image that already exists on your server, to see if your provider changed anything.
.htaccess support depends on your provider, your mileage may vary and the provider might not even supporrt it. Also, if it doesn't exist you might need to create it. Remeber that some FTP clients/servers hide files that start with "." which makes it hard to spot such files...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/