[Mediawiki-l] MediaWiki-l Digest, Vol 52, Issue 10

Itay Ophir itay at worldwideworkshop.org
Tue Jan 8 03:13:07 UTC 2008


Thanks for everyone's help, 
here is the error msg I get from two different wikis we have when trying to
browse the file gallery:

wiki 1:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 11424 bytes) in
/home/myglcap2/public_html/usa/wv/ccmswiki/includes/media/Bitmap.php on line
168

wiki 2:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 11264 bytes) in
/home/myglcap2/public_html/usa/wv/hsta-manwiki/includes/media/Bitmap.php on
line 168

This might be caused by the imagesize as Grietinus wrote yesterday (Issue
10) I am not sure.

The wikis is setup on a shared server.

The solution I found for it is:
1. Chaning Memory limit from 20M to 40-50M on the following line of
localsetting: 
# ini_set( 'memory_limit', '20M' );
2. Going to the file gallery (that works now) and clicking on the thumbnails
3. then lowering the memory back to 20M

Any clues of how to prevent this?

Thanks,
Itay
 




-----Original Message-----
From: mediawiki-l-bounces at lists.wikimedia.org
[mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of
mediawiki-l-request at lists.wikimedia.org
Sent: Monday, January 07, 2008 7:00 AM
To: mediawiki-l at lists.wikimedia.org
Subject: MediaWiki-l Digest, Vol 52, Issue 10

Send MediaWiki-l mailing list submissions to
	mediawiki-l at lists.wikimedia.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
or, via email, send a message with subject or body 'help' to
	mediawiki-l-request at lists.wikimedia.org

You can reach the person managing the list at
	mediawiki-l-owner at lists.wikimedia.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of MediaWiki-l digest..."


Today's Topics:

   1. Re: Is there a way to limit the size of images	uploaded
      (Grietinus Koops)
   2. Mediawiki skin problem (links) (Alain van Acker)


----------------------------------------------------------------------

Message: 1
Date: Sun, 6 Jan 2008 21:47:23 +0100
From: "Grietinus Koops" <grietinus at gmail.com>
Subject: Re: [Mediawiki-l] Is there a way to limit the size of images
	uploaded
To: "MediaWiki announcements and site admin list"
	<mediawiki-l at lists.wikimedia.org>
Message-ID:
	<5490d0010801061247p4563abcdx2a87d9cb1c286aa3 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

I also encountered this problem.
However it does not seem to be related with the bytesize but more with the
imagesize. Whenever an image exceeds the size of approximately 1600 x 1600
pixels, the "Fatal Out of Memory" errors occur.
It is, as Norbert says, only when Thumbnails are involved...

Kind Regards,

Grietinus

2008/1/5, Norbert Hoeller <nhoeller at sinet.ca>:
>
> I have run into problems as well with JPGs exceeding 1MB in size. Symptoms
> include upload confirmation pages that are blank, blank pages displayed
> when previewing/saving Wiki pages with thumbnails of the images, or 'Fatal
> Out of Memory' errors.  I have no problems displaying the full-sized
> image.
>
> My MediaWiki installation is on a shared hosting server, which has limits
> on the amount of available memory I can use.  My suspicion is that the GD
> code used to create the thumbnails is exceeding available memory - before
> it can create the thumbnail, it first uncompresses the JPG.  I have been
> trying to install ImageMagick on the sharing hosting server, but have not
> figured out all the changes required to the Make files so that it will
> install cleanly.  Installing just the ImageMagick binaries was not
> successful.  There are other, JPG-specific thumbnail conversion routines
> provided with Linux that appear to be less memory-hungry, but I suspect
> that would require changes to the MediaWiki code.
>         Norbert
>
>
> > Message from "Emufarmers Sangly" on Fri, 4 Jan 2008 18:09:02 -0500
>
> > This will work, but you might want to find out what's causing the errors
> in
> > the first place and tackle the original problem.  What are the warnings
> and
> > errors you're getting?  What image renderer are you using?
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


------------------------------

Message: 2
Date: Mon, 07 Jan 2008 12:43:21 +0100
From: Alain van Acker <a.v.a at home.nl>
Subject: [Mediawiki-l] Mediawiki skin problem (links)
To: mediawiki-l at lists.wikimedia.org
Message-ID: <47821059.5040506 at home.nl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi all,

I am trying to alter the monobook skin and I am running into a weird 
problem (version 1.5.5).

Some links are still "clickable" while others behave as simple text, but 
are displayed in blue.
When I have a look at the source of the webpage, the links are displayed 
exactly the same.
The page in question is at 
http://gemologyproject.com/wiki/index.php?title=Habit&useskin=test .

The first "form" link is not clickable (first sentence in the Basic 
section), while the 2nd "form" link (in the Related Topics section) 
works as expected/hoped.

Another strange thing is that I can not highlight the text in the 
"Basic" section. I'm sure the two problems are related.

Does anyone have an idea what causes this?

Thanks,

Alain




------------------------------

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l


End of MediaWiki-l Digest, Vol 52, Issue 10
*******************************************




More information about the MediaWiki-l mailing list