After some checking, it seems that it indeed has to do with php.ini settings.
however, it appears that you can overwrite the settings in an individual script by adding
ini_set("memory_limit","12M"); (or another number)
This solved the problem on my 1.5.2 blog, where i added it into admins-function.php
Okie.but which file in 2.0 should i make this change to?
On 11/24/05,
Nikolay Bachiyski <[EMAIL PROTECTED]> wrote:
Chen ZhaoLin wrote:
> Hi,
>
> (oops. wrong subject title previously)
>
> I just shifted host recently. and on WP 1.5.2, when i upload large
> images and try to create a thumbnail, i get an error
>
> *Fatal error*: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 8192 bytes) in
> */home/tedfox/public_html/diary/wp-admin/admin-functions.php* on line *215
>
> *And using wp 1.6, i don't get the thumbnails (but no error msg is shown)
>
> My host says it's not a problem on their side when i enquired. And asked
> me to get back to the software developers.
>
> So i'm just curious what can possibly cause such problems. I would have
> thought it was an apache setting limiting the amout of memory the server
> can use.
>
It is a gd bug. I know no fixes for it.
Usually emerges on big images and does not on smaller ones.
You can consult the php bugs site, and gd bugs site for new advances on
the topic.
Nikolay
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers
_______________________________________________ wp-testers mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-testers
