Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Strange problem with search

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


jackec at suntecgroup

Mar 17, 2008, 12:05 AM

Post #1 of 20 (1418 views)
Permalink
Strange problem with search

Hi All,

I'hv a strange problem with my MW 1.11. I have a test version on my
local Windows machine and the live one on a linux server (intranet). I
don't know when this problem started coming-not sure whether it has been
there since beginning or it started after some changes.

When I search with SOME keywords, my production wiki returns a "blank"
page. If I use the same words on the test wiki, no probs-results are
returned (content in both wikis are same). Some of the problematic words
are "transaction" (transaction backout has no problem), function, cards
(plastic cards is fine), account etc. I tried to reproduce the problem
in the test wiki by copying SearchEngine.php,
SearchMySQL.php,SearchMySQL4.php,SpecialSearch.php files from live wiki
to my test wiki- but the test wiki still runs fine.

Any idea for the possible cause and solutions?

Regards,

Jack Eapen C
SunTec Knowledge Centre
------------------------------------------------------------------------
------------
"Management is doing things right; leadership is doing the right things"



This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You

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


Platonides at gmail

Mar 17, 2008, 7:01 AM

Post #2 of 20 (1381 views)
Permalink
Re: Strange problem with search [In reply to]

Jack Eapen C wrote:
> Hi All,
>
> I'hv a strange problem with my MW 1.11. I have a test version on my
> local Windows machine and the live one on a linux server (intranet). I
> don't know when this problem started coming-not sure whether it has been
> there since beginning or it started after some changes.
>
> When I search with SOME keywords, my production wiki returns a "blank"
> page. If I use the same words on the test wiki, no probs-results are
> returned (content in both wikis are same). Some of the problematic words
> are "transaction" (transaction backout has no problem), function, cards
> (plastic cards is fine), account etc. I tried to reproduce the problem
> in the test wiki by copying SearchEngine.php,
> SearchMySQL.php,SearchMySQL4.php,SpecialSearch.php files from live wiki
> to my test wiki- but the test wiki still runs fine.
>
> Any idea for the possible cause and solutions?
>
> Regards,
>
> Jack Eapen C
> SunTec Knowledge Centre

Does the server have mod_security enabled? It is known to block some
words, paranoically thinking it's an injection attack.


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


jackec at suntecgroup

Mar 17, 2008, 9:36 PM

Post #3 of 20 (1378 views)
Permalink
Re: Strange problem with search [In reply to]

>>Does the server have mod_security enabled? It is known to block some
words, paranoically thinking it's an injection attack.

How check that? I checked the phpinfo output and mod_security was not
there. Mine is LAMPP default installation.


Regards,

Jack
----------------------------------------------------------------
"May He protect us both. May He cause us both to enjoy.May we exert
together. May our studies become brilliant. May we not hate each other"


-----Original Message-----
From: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] On Behalf Of Platonides
Sent: Monday, March 17, 2008 7:32 PM
To: mediawiki-l [at] lists
Subject: Re: [Mediawiki-l] Strange problem with search

Jack Eapen C wrote:
> Hi All,
>
> I'hv a strange problem with my MW 1.11. I have a test version on my
> local Windows machine and the live one on a linux server (intranet). I

> don't know when this problem started coming-not sure whether it has
> been there since beginning or it started after some changes.
>
> When I search with SOME keywords, my production wiki returns a "blank"
> page. If I use the same words on the test wiki, no probs-results are
> returned (content in both wikis are same). Some of the problematic
> words are "transaction" (transaction backout has no problem),
> function, cards (plastic cards is fine), account etc. I tried to
> reproduce the problem in the test wiki by copying SearchEngine.php,
> SearchMySQL.php,SearchMySQL4.php,SpecialSearch.php files from live
> wiki to my test wiki- but the test wiki still runs fine.
>
> Any idea for the possible cause and solutions?
>
> Regards,
>
> Jack Eapen C
> SunTec Knowledge Centre

Does the server have mod_security enabled? It is known to block some
words, paranoically thinking it's an injection attack.


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


This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You

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


onekopaka at gmail

Jun 4, 2008, 11:42 PM

Post #4 of 20 (1322 views)
Permalink
Re: Strange problem with search [In reply to]

As always, you should upgrade when a new release comes out.

Could you try updating the MediaWiki on both boxes?

That MAY solve your problem. If not we try something else.
On Jun 4, 2008, at 11:18 PM, Jack Eapen C wrote:

>
>
> Hi All,
>
> I'hv a strange problem with my MW 1.11. I have a test version on my
> local Windows machine and the live one on a linux server (intranet). I
> don't know when this problem started coming-not sure whether it has
> been
> there since beginning or it started after some changes.
>
> When I search with SOME keywords, my production wiki returns a "blank"
> page. If I use the same words on the test wiki, no probs-results are
> returned (content in both wikis are same). Some of the problematic
> words
> are "transaction" (transaction backout has no problem), function,
> cards
> (plastic cards is fine), account etc. I tried to reproduce the problem
> in the test wiki by copying SearchEngine.php,
> SearchMySQL.php,SearchMySQL4.php,SpecialSearch.php files from live
> wiki
> to my test wiki- but the test wiki still runs fine.
>
> Any idea for the possible cause and solutions?
>
> Regards,
>
> Jack Eapen C
> SunTec Knowledge Centre
>
>
> This electronic mail (including any attachment thereto) may be
> confidential and privileged and is intended only for the individual
> or entity named above. Any unauthorized use, printing, copying,
> disclosure or dissemination of this communication may be subject to
> legal restriction or sanction. Accordingly, if you are not the
> intended recipient, please notify the sender by replying to this
> email immediately and delete this email (and any attachment thereto)
> from your computer system...Thank You
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Darren VanBuren
onekopaka [at] gmail
----------------------------------------------
Administrator of Onekopakaspace

Trunk MediaWiki install:
http://oks.verymad.net/~onekopaka/mwtrunk/


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


jackec at suntecgroup

Jun 4, 2008, 11:48 PM

Post #5 of 20 (1318 views)
Permalink
Re: Strange problem with search [In reply to]

Hmm.. That's not a proper solution. There should be some explanation why
this behavior occurs :(


Regards,

Jack
----------------------------------------------------------------
"May He protect us both. May He cause us both to enjoy.May we exert
together. May our studies become brilliant. May we not hate each other"


-----Original Message-----
From: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] On Behalf Of Darren
VanBuren
Sent: Thursday, June 05, 2008 12:13 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Strange problem with search

As always, you should upgrade when a new release comes out.

Could you try updating the MediaWiki on both boxes?

That MAY solve your problem. If not we try something else.
On Jun 4, 2008, at 11:18 PM, Jack Eapen C wrote:

>
>
> Hi All,
>
> I'hv a strange problem with my MW 1.11. I have a test version on my
> local Windows machine and the live one on a linux server (intranet). I

> don't know when this problem started coming-not sure whether it has
> been there since beginning or it started after some changes.
>
> When I search with SOME keywords, my production wiki returns a "blank"
> page. If I use the same words on the test wiki, no probs-results are
> returned (content in both wikis are same). Some of the problematic
> words are "transaction" (transaction backout has no problem),
> function, cards (plastic cards is fine), account etc. I tried to
> reproduce the problem in the test wiki by copying SearchEngine.php,
> SearchMySQL.php,SearchMySQL4.php,SpecialSearch.php files from live
> wiki to my test wiki- but the test wiki still runs fine.
>
> Any idea for the possible cause and solutions?
>
> Regards,
>
> Jack Eapen C
> SunTec Knowledge Centre
>
>
> This electronic mail (including any attachment thereto) may be
> confidential and privileged and is intended only for the individual or

> entity named above. Any unauthorized use, printing, copying,
> disclosure or dissemination of this communication may be subject to
> legal restriction or sanction. Accordingly, if you are not the
> intended recipient, please notify the sender by replying to this email

> immediately and delete this email (and any attachment thereto) from
> your computer system...Thank You
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Darren VanBuren
onekopaka [at] gmail
----------------------------------------------
Administrator of Onekopakaspace

Trunk MediaWiki install:
http://oks.verymad.net/~onekopaka/mwtrunk/


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


This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You

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


dan_the_man at telus

Jun 5, 2008, 12:41 AM

Post #6 of 20 (1321 views)
Permalink
Re: Strange problem with search [In reply to]

What are you talking about? Upgrading when you have issues with software
IS an important thing. If you upgrade, and your issue disappears. Then
that means that your bug is a known issue which was already fixed and
then released to the public. That's how software go, we release new
versions to improve and fix issues with older versions of the software.
Suggesting an upgrade is also a viable option. This lets us know if your
issue is one which is already known and fixed, or if it is a issue which
still exists in later versions of the software and may need to be fixed.

Old versions never get fixes except for large security issues with them.
Versions are not individual pieces of software, they are individual
points in the lifetime of a software which is progressively improving
and fixing itself. You don't fix legacy versions because they are not
broken. They are not broken because releasing new versions of that same
software with fixes for those issues, is the method of fixing the
software. Because whatever version, that software is the same software

^_^ Though, probably time to end this philosophical rant.

~Daniel Friesen(Dantman) of:
-The Nadir-Point Group (http://nadir-point.com)
--It's Wiki-Tools subgroup (http://wiki-tools.com)
--Games-G.P.S. (http://ggps.org)
-And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)

Jack Eapen C wrote:
> Hmm.. That's not a proper solution. There should be some explanation why
> this behavior occurs :(
>
>
> Regards,
>
> Jack
> ----------------------------------------------------------------
> "May He protect us both. May He cause us both to enjoy.May we exert
> together. May our studies become brilliant. May we not hate each other"
>
>
> -----Original Message-----
> From: mediawiki-l-bounces [at] lists
> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Darren
> VanBuren
> Sent: Thursday, June 05, 2008 12:13 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Strange problem with search
>
> As always, you should upgrade when a new release comes out.
>
> Could you try updating the MediaWiki on both boxes?
>
> That MAY solve your problem. If not we try something else.
> On Jun 4, 2008, at 11:18 PM, Jack Eapen C wrote:
>
>
>> Hi All,
>>
>> I'hv a strange problem with my MW 1.11. I have a test version on my
>> local Windows machine and the live one on a linux server (intranet). I
>>
>
>
>> don't know when this problem started coming-not sure whether it has
>> been there since beginning or it started after some changes.
>>
>> When I search with SOME keywords, my production wiki returns a "blank"
>> page. If I use the same words on the test wiki, no probs-results are
>> returned (content in both wikis are same). Some of the problematic
>> words are "transaction" (transaction backout has no problem),
>> function, cards (plastic cards is fine), account etc. I tried to
>> reproduce the problem in the test wiki by copying SearchEngine.php,
>> SearchMySQL.php,SearchMySQL4.php,SpecialSearch.php files from live
>> wiki to my test wiki- but the test wiki still runs fine.
>>
>> Any idea for the possible cause and solutions?
>>
>> Regards,
>>
>> Jack Eapen C
>> SunTec Knowledge Centre
>>
>>
>> This electronic mail (including any attachment thereto) may be
>> confidential and privileged and is intended only for the individual or
>>
>
>
>> entity named above. Any unauthorized use, printing, copying,
>> disclosure or dissemination of this communication may be subject to
>> legal restriction or sanction. Accordingly, if you are not the
>> intended recipient, please notify the sender by replying to this email
>>
>
>
>> immediately and delete this email (and any attachment thereto) from
>> your computer system...Thank You
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>
> Darren VanBuren
> onekopaka [at] gmail
> ----------------------------------------------
> Administrator of Onekopakaspace
>
> Trunk MediaWiki install:
> http://oks.verymad.net/~onekopaka/mwtrunk/
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


jackec at suntecgroup

Jun 5, 2008, 12:53 AM

Post #7 of 20 (1317 views)
Permalink
Re: Strange problem with search [In reply to]

Hi,

Thanks for the reply. Plz excuse me. My point is that, upgrade to a
newer version is not the solution for each and every problem. I'm not
only a user, but a learner as well (in fact, most of the OSS users as
well). I want to know what causes MediaWiki to behave like this. If the
problem can be solved with a small change in a file, why should I take
the pain of upgrading with migrating all my customizations?

If u see my first post, what I wrote was

>> Any idea for the possible cause and solutions?

Before finding the solution, my concern is what causes the problem and
why this problem.


Regards,

Jack
----------------------------------------------------------------
"May He protect us both. May He cause us both to enjoy.May we exert
together. May our studies become brilliant. May we not hate each other"


-----Original Message-----
From: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] On Behalf Of DanTMan
Sent: Thursday, June 05, 2008 1:11 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Strange problem with search

What are you talking about? Upgrading when you have issues with software
IS an important thing. If you upgrade, and your issue disappears. Then
that means that your bug is a known issue which was already fixed and
then released to the public. That's how software go, we release new
versions to improve and fix issues with older versions of the software.
Suggesting an upgrade is also a viable option. This lets us know if your
issue is one which is already known and fixed, or if it is a issue which
still exists in later versions of the software and may need to be fixed.

Old versions never get fixes except for large security issues with them.

Versions are not individual pieces of software, they are individual
points in the lifetime of a software which is progressively improving
and fixing itself. You don't fix legacy versions because they are not
broken. They are not broken because releasing new versions of that same
software with fixes for those issues, is the method of fixing the
software. Because whatever version, that software is the same software

^_^ Though, probably time to end this philosophical rant.

~Daniel Friesen(Dantman) of:
-The Nadir-Point Group (http://nadir-point.com) --It's Wiki-Tools
subgroup (http://wiki-tools.com) --Games-G.P.S. (http://ggps.org) -And
Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)

Jack Eapen C wrote:
> Hmm.. That's not a proper solution. There should be some explanation
> why this behavior occurs :(
>
>
> Regards,
>
> Jack
> ----------------------------------------------------------------
> "May He protect us both. May He cause us both to enjoy.May we exert
> together. May our studies become brilliant. May we not hate each
other"
>
>
> -----Original Message-----
> From: mediawiki-l-bounces [at] lists
> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Darren
> VanBuren
> Sent: Thursday, June 05, 2008 12:13 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Strange problem with search
>
> As always, you should upgrade when a new release comes out.
>
> Could you try updating the MediaWiki on both boxes?
>
> That MAY solve your problem. If not we try something else.
> On Jun 4, 2008, at 11:18 PM, Jack Eapen C wrote:
>
>
>> Hi All,
>>
>> I'hv a strange problem with my MW 1.11. I have a test version on my
>> local Windows machine and the live one on a linux server (intranet).
>> I
>>
>
>
>> don't know when this problem started coming-not sure whether it has
>> been there since beginning or it started after some changes.
>>
>> When I search with SOME keywords, my production wiki returns a
"blank"
>> page. If I use the same words on the test wiki, no probs-results are
>> returned (content in both wikis are same). Some of the problematic
>> words are "transaction" (transaction backout has no problem),
>> function, cards (plastic cards is fine), account etc. I tried to
>> reproduce the problem in the test wiki by copying SearchEngine.php,
>> SearchMySQL.php,SearchMySQL4.php,SpecialSearch.php files from live
>> wiki to my test wiki- but the test wiki still runs fine.
>>
>> Any idea for the possible cause and solutions?
>>
>> Regards,
>>
>> Jack Eapen C
>> SunTec Knowledge Centre
>>
>>
>> This electronic mail (including any attachment thereto) may be
>> confidential and privileged and is intended only for the individual
>> or
>>
>
>
>> entity named above. Any unauthorized use, printing, copying,
>> disclosure or dissemination of this communication may be subject to
>> legal restriction or sanction. Accordingly, if you are not the
>> intended recipient, please notify the sender by replying to this
>> email
>>
>
>
>> immediately and delete this email (and any attachment thereto) from
>> your computer system...Thank You
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>
> Darren VanBuren
> onekopaka [at] gmail
> ----------------------------------------------
> Administrator of Onekopakaspace
>
> Trunk MediaWiki install:
> http://oks.verymad.net/~onekopaka/mwtrunk/
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> This electronic mail (including any attachment thereto) may be
> confidential and privileged and is intended only for the individual or

> entity named above. Any unauthorized use, printing, copying,
> disclosure or dissemination of this communication may be subject to
> legal restriction or sanction. Accordingly, if you are not the
> intended recipient, please notify the sender by replying to this email

> immediately and delete this email (and any attachment thereto) from
> your computer system...Thank You
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You

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


brion at wikimedia

Jun 5, 2008, 11:57 AM

Post #8 of 20 (1322 views)
Permalink
Re: Strange problem with search [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jack Eapen C wrote:
> When I search with SOME keywords, my production wiki returns a "blank"
> page. If I use the same words on the test wiki, no probs-results are
> returned (content in both wikis are same). Some of the problematic words
> are "transaction" (transaction backout has no problem), function, cards
> (plastic cards is fine), account etc.

Sounds like one of those "security" plugins for your web server, perhaps
mod_security.

It's set in an overprotective mode that freaks out and denies access
when it sees bits of text coming through the form submission that it
thinks are indicative of an SQL or code injection attack.

Contact your system administrator and let them know they've
misconfigured the software and should back it out to more reasonable
settings.

- -- brion vibber (brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhINxkACgkQwRnhpk1wk47kngCgvrQx86kyR1mt71unPhvz+piA
oKkAnR3rnrecJq3COq8NvVtkA0KIQM0Y
=AoIU
-----END PGP SIGNATURE-----

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


jackec at suntecgroup

Jun 9, 2008, 12:07 AM

Post #9 of 20 (1280 views)
Permalink
Re: Strange problem with search [In reply to]

Hi,

Mod_security is not enabled in my server -i.e I checked the httpd.conf
file and the apache modules folder. Reference to the particulat module
is not in the conf file and the mod-security.so file is not in the
folder. Any other hints, plz?


Regards,

Jack
----------------------------------------------------------------
"May He protect us both. May He cause us both to enjoy.May we exert
together. May our studies become brilliant. May we not hate each other"


-----Original Message-----
From: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] On Behalf Of Brion
Vibber
Sent: Friday, June 06, 2008 12:27 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Strange problem with search

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jack Eapen C wrote:
> When I search with SOME keywords, my production wiki returns a "blank"
> page. If I use the same words on the test wiki, no probs-results are
> returned (content in both wikis are same). Some of the problematic
> words are "transaction" (transaction backout has no problem),
> function, cards (plastic cards is fine), account etc.

Sounds like one of those "security" plugins for your web server, perhaps
mod_security.

It's set in an overprotective mode that freaks out and denies access
when it sees bits of text coming through the form submission that it
thinks are indicative of an SQL or code injection attack.

Contact your system administrator and let them know they've
misconfigured the software and should back it out to more reasonable
settings.

- -- brion vibber (brion @ wikimedia.org) -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhINxkACgkQwRnhpk1wk47kngCgvrQx86kyR1mt71unPhvz+piA
oKkAnR3rnrecJq3COq8NvVtkA0KIQM0Y
=AoIU
-----END PGP SIGNATURE-----

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


This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You

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


jimhu at tamu

Jun 10, 2008, 4:31 PM

Post #10 of 20 (1256 views)
Permalink
Re: Strange problem with search [In reply to]

Anything in the error logs when you get the blank page? And by blank
to you mean white screen of death or blank wiki skin with no content?

Jim

On Jun 9, 2008, at 2:07 AM, Jack Eapen C wrote:

>
> Hi,
>
> Mod_security is not enabled in my server -i.e I checked the httpd.conf
> file and the apache modules folder. Reference to the particulat module
> is not in the conf file and the mod-security.so file is not in the
> folder. Any other hints, plz?
>
>
> Regards,
>
> Jack
> ----------------------------------------------------------------
> "May He protect us both. May He cause us both to enjoy.May we exert
> together. May our studies become brilliant. May we not hate each
> other"
>
>
> -----Original Message-----
> From: mediawiki-l-bounces [at] lists
> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Brion
> Vibber
> Sent: Friday, June 06, 2008 12:27 AM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Strange problem with search
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jack Eapen C wrote:
>> When I search with SOME keywords, my production wiki returns a
>> "blank"
>> page. If I use the same words on the test wiki, no probs-results are
>> returned (content in both wikis are same). Some of the problematic
>> words are "transaction" (transaction backout has no problem),
>> function, cards (plastic cards is fine), account etc.
>
> Sounds like one of those "security" plugins for your web server,
> perhaps
> mod_security.
>
> It's set in an overprotective mode that freaks out and denies access
> when it sees bits of text coming through the form submission that it
> thinks are indicative of an SQL or code injection attack.
>
> Contact your system administrator and let them know they've
> misconfigured the software and should back it out to more reasonable
> settings.
>
> - -- brion vibber (brion @ wikimedia.org) -----BEGIN PGP
> SIGNATURE-----
> Version: GnuPG v1.4.8 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkhINxkACgkQwRnhpk1wk47kngCgvrQx86kyR1mt71unPhvz+piA
> oKkAnR3rnrecJq3COq8NvVtkA0KIQM0Y
> =AoIU
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> This electronic mail (including any attachment thereto) may be
> confidential and privileged and is intended only for the individual
> or entity named above. Any unauthorized use, printing, copying,
> disclosure or dissemination of this communication may be subject to
> legal restriction or sanction. Accordingly, if you are not the
> intended recipient, please notify the sender by replying to this
> email immediately and delete this email (and any attachment thereto)
> from your computer system...Thank You
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054


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


jackec at suntecgroup

Jun 11, 2008, 2:18 AM

Post #11 of 20 (1253 views)
Permalink
Re: Strange problem with search [In reply to]

I'm getting a "white screen of death". Here's the info from log file:

Main cache: FakeMemCachedClient
Message cache: MediaWikiBagOStuff
Parser cache: MediaWikiBagOStuff
Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages from
efNewestPages
Unstubbing $wgContLang on call of $wgContLang->getMagic from
MagicWord::load
Unstubbing $wgLang on call of $wgLang->getCode from smwfInitMessages
Unstubbing $wgUser on call of $wgUser->getOption from
StubUserLang::_newObject
Language::loadLocalisation(): got localisation for en from source
Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
from wfGetDB
IP: 192.168.62.1
MessageCache::load(): got from global cache
Unstubbing $wgOut on call of $wgOut->addScript from TreeView4::addJS
Fully initialised
Request ended normally


Start request
GET /sunwiki/?search=transaction&fulltext=Search
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, */*
Referer: http://sbsws469/sunwiki/?title=Main_Page
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322)
Host: sbsws469
Connection: Keep-Alive


Main cache: FakeMemCachedClient
Message cache: MediaWikiBagOStuff
Parser cache: MediaWikiBagOStuff
Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages from
efNewestPages
Unstubbing $wgContLang on call of $wgContLang->getMagic from
MagicWord::load
Unstubbing $wgLang on call of $wgLang->getCode from smwfInitMessages
Unstubbing $wgUser on call of $wgUser->getOption from
StubUserLang::_newObject
Language::loadLocalisation(): got localisation for en from source
Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
from wfGetDB
IP: 192.168.62.1
MessageCache::load(): got from global cache
Unstubbing $wgOut on call of $wgOut->addScript from TreeView4::addJS
Fully initialised
Would search with '+transaction'
Match with /\btransaction\b/
Would search with '+transaction'
Match with /\btransaction\b/


Regards,

Jack
----------------------------------------------------------------
"May He protect us both. May He cause us both to enjoy.May we exert
together. May our studies become brilliant. May we not hate each other"


-----Original Message-----
From: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
Sent: Wednesday, June 11, 2008 5:01 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Strange problem with search

Anything in the error logs when you get the blank page? And by blank to
you mean white screen of death or blank wiki skin with no content?

Jim

On Jun 9, 2008, at 2:07 AM, Jack Eapen C wrote:

>
> Hi,
>
> Mod_security is not enabled in my server -i.e I checked the httpd.conf

> file and the apache modules folder. Reference to the particulat module

> is not in the conf file and the mod-security.so file is not in the
> folder. Any other hints, plz?
>
>
> Regards,
>
> Jack
> ----------------------------------------------------------------
> "May He protect us both. May He cause us both to enjoy.May we exert
> together. May our studies become brilliant. May we not hate each
> other"
>
>
> -----Original Message-----
> From: mediawiki-l-bounces [at] lists
> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Brion
> Vibber
> Sent: Friday, June 06, 2008 12:27 AM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Strange problem with search
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Jack Eapen C wrote:
>> When I search with SOME keywords, my production wiki returns a
>> "blank"
>> page. If I use the same words on the test wiki, no probs-results are
>> returned (content in both wikis are same). Some of the problematic
>> words are "transaction" (transaction backout has no problem),
>> function, cards (plastic cards is fine), account etc.
>
> Sounds like one of those "security" plugins for your web server,
> perhaps mod_security.
>
> It's set in an overprotective mode that freaks out and denies access
> when it sees bits of text coming through the form submission that it
> thinks are indicative of an SQL or code injection attack.
>
> Contact your system administrator and let them know they've
> misconfigured the software and should back it out to more reasonable
> settings.
>
> - -- brion vibber (brion @ wikimedia.org) -----BEGIN PGP
> SIGNATURE-----
> Version: GnuPG v1.4.8 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkhINxkACgkQwRnhpk1wk47kngCgvrQx86kyR1mt71unPhvz+piA
> oKkAnR3rnrecJq3COq8NvVtkA0KIQM0Y
> =AoIU
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> This electronic mail (including any attachment thereto) may be
> confidential and privileged and is intended only for the individual or

> entity named above. Any unauthorized use, printing, copying,
> disclosure or dissemination of this communication may be subject to
> legal restriction or sanction. Accordingly, if you are not the
> intended recipient, please notify the sender by replying to this email

> immediately and delete this email (and any attachment thereto) from
> your computer system...Thank You
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054


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


This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You

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


jimhu at tamu

Jun 12, 2008, 8:44 AM

Post #12 of 20 (1240 views)
Permalink
Re: Strange problem with search [In reply to]

Um... which logfile are you getting this from? I was wondering more
about the httpd error log and expecting a php message like: FATAL
ERROR: something or other on line X in something.php.

Also, is the white screen of death dependent on any extensions? I
recently found one with one of my extensions (PagesOnDemand/
PMIDonDemand - I wrote the latter, so it's my fault!) where a failure
condition didn't check to see whether creation of an article object
had succeeded, followed by trying to call a method on a non-object.
I'm wondering if either
a) and extension is sensitive to the specific page names that cause
the crash or
b) database damage is leading to failure to create a page that MW
thinks is there, but which doesn't have the right database entries.
That usually doesn't give the white screen of death, though.

Jim

On Jun 11, 2008, at 4:18 AM, Jack Eapen C wrote:

>
>
> I'm getting a "white screen of death". Here's the info from log file:
>
> Main cache: FakeMemCachedClient
> Message cache: MediaWikiBagOStuff
> Parser cache: MediaWikiBagOStuff
> Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
> Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages
> from
> efNewestPages
> Unstubbing $wgContLang on call of $wgContLang->getMagic from
> MagicWord::load
> Unstubbing $wgLang on call of $wgLang->getCode from smwfInitMessages
> Unstubbing $wgUser on call of $wgUser->getOption from
> StubUserLang::_newObject
> Language::loadLocalisation(): got localisation for en from source
> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
> from wfGetDB
> IP: 192.168.62.1
> MessageCache::load(): got from global cache
> Unstubbing $wgOut on call of $wgOut->addScript from TreeView4::addJS
> Fully initialised
> Request ended normally
>
>
> Start request
> GET /sunwiki/?search=transaction&fulltext=Search
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/x-shockwave-flash, */*
> Referer: http://sbsws469/sunwiki/?title=Main_Page
> Accept-Language: en-us
> Accept-Encoding: gzip, deflate
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
> SV1; .NET
> CLR 1.1.4322)
> Host: sbsws469
> Connection: Keep-Alive
>
>
> Main cache: FakeMemCachedClient
> Message cache: MediaWikiBagOStuff
> Parser cache: MediaWikiBagOStuff
> Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
> Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages
> from
> efNewestPages
> Unstubbing $wgContLang on call of $wgContLang->getMagic from
> MagicWord::load
> Unstubbing $wgLang on call of $wgLang->getCode from smwfInitMessages
> Unstubbing $wgUser on call of $wgUser->getOption from
> StubUserLang::_newObject
> Language::loadLocalisation(): got localisation for en from source
> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
> from wfGetDB
> IP: 192.168.62.1
> MessageCache::load(): got from global cache
> Unstubbing $wgOut on call of $wgOut->addScript from TreeView4::addJS
> Fully initialised
> Would search with '+transaction'
> Match with /\btransaction\b/
> Would search with '+transaction'
> Match with /\btransaction\b/
>
>
> Regards,
>
> Jack
> ----------------------------------------------------------------
> "May He protect us both. May He cause us both to enjoy.May we exert
> together. May our studies become brilliant. May we not hate each
> other"
>
>
> -----Original Message-----
> From: mediawiki-l-bounces [at] lists
> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
> Sent: Wednesday, June 11, 2008 5:01 AM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Strange problem with search
>
> Anything in the error logs when you get the blank page? And by
> blank to
> you mean white screen of death or blank wiki skin with no content?
>
> Jim
>
> On Jun 9, 2008, at 2:07 AM, Jack Eapen C wrote:
>
>>
>> Hi,
>>
>> Mod_security is not enabled in my server -i.e I checked the
>> httpd.conf
>
>> file and the apache modules folder. Reference to the particulat
>> module
>
>> is not in the conf file and the mod-security.so file is not in the
>> folder. Any other hints, plz?
>>
>>
>> Regards,
>>
>> Jack
>> ----------------------------------------------------------------
>> "May He protect us both. May He cause us both to enjoy.May we exert
>> together. May our studies become brilliant. May we not hate each
>> other"
>>
>>
>> -----Original Message-----
>> From: mediawiki-l-bounces [at] lists
>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Brion
>> Vibber
>> Sent: Friday, June 06, 2008 12:27 AM
>> To: MediaWiki announcements and site admin list
>> Subject: Re: [Mediawiki-l] Strange problem with search
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Jack Eapen C wrote:
>>> When I search with SOME keywords, my production wiki returns a
>>> "blank"
>>> page. If I use the same words on the test wiki, no probs-results are
>>> returned (content in both wikis are same). Some of the problematic
>>> words are "transaction" (transaction backout has no problem),
>>> function, cards (plastic cards is fine), account etc.
>>
>> Sounds like one of those "security" plugins for your web server,
>> perhaps mod_security.
>>
>> It's set in an overprotective mode that freaks out and denies access
>> when it sees bits of text coming through the form submission that it
>> thinks are indicative of an SQL or code injection attack.
>>
>> Contact your system administrator and let them know they've
>> misconfigured the software and should back it out to more reasonable
>> settings.
>>
>> - -- brion vibber (brion @ wikimedia.org) -----BEGIN PGP
>> SIGNATURE-----
>> Version: GnuPG v1.4.8 (Darwin)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iEYEARECAAYFAkhINxkACgkQwRnhpk1wk47kngCgvrQx86kyR1mt71unPhvz+piA
>> oKkAnR3rnrecJq3COq8NvVtkA0KIQM0Y
>> =AoIU
>> -----END PGP SIGNATURE-----
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
>> This electronic mail (including any attachment thereto) may be
>> confidential and privileged and is intended only for the individual
>> or
>
>> entity named above. Any unauthorized use, printing, copying,
>> disclosure or dissemination of this communication may be subject to
>> legal restriction or sanction. Accordingly, if you are not the
>> intended recipient, please notify the sender by replying to this
>> email
>
>> immediately and delete this email (and any attachment thereto) from
>> your computer system...Thank You
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
> =====================================
> Jim Hu
> Associate Professor
> Dept. of Biochemistry and Biophysics
> 2128 TAMU
> Texas A&M Univ.
> College Station, TX 77843-2128
> 979-862-4054
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> This electronic mail (including any attachment thereto) may be
> confidential and privileged and is intended only for the individual
> or entity named above. Any unauthorized use, printing, copying,
> disclosure or dissemination of this communication may be subject to
> legal restriction or sanction. Accordingly, if you are not the
> intended recipient, please notify the sender by replying to this
> email immediately and delete this email (and any attachment thereto)
> from your computer system...Thank You
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054


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


Platonides at gmail

Jun 12, 2008, 2:52 PM

Post #13 of 20 (1239 views)
Permalink
Re: Strange problem with search [In reply to]

Jim Hu wrote:
> Um... which logfile are you getting this from?
That's the output of mediawiki debug functions.
Jack, see your server log. You will likely find there a much more clear
error message.


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


jackec at suntecgroup

Jun 12, 2008, 11:11 PM

Post #14 of 20 (1228 views)
Permalink
Re: Strange problem with search [In reply to]

Hi,

I stopped my apache cleared the error log and restarted. Then I directly
called the search url with 'transaction' as keyword and got the blank
screen. Then I called the url with 'transaction backout' as the keyword
and got the search results. The error log contents is below:

[Fri Jun 13 11:32:24 2008] [notice] Apache/2.2.3 (Win32) PHP/5.2.0
configured -- resuming normal operations
[Fri Jun 13 11:32:24 2008] [notice] Server built: Jul 27 2006 16:49:49
[Fri Jun 13 11:32:24 2008] [notice] Parent: Created child process 4336
[Fri Jun 13 11:32:24 2008] [notice] Child 4336: Child process is running
[Fri Jun 13 11:32:24 2008] [notice] Child 4336: Acquired the start
mutex.
[Fri Jun 13 11:32:24 2008] [notice] Child 4336: Starting 250 worker
threads.
[Fri Jun 13 11:32:24 2008] [notice] Child 4336: Starting thread to
listen on port 80.
[Fri Jun 13 11:32:52 2008] [error] [client 192.168.62.1] File does not
exist: D:/Program Files/EasyPHP
2.0b1/www/sunwiki/extensions/searchsuggest/style.css, referer:
http://sbsws469/sunwiki/?search=transaction+backout&fulltext=Search


I commented out all my extensions and tried, but in vain.

As I said earlier, the search is not failing on all the words, but only
on some words. That's making this problem worse.. :)

Regards,

Jack
----------------------------------------------------------------
"May He protect us both. May He cause us both to enjoy.May we exert
together. May our studies become brilliant. May we not hate each other"


-----Original Message-----
From: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
Sent: Thursday, June 12, 2008 9:15 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Strange problem with search

Um... which logfile are you getting this from? I was wondering more
about the httpd error log and expecting a php message like: FATAL
ERROR: something or other on line X in something.php.

Also, is the white screen of death dependent on any extensions? I
recently found one with one of my extensions (PagesOnDemand/
PMIDonDemand - I wrote the latter, so it's my fault!) where a failure
condition didn't check to see whether creation of an article object
had succeeded, followed by trying to call a method on a non-object.
I'm wondering if either
a) and extension is sensitive to the specific page names that cause the
crash or
b) database damage is leading to failure to create a page that MW
thinks is there, but which doesn't have the right database entries.
That usually doesn't give the white screen of death, though.

Jim

On Jun 11, 2008, at 4:18 AM, Jack Eapen C wrote:

>
>
> I'm getting a "white screen of death". Here's the info from log file:
>
> Main cache: FakeMemCachedClient
> Message cache: MediaWikiBagOStuff
> Parser cache: MediaWikiBagOStuff
> Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
> Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages
> from efNewestPages Unstubbing $wgContLang on call of
> $wgContLang->getMagic from MagicWord::load Unstubbing $wgLang on call
> of $wgLang->getCode from smwfInitMessages Unstubbing $wgUser on call
> of $wgUser->getOption from StubUserLang::_newObject
> Language::loadLocalisation(): got localisation for en from source
> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
> from wfGetDB
> IP: 192.168.62.1
> MessageCache::load(): got from global cache Unstubbing $wgOut on call
> of $wgOut->addScript from TreeView4::addJS Fully initialised Request
> ended normally
>
>
> Start request
> GET /sunwiki/?search=transaction&fulltext=Search
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/x-shockwave-flash, */*
> Referer: http://sbsws469/sunwiki/?title=Main_Page
> Accept-Language: en-us
> Accept-Encoding: gzip, deflate
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
> .NET CLR 1.1.4322)
> Host: sbsws469
> Connection: Keep-Alive
>
>
> Main cache: FakeMemCachedClient
> Message cache: MediaWikiBagOStuff
> Parser cache: MediaWikiBagOStuff
> Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
> Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages
> from
> efNewestPages
> Unstubbing $wgContLang on call of $wgContLang->getMagic from
> MagicWord::load
> Unstubbing $wgLang on call of $wgLang->getCode from smwfInitMessages
> Unstubbing $wgUser on call of $wgUser->getOption from
> StubUserLang::_newObject
> Language::loadLocalisation(): got localisation for en from source
> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
> from wfGetDB
> IP: 192.168.62.1
> MessageCache::load(): got from global cache
> Unstubbing $wgOut on call of $wgOut->addScript from TreeView4::addJS
> Fully initialised
> Would search with '+transaction'
> Match with /\btransaction\b/
> Would search with '+transaction'
> Match with /\btransaction\b/
>
>
> Regards,
>
> Jack
> ----------------------------------------------------------------
> "May He protect us both. May He cause us both to enjoy.May we exert
> together. May our studies become brilliant. May we not hate each
> other"
>
>
> -----Original Message-----
> From: mediawiki-l-bounces [at] lists
> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
> Sent: Wednesday, June 11, 2008 5:01 AM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Strange problem with search
>
> Anything in the error logs when you get the blank page? And by
> blank to
> you mean white screen of death or blank wiki skin with no content?
>
> Jim
>
> On Jun 9, 2008, at 2:07 AM, Jack Eapen C wrote:
>
>>
>> Hi,
>>
>> Mod_security is not enabled in my server -i.e I checked the
>> httpd.conf
>
>> file and the apache modules folder. Reference to the particulat
>> module
>
>> is not in the conf file and the mod-security.so file is not in the
>> folder. Any other hints, plz?
>>
>>
>> Regards,
>>
>> Jack
>> ----------------------------------------------------------------
>> "May He protect us both. May He cause us both to enjoy.May we exert
>> together. May our studies become brilliant. May we not hate each
>> other"
>>
>>
>> -----Original Message-----
>> From: mediawiki-l-bounces [at] lists
>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Brion
>> Vibber
>> Sent: Friday, June 06, 2008 12:27 AM
>> To: MediaWiki announcements and site admin list
>> Subject: Re: [Mediawiki-l] Strange problem with search
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Jack Eapen C wrote:
>>> When I search with SOME keywords, my production wiki returns a
>>> "blank"
>>> page. If I use the same words on the test wiki, no probs-results are
>>> returned (content in both wikis are same). Some of the problematic
>>> words are "transaction" (transaction backout has no problem),
>>> function, cards (plastic cards is fine), account etc.
>>
>> Sounds like one of those "security" plugins for your web server,
>> perhaps mod_security.
>>
>> It's set in an overprotective mode that freaks out and denies access
>> when it sees bits of text coming through the form submission that it
>> thinks are indicative of an SQL or code injection attack.
>>
>> Contact your system administrator and let them know they've
>> misconfigured the software and should back it out to more reasonable
>> settings.
>>
>> - -- brion vibber (brion @ wikimedia.org) -----BEGIN PGP
>> SIGNATURE-----
>> Version: GnuPG v1.4.8 (Darwin)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iEYEARECAAYFAkhINxkACgkQwRnhpk1wk47kngCgvrQx86kyR1mt71unPhvz+piA
>> oKkAnR3rnrecJq3COq8NvVtkA0KIQM0Y
>> =AoIU
>> -----END PGP SIGNATURE-----
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
>> This electronic mail (including any attachment thereto) may be
>> confidential and privileged and is intended only for the individual
>> or
>
>> entity named above. Any unauthorized use, printing, copying,
>> disclosure or dissemination of this communication may be subject to
>> legal restriction or sanction. Accordingly, if you are not the
>> intended recipient, please notify the sender by replying to this
>> email
>
>> immediately and delete this email (and any attachment thereto) from
>> your computer system...Thank You
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
> =====================================
> Jim Hu
> Associate Professor
> Dept. of Biochemistry and Biophysics
> 2128 TAMU
> Texas A&M Univ.
> College Station, TX 77843-2128
> 979-862-4054
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> This electronic mail (including any attachment thereto) may be
> confidential and privileged and is intended only for the individual
> or entity named above. Any unauthorized use, printing, copying,
> disclosure or dissemination of this communication may be subject to
> legal restriction or sanction. Accordingly, if you are not the
> intended recipient, please notify the sender by replying to this
> email immediately and delete this email (and any attachment thereto)
> from your computer system...Thank You
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054


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


This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You

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


jimhu at tamu

Jun 13, 2008, 9:20 AM

Post #15 of 20 (1201 views)
Permalink
Re: Strange problem with search [In reply to]

This is very strange. The white screen of death should have left
something in the error log after the search for "transaction". This
log also shows that you still have searchsuggest extension on. At
this point, my inclination is to
1) do the diagnosis with all the extensions off, since you say that
"transaction" is still crashing the wiki even with all of them off.
2) put something in LocalSettings that would cause a runtime error
just to make sure the logging is working.
3) test what happens if you put "transaction" as in the URL as if it
was a page title.
I might do these in reverse order, actually.

Sorry I can't be more helpful...

Jim

On Jun 13, 2008, at 1:11 AM, Jack Eapen C wrote:

>
> Hi,
>
> I stopped my apache cleared the error log and restarted. Then I
> directly
> called the search url with 'transaction' as keyword and got the blank
> screen. Then I called the url with 'transaction backout' as the
> keyword
> and got the search results. The error log contents is below:
>
> [Fri Jun 13 11:32:24 2008] [notice] Apache/2.2.3 (Win32) PHP/5.2.0
> configured -- resuming normal operations
> [Fri Jun 13 11:32:24 2008] [notice] Server built: Jul 27 2006 16:49:49
> [Fri Jun 13 11:32:24 2008] [notice] Parent: Created child process 4336
> [Fri Jun 13 11:32:24 2008] [notice] Child 4336: Child process is
> running
> [Fri Jun 13 11:32:24 2008] [notice] Child 4336: Acquired the start
> mutex.
> [Fri Jun 13 11:32:24 2008] [notice] Child 4336: Starting 250 worker
> threads.
> [Fri Jun 13 11:32:24 2008] [notice] Child 4336: Starting thread to
> listen on port 80.
> [Fri Jun 13 11:32:52 2008] [error] [client 192.168.62.1] File does not
> exist: D:/Program Files/EasyPHP
> 2.0b1/www/sunwiki/extensions/searchsuggest/style.css, referer:
> http://sbsws469/sunwiki/?search=transaction+backout&fulltext=Search
>
>
> I commented out all my extensions and tried, but in vain.
>
> As I said earlier, the search is not failing on all the words, but
> only
> on some words. That's making this problem worse.. :)
>
> Regards,
>
> Jack
> ----------------------------------------------------------------
> "May He protect us both. May He cause us both to enjoy.May we exert
> together. May our studies become brilliant. May we not hate each
> other"
>
>
> -----Original Message-----
> From: mediawiki-l-bounces [at] lists
> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
> Sent: Thursday, June 12, 2008 9:15 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Strange problem with search
>
> Um... which logfile are you getting this from? I was wondering more
> about the httpd error log and expecting a php message like: FATAL
> ERROR: something or other on line X in something.php.
>
> Also, is the white screen of death dependent on any extensions? I
> recently found one with one of my extensions (PagesOnDemand/
> PMIDonDemand - I wrote the latter, so it's my fault!) where a failure
> condition didn't check to see whether creation of an article object
> had succeeded, followed by trying to call a method on a non-object.
> I'm wondering if either
> a) and extension is sensitive to the specific page names that cause
> the
> crash or
> b) database damage is leading to failure to create a page that MW
> thinks is there, but which doesn't have the right database entries.
> That usually doesn't give the white screen of death, though.
>
> Jim
>
> On Jun 11, 2008, at 4:18 AM, Jack Eapen C wrote:
>
>>
>>
>> I'm getting a "white screen of death". Here's the info from log file:
>>
>> Main cache: FakeMemCachedClient
>> Message cache: MediaWikiBagOStuff
>> Parser cache: MediaWikiBagOStuff
>> Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
>> Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages
>> from efNewestPages Unstubbing $wgContLang on call of
>> $wgContLang->getMagic from MagicWord::load Unstubbing $wgLang on call
>> of $wgLang->getCode from smwfInitMessages Unstubbing $wgUser on call
>> of $wgUser->getOption from StubUserLang::_newObject
>> Language::loadLocalisation(): got localisation for en from source
>> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
>> from wfGetDB
>> IP: 192.168.62.1
>> MessageCache::load(): got from global cache Unstubbing $wgOut on call
>> of $wgOut->addScript from TreeView4::addJS Fully initialised Request
>> ended normally
>>
>>
>> Start request
>> GET /sunwiki/?search=transaction&fulltext=Search
>> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
>> application/x-shockwave-flash, */*
>> Referer: http://sbsws469/sunwiki/?title=Main_Page
>> Accept-Language: en-us
>> Accept-Encoding: gzip, deflate
>> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
>> .NET CLR 1.1.4322)
>> Host: sbsws469
>> Connection: Keep-Alive
>>
>>
>> Main cache: FakeMemCachedClient
>> Message cache: MediaWikiBagOStuff
>> Parser cache: MediaWikiBagOStuff
>> Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
>> Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages
>> from
>> efNewestPages
>> Unstubbing $wgContLang on call of $wgContLang->getMagic from
>> MagicWord::load
>> Unstubbing $wgLang on call of $wgLang->getCode from smwfInitMessages
>> Unstubbing $wgUser on call of $wgUser->getOption from
>> StubUserLang::_newObject
>> Language::loadLocalisation(): got localisation for en from source
>> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
>> from wfGetDB
>> IP: 192.168.62.1
>> MessageCache::load(): got from global cache
>> Unstubbing $wgOut on call of $wgOut->addScript from TreeView4::addJS
>> Fully initialised
>> Would search with '+transaction'
>> Match with /\btransaction\b/
>> Would search with '+transaction'
>> Match with /\btransaction\b/
>>
>>
>> Regards,
>>
>> Jack
>> ----------------------------------------------------------------
>> "May He protect us both. May He cause us both to enjoy.May we exert
>> together. May our studies become brilliant. May we not hate each
>> other"
>>
>>
>> -----Original Message-----
>> From: mediawiki-l-bounces [at] lists
>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
>> Sent: Wednesday, June 11, 2008 5:01 AM
>> To: MediaWiki announcements and site admin list
>> Subject: Re: [Mediawiki-l] Strange problem with search
>>
>> Anything in the error logs when you get the blank page? And by
>> blank to
>> you mean white screen of death or blank wiki skin with no content?
>>
>> Jim
>>
>> On Jun 9, 2008, at 2:07 AM, Jack Eapen C wrote:
>>
>>>
>>> Hi,
>>>
>>> Mod_security is not enabled in my server -i.e I checked the
>>> httpd.conf
>>
>>> file and the apache modules folder. Reference to the particulat
>>> module
>>
>>> is not in the conf file and the mod-security.so file is not in the
>>> folder. Any other hints, plz?
>>>
>>>
>>> Regards,
>>>
>>> Jack
>>> ----------------------------------------------------------------
>>> "May He protect us both. May He cause us both to enjoy.May we exert
>>> together. May our studies become brilliant. May we not hate each
>>> other"
>>>
>>>
>>> -----Original Message-----
>>> From: mediawiki-l-bounces [at] lists
>>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Brion
>>> Vibber
>>> Sent: Friday, June 06, 2008 12:27 AM
>>> To: MediaWiki announcements and site admin list
>>> Subject: Re: [Mediawiki-l] Strange problem with search
>>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Jack Eapen C wrote:
>>>> When I search with SOME keywords, my production wiki returns a
>>>> "blank"
>>>> page. If I use the same words on the test wiki, no probs-results
>>>> are
>>>> returned (content in both wikis are same). Some of the problematic
>>>> words are "transaction" (transaction backout has no problem),
>>>> function, cards (plastic cards is fine), account etc.
>>>
>>> Sounds like one of those "security" plugins for your web server,
>>> perhaps mod_security.
>>>
>>> It's set in an overprotective mode that freaks out and denies access
>>> when it sees bits of text coming through the form submission that it
>>> thinks are indicative of an SQL or code injection attack.
>>>
>>> Contact your system administrator and let them know they've
>>> misconfigured the software and should back it out to more reasonable
>>> settings.
>>>
>>> - -- brion vibber (brion @ wikimedia.org) -----BEGIN PGP
>>> SIGNATURE-----
>>> Version: GnuPG v1.4.8 (Darwin)
>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>>
>>> iEYEARECAAYFAkhINxkACgkQwRnhpk1wk47kngCgvrQx86kyR1mt71unPhvz+piA
>>> oKkAnR3rnrecJq3COq8NvVtkA0KIQM0Y
>>> =AoIU
>>> -----END PGP SIGNATURE-----
>>>
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l [at] lists
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>
>>>
>>> This electronic mail (including any attachment thereto) may be
>>> confidential and privileged and is intended only for the individual
>>> or
>>
>>> entity named above. Any unauthorized use, printing, copying,
>>> disclosure or dissemination of this communication may be subject to
>>> legal restriction or sanction. Accordingly, if you are not the
>>> intended recipient, please notify the sender by replying to this
>>> email
>>
>>> immediately and delete this email (and any attachment thereto) from
>>> your computer system...Thank You
>>>
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l [at] lists
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>> =====================================
>> Jim Hu
>> Associate Professor
>> Dept. of Biochemistry and Biophysics
>> 2128 TAMU
>> Texas A&M Univ.
>> College Station, TX 77843-2128
>> 979-862-4054
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
>> This electronic mail (including any attachment thereto) may be
>> confidential and privileged and is intended only for the individual
>> or entity named above. Any unauthorized use, printing, copying,
>> disclosure or dissemination of this communication may be subject to
>> legal restriction or sanction. Accordingly, if you are not the
>> intended recipient, please notify the sender by replying to this
>> email immediately and delete this email (and any attachment thereto)
>> from your computer system...Thank You
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
> =====================================
> Jim Hu
> Associate Professor
> Dept. of Biochemistry and Biophysics
> 2128 TAMU
> Texas A&M Univ.
> College Station, TX 77843-2128
> 979-862-4054
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> This electronic mail (including any attachment thereto) may be
> confidential and privileged and is intended only for the individual
> or entity named above. Any unauthorized use, printing, copying,
> disclosure or dissemination of this communication may be subject to
> legal restriction or sanction. Accordingly, if you are not the
> intended recipient, please notify the sender by replying to this
> email immediately and delete this email (and any attachment thereto)
> from your computer system...Thank You
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054


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


Platonides at gmail

Jun 13, 2008, 2:37 PM

Post #16 of 20 (1201 views)
Permalink
Re: Strange problem with search [In reply to]

Jim Hu wrote:
> This is very strange. The white screen of death should have left
> something in the error log after the search for "transaction". This
> log also shows that you still have searchsuggest extension on. At
> this point, my inclination is to
> 1) do the diagnosis with all the extensions off, since you say that
> "transaction" is still crashing the wiki even with all of them off.
> 2) put something in LocalSettings that would cause a runtime error
> just to make sure the logging is working.
> 3) test what happens if you put "transaction" as in the URL as if it
> was a page title.
> I might do these in reverse order, actually.
>
> Sorry I can't be more helpful...
>
> Jim

Another tip: try it with a basic php page, to determine if it's related
to mediawiki or not (i still suspect some paranoid server hardening).


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


jackec at suntecgroup

Jun 16, 2008, 12:03 AM

Post #17 of 20 (1134 views)
Permalink
Re: Strange problem with search [In reply to]

Hi,

If I put "transaction" in the title and calling that page no probs. I'm
getting a usual page saying that the required page doesn't exisit and
whether I want to creat that.

Now I really removed all my extensions from localsettings.php and then I
get one error message on screen "Fatal error: Call to a member function
getText() on a non-object in D:\Program Files\EasyPHP
2.0b1\www\sunwiki\includes\SpecialSearch.php on line 335"

The lines 334 and 335 are
$revision = Revision::newFromTitle( $t );
$text = $revision->getText();

This is coming only for the problem words..all other things are qorking
fine

Error log is not showing much:

Fully initialised
Unstubbing $wgMessageCache on call of $wgMessageCache->getTransform from
wfMsgGetKey
Unstubbing $wgContLang on call of $wgContLang->getCode from
MessageCache::get
Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
from wfGetDB
MessageCache::load(): got from global cache
Language::loadLocalisation(): got localisation for en from source
Unstubbing $wgParser on call of $wgParser->firstCallInit from
MessageCache::transform
Unstubbing $wgUser on call of $wgUser->isAllowed from Title::userCanRead
Unstubbing $wgLang on call of $wgLang->getCode from MessageCache::get
IP: 192.168.62.1
Would search with '+transaction'
Match with /\btransaction\b/
Would search with '+transaction'
Match with /\btransaction\b/


Regards,

Jack
----------------------------------------------------------------
"May He protect us both. May He cause us both to enjoy.May we exert
together. May our studies become brilliant. May we not hate each other"


-----Original Message-----
From: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
Sent: Friday, June 13, 2008 9:51 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Strange problem with search

This is very strange. The white screen of death should have left
something in the error log after the search for "transaction". This log
also shows that you still have searchsuggest extension on. At this
point, my inclination is to
1) do the diagnosis with all the extensions off, since you say that
"transaction" is still crashing the wiki even with all of them off.
2) put something in LocalSettings that would cause a runtime error just
to make sure the logging is working.
3) test what happens if you put "transaction" as in the URL as if it was
a page title.
I might do these in reverse order, actually.

Sorry I can't be more helpful...

Jim

On Jun 13, 2008, at 1:11 AM, Jack Eapen C wrote:

>
> Hi,
>
> I stopped my apache cleared the error log and restarted. Then I
> directly called the search url with 'transaction' as keyword and got
> the blank screen. Then I called the url with 'transaction backout' as
> the keyword and got the search results. The error log contents is
> below:
>
> [Fri Jun 13 11:32:24 2008] [notice] Apache/2.2.3 (Win32) PHP/5.2.0
> configured -- resuming normal operations [Fri Jun 13 11:32:24 2008]
> [notice] Server built: Jul 27 2006 16:49:49 [Fri Jun 13 11:32:24 2008]

> [notice] Parent: Created child process 4336 [Fri Jun 13 11:32:24 2008]

> [notice] Child 4336: Child process is running [Fri Jun 13 11:32:24
> 2008] [notice] Child 4336: Acquired the start mutex.
> [Fri Jun 13 11:32:24 2008] [notice] Child 4336: Starting 250 worker
> threads.
> [Fri Jun 13 11:32:24 2008] [notice] Child 4336: Starting thread to
> listen on port 80.
> [Fri Jun 13 11:32:52 2008] [error] [client 192.168.62.1] File does not
> exist: D:/Program Files/EasyPHP
> 2.0b1/www/sunwiki/extensions/searchsuggest/style.css, referer:
> http://sbsws469/sunwiki/?search=transaction+backout&fulltext=Search
>
>
> I commented out all my extensions and tried, but in vain.
>
> As I said earlier, the search is not failing on all the words, but
> only on some words. That's making this problem worse.. :)
>
> Regards,
>
> Jack
> ----------------------------------------------------------------
> "May He protect us both. May He cause us both to enjoy.May we exert
> together. May our studies become brilliant. May we not hate each
> other"
>
>
> -----Original Message-----
> From: mediawiki-l-bounces [at] lists
> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
> Sent: Thursday, June 12, 2008 9:15 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Strange problem with search
>
> Um... which logfile are you getting this from? I was wondering more
> about the httpd error log and expecting a php message like: FATAL
> ERROR: something or other on line X in something.php.
>
> Also, is the white screen of death dependent on any extensions? I
> recently found one with one of my extensions (PagesOnDemand/
> PMIDonDemand - I wrote the latter, so it's my fault!) where a failure
> condition didn't check to see whether creation of an article object
> had succeeded, followed by trying to call a method on a non-object.
> I'm wondering if either
> a) and extension is sensitive to the specific page names that cause
> the crash or
> b) database damage is leading to failure to create a page that MW
> thinks is there, but which doesn't have the right database entries.
> That usually doesn't give the white screen of death, though.
>
> Jim
>
> On Jun 11, 2008, at 4:18 AM, Jack Eapen C wrote:
>
>>
>>
>> I'm getting a "white screen of death". Here's the info from log file:
>>
>> Main cache: FakeMemCachedClient
>> Message cache: MediaWikiBagOStuff
>> Parser cache: MediaWikiBagOStuff
>> Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
>> Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages
>> from efNewestPages Unstubbing $wgContLang on call of
>> $wgContLang->getMagic from MagicWord::load Unstubbing $wgLang on call

>> of $wgLang->getCode from smwfInitMessages Unstubbing $wgUser on call
>> of $wgUser->getOption from StubUserLang::_newObject
>> Language::loadLocalisation(): got localisation for en from source
>> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
>> from wfGetDB
>> IP: 192.168.62.1
>> MessageCache::load(): got from global cache Unstubbing $wgOut on call

>> of $wgOut->addScript from TreeView4::addJS Fully initialised Request
>> ended normally
>>
>>
>> Start request
>> GET /sunwiki/?search=transaction&fulltext=Search
>> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
>> application/x-shockwave-flash, */*
>> Referer: http://sbsws469/sunwiki/?title=Main_Page
>> Accept-Language: en-us
>> Accept-Encoding: gzip, deflate
>> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
>> .NET CLR 1.1.4322)
>> Host: sbsws469
>> Connection: Keep-Alive
>>
>>
>> Main cache: FakeMemCachedClient
>> Message cache: MediaWikiBagOStuff
>> Parser cache: MediaWikiBagOStuff
>> Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
>> Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages
>> from efNewestPages Unstubbing $wgContLang on call of
>> $wgContLang->getMagic from MagicWord::load Unstubbing $wgLang on call

>> of $wgLang->getCode from smwfInitMessages Unstubbing $wgUser on call
>> of $wgUser->getOption from StubUserLang::_newObject
>> Language::loadLocalisation(): got localisation for en from source
>> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
>> from wfGetDB
>> IP: 192.168.62.1
>> MessageCache::load(): got from global cache Unstubbing $wgOut on call

>> of $wgOut->addScript from TreeView4::addJS Fully initialised Would
>> search with '+transaction'
>> Match with /\btransaction\b/
>> Would search with '+transaction'
>> Match with /\btransaction\b/
>>
>>
>> Regards,
>>
>> Jack
>> ----------------------------------------------------------------
>> "May He protect us both. May He cause us both to enjoy.May we exert
>> together. May our studies become brilliant. May we not hate each
>> other"
>>
>>
>> -----Original Message-----
>> From: mediawiki-l-bounces [at] lists
>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
>> Sent: Wednesday, June 11, 2008 5:01 AM
>> To: MediaWiki announcements and site admin list
>> Subject: Re: [Mediawiki-l] Strange problem with search
>>
>> Anything in the error logs when you get the blank page? And by
>> blank to
>> you mean white screen of death or blank wiki skin with no content?
>>
>> Jim
>>
>> On Jun 9, 2008, at 2:07 AM, Jack Eapen C wrote:
>>
>>>
>>> Hi,
>>>
>>> Mod_security is not enabled in my server -i.e I checked the
>>> httpd.conf
>>
>>> file and the apache modules folder. Reference to the particulat
>>> module
>>
>>> is not in the conf file and the mod-security.so file is not in the
>>> folder. Any other hints, plz?
>>>
>>>
>>> Regards,
>>>
>>> Jack
>>> ----------------------------------------------------------------
>>> "May He protect us both. May He cause us both to enjoy.May we exert
>>> together. May our studies become brilliant. May we not hate each
>>> other"
>>>
>>>
>>> -----Original Message-----
>>> From: mediawiki-l-bounces [at] lists
>>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Brion
>>> Vibber
>>> Sent: Friday, June 06, 2008 12:27 AM
>>> To: MediaWiki announcements and site admin list
>>> Subject: Re: [Mediawiki-l] Strange problem with search
>>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Jack Eapen C wrote:
>>>> When I search with SOME keywords, my production wiki returns a
>>>> "blank"
>>>> page. If I use the same words on the test wiki, no probs-results
>>>> are
>>>> returned (content in both wikis are same). Some of the problematic
>>>> words are "transaction" (transaction backout has no problem),
>>>> function, cards (plastic cards is fine), account etc.
>>>
>>> Sounds like one of those "security" plugins for your web server,
>>> perhaps mod_security.
>>>
>>> It's set in an overprotective mode that freaks out and denies access
>>> when it sees bits of text coming through the form submission that it
>>> thinks are indicative of an SQL or code injection attack.
>>>
>>> Contact your system administrator and let them know they've
>>> misconfigured the software and should back it out to more reasonable
>>> settings.
>>>
>>> - -- brion vibber (brion @ wikimedia.org) -----BEGIN PGP
>>> SIGNATURE-----
>>> Version: GnuPG v1.4.8 (Darwin)
>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>>
>>> iEYEARECAAYFAkhINxkACgkQwRnhpk1wk47kngCgvrQx86kyR1mt71unPhvz+piA
>>> oKkAnR3rnrecJq3COq8NvVtkA0KIQM0Y
>>> =AoIU
>>> -----END PGP SIGNATURE-----
>>>
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l [at] lists
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>
>>>
>>> This electronic mail (including any attachment thereto) may be
>>> confidential and privileged and is intended only for the individual
>>> or
>>
>>> entity named above. Any unauthorized use, printing, copying,
>>> disclosure or dissemination of this communication may be subject to
>>> legal restriction or sanction. Accordingly, if you are not the
>>> intended recipient, please notify the sender by replying to this
>>> email
>>
>>> immediately and delete this email (and any attachment thereto) from
>>> your computer system...Thank You
>>>
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l [at] lists
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>> =====================================
>> Jim Hu
>> Associate Professor
>> Dept. of Biochemistry and Biophysics
>> 2128 TAMU
>> Texas A&M Univ.
>> College Station, TX 77843-2128
>> 979-862-4054
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
>> This electronic mail (including any attachment thereto) may be
>> confidential and privileged and is intended only for the individual
>> or entity named above. Any unauthorized use, printing, copying,
>> disclosure or dissemination of this communication may be subject to
>> legal restriction or sanction. Accordingly, if you are not the
>> intended recipient, please notify the sender by replying to this
>> email immediately and delete this email (and any attachment thereto)
>> from your computer system...Thank You
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
> =====================================
> Jim Hu
> Associate Professor
> Dept. of Biochemistry and Biophysics
> 2128 TAMU
> Texas A&M Univ.
> College Station, TX 77843-2128
> 979-862-4054
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> This electronic mail (including any attachment thereto) may be
> confidential and privileged and is intended only for the individual
> or entity named above. Any unauthorized use, printing, copying,
> disclosure or dissemination of this communication may be subject to
> legal restriction or sanction. Accordingly, if you are not the
> intended recipient, please notify the sender by replying to this
> email immediately and delete this email (and any attachment thereto)
> from your computer system...Thank You
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054


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


This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You

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


jimhu at tamu

Jun 17, 2008, 11:08 AM

Post #18 of 20 (1084 views)
Permalink
Re: Strange problem with search [In reply to]

I suspect that something at some point messed up the database, perhaps
by some extension (or db user) deleting a page without properly
cleaning up. The revision that isn't being created (returning null,
I believe, due to not finding the page) shouldn't happen unless
searchengine thinks there's a hit.

Did you try rebuilding the searchindex?

You can also probably patch around it with the following kludge (I'm
sure others have better suggestions)

change those lines to:

$revision = Revision::newFromTitle( $t );
$text = '';
if (is_object($revision)) $text = $revision->getText();


Jim

On Jun 16, 2008, at 2:03 AM, Jack Eapen C wrote:

>
>
> Hi,
>
> If I put "transaction" in the title and calling that page no probs.
> I'm
> getting a usual page saying that the required page doesn't exisit and
> whether I want to creat that.
>
> Now I really removed all my extensions from localsettings.php and
> then I
> get one error message on screen "Fatal error: Call to a member
> function
> getText() on a non-object in D:\Program Files\EasyPHP
> 2.0b1\www\sunwiki\includes\SpecialSearch.php on line 335"
>
> The lines 334 and 335 are
> $revision = Revision::newFromTitle( $t );
> $text = $revision->getText();
>
> This is coming only for the problem words..all other things are
> qorking
> fine
>
> Error log is not showing much:
>
> Fully initialised
> Unstubbing $wgMessageCache on call of $wgMessageCache->getTransform
> from
> wfMsgGetKey
> Unstubbing $wgContLang on call of $wgContLang->getCode from
> MessageCache::get
> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
> from wfGetDB
> MessageCache::load(): got from global cache
> Language::loadLocalisation(): got localisation for en from source
> Unstubbing $wgParser on call of $wgParser->firstCallInit from
> MessageCache::transform
> Unstubbing $wgUser on call of $wgUser->isAllowed from
> Title::userCanRead
> Unstubbing $wgLang on call of $wgLang->getCode from MessageCache::get
> IP: 192.168.62.1
> Would search with '+transaction'
> Match with /\btransaction\b/
> Would search with '+transaction'
> Match with /\btransaction\b/
>
>
> Regards,
>
> Jack
> ----------------------------------------------------------------
> "May He protect us both. May He cause us both to enjoy.May we exert
> together. May our studies become brilliant. May we not hate each
> other"
>
>
> -----Original Message-----
> From: mediawiki-l-bounces [at] lists
> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
> Sent: Friday, June 13, 2008 9:51 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Strange problem with search
>
> This is very strange. The white screen of death should have left
> something in the error log after the search for "transaction". This
> log
> also shows that you still have searchsuggest extension on. At this
> point, my inclination is to
> 1) do the diagnosis with all the extensions off, since you say that
> "transaction" is still crashing the wiki even with all of them off.
> 2) put something in LocalSettings that would cause a runtime error
> just
> to make sure the logging is working.
> 3) test what happens if you put "transaction" as in the URL as if it
> was
> a page title.
> I might do these in reverse order, actually.
>
> Sorry I can't be more helpful...
>
> Jim
>
> On Jun 13, 2008, at 1:11 AM, Jack Eapen C wrote:
>
>>
>> Hi,
>>
>> I stopped my apache cleared the error log and restarted. Then I
>> directly called the search url with 'transaction' as keyword and got
>> the blank screen. Then I called the url with 'transaction backout' as
>> the keyword and got the search results. The error log contents is
>> below:
>>
>> [Fri Jun 13 11:32:24 2008] [notice] Apache/2.2.3 (Win32) PHP/5.2.0
>> configured -- resuming normal operations [Fri Jun 13 11:32:24 2008]
>> [notice] Server built: Jul 27 2006 16:49:49 [Fri Jun 13 11:32:24
>> 2008]
>
>> [notice] Parent: Created child process 4336 [Fri Jun 13 11:32:24
>> 2008]
>
>> [notice] Child 4336: Child process is running [Fri Jun 13 11:32:24
>> 2008] [notice] Child 4336: Acquired the start mutex.
>> [Fri Jun 13 11:32:24 2008] [notice] Child 4336: Starting 250 worker
>> threads.
>> [Fri Jun 13 11:32:24 2008] [notice] Child 4336: Starting thread to
>> listen on port 80.
>> [Fri Jun 13 11:32:52 2008] [error] [client 192.168.62.1] File does
>> not
>> exist: D:/Program Files/EasyPHP
>> 2.0b1/www/sunwiki/extensions/searchsuggest/style.css, referer:
>> http://sbsws469/sunwiki/?search=transaction+backout&fulltext=Search
>>
>>
>> I commented out all my extensions and tried, but in vain.
>>
>> As I said earlier, the search is not failing on all the words, but
>> only on some words. That's making this problem worse.. :)
>>
>> Regards,
>>
>> Jack
>> ----------------------------------------------------------------
>> "May He protect us both. May He cause us both to enjoy.May we exert
>> together. May our studies become brilliant. May we not hate each
>> other"
>>
>>
>> -----Original Message-----
>> From: mediawiki-l-bounces [at] lists
>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
>> Sent: Thursday, June 12, 2008 9:15 PM
>> To: MediaWiki announcements and site admin list
>> Subject: Re: [Mediawiki-l] Strange problem with search
>>
>> Um... which logfile are you getting this from? I was wondering more
>> about the httpd error log and expecting a php message like: FATAL
>> ERROR: something or other on line X in something.php.
>>
>> Also, is the white screen of death dependent on any extensions? I
>> recently found one with one of my extensions (PagesOnDemand/
>> PMIDonDemand - I wrote the latter, so it's my fault!) where a failure
>> condition didn't check to see whether creation of an article object
>> had succeeded, followed by trying to call a method on a non-object.
>> I'm wondering if either
>> a) and extension is sensitive to the specific page names that cause
>> the crash or
>> b) database damage is leading to failure to create a page that MW
>> thinks is there, but which doesn't have the right database entries.
>> That usually doesn't give the white screen of death, though.
>>
>> Jim
>>
>> On Jun 11, 2008, at 4:18 AM, Jack Eapen C wrote:
>>
>>>
>>>
>>> I'm getting a "white screen of death". Here's the info from log
>>> file:
>>>
>>> Main cache: FakeMemCachedClient
>>> Message cache: MediaWikiBagOStuff
>>> Parser cache: MediaWikiBagOStuff
>>> Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
>>> Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages
>>> from efNewestPages Unstubbing $wgContLang on call of
>>> $wgContLang->getMagic from MagicWord::load Unstubbing $wgLang on
>>> call
>
>>> of $wgLang->getCode from smwfInitMessages Unstubbing $wgUser on call
>>> of $wgUser->getOption from StubUserLang::_newObject
>>> Language::loadLocalisation(): got localisation for en from source
>>> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
>>> from wfGetDB
>>> IP: 192.168.62.1
>>> MessageCache::load(): got from global cache Unstubbing $wgOut on
>>> call
>
>>> of $wgOut->addScript from TreeView4::addJS Fully initialised Request
>>> ended normally
>>>
>>>
>>> Start request
>>> GET /sunwiki/?search=transaction&fulltext=Search
>>> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
>>> application/x-shockwave-flash, */*
>>> Referer: http://sbsws469/sunwiki/?title=Main_Page
>>> Accept-Language: en-us
>>> Accept-Encoding: gzip, deflate
>>> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
>>> .NET CLR 1.1.4322)
>>> Host: sbsws469
>>> Connection: Keep-Alive
>>>
>>>
>>> Main cache: FakeMemCachedClient
>>> Message cache: MediaWikiBagOStuff
>>> Parser cache: MediaWikiBagOStuff
>>> Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
>>> Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages
>>> from efNewestPages Unstubbing $wgContLang on call of
>>> $wgContLang->getMagic from MagicWord::load Unstubbing $wgLang on
>>> call
>
>>> of $wgLang->getCode from smwfInitMessages Unstubbing $wgUser on call
>>> of $wgUser->getOption from StubUserLang::_newObject
>>> Language::loadLocalisation(): got localisation for en from source
>>> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection
>>> from wfGetDB
>>> IP: 192.168.62.1
>>> MessageCache::load(): got from global cache Unstubbing $wgOut on
>>> call
>
>>> of $wgOut->addScript from TreeView4::addJS Fully initialised Would
>>> search with '+transaction'
>>> Match with /\btransaction\b/
>>> Would search with '+transaction'
>>> Match with /\btransaction\b/
>>>
>>>
>>> Regards,
>>>
>>> Jack
>>> ----------------------------------------------------------------
>>> "May He protect us both. May He cause us both to enjoy.May we exert
>>> together. May our studies become brilliant. May we not hate each
>>> other"
>>>
>>>
>>> -----Original Message-----
>>> From: mediawiki-l-bounces [at] lists
>>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
>>> Sent: Wednesday, June 11, 2008 5:01 AM
>>> To: MediaWiki announcements and site admin list
>>> Subject: Re: [Mediawiki-l] Strange problem with search
>>>
>>> Anything in the error logs when you get the blank page? And by
>>> blank to
>>> you mean white screen of death or blank wiki skin with no content?
>>>
>>> Jim
>>>
>>> On Jun 9, 2008, at 2:07 AM, Jack Eapen C wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> Mod_security is not enabled in my server -i.e I checked the
>>>> httpd.conf
>>>
>>>> file and the apache modules folder. Reference to the particulat
>>>> module
>>>
>>>> is not in the conf file and the mod-security.so file is not in the
>>>> folder. Any other hints, plz?
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Jack
>>>> ----------------------------------------------------------------
>>>> "May He protect us both. May He cause us both to enjoy.May we exert
>>>> together. May our studies become brilliant. May we not hate each
>>>> other"
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: mediawiki-l-bounces [at] lists
>>>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Brion
>>>> Vibber
>>>> Sent: Friday, June 06, 2008 12:27 AM
>>>> To: MediaWiki announcements and site admin list
>>>> Subject: Re: [Mediawiki-l] Strange problem with search
>>>>
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>> Jack Eapen C wrote:
>>>>> When I search with SOME keywords, my production wiki returns a
>>>>> "blank"
>>>>> page. If I use the same words on the test wiki, no probs-results
>>>>> are
>>>>> returned (content in both wikis are same). Some of the problematic
>>>>> words are "transaction" (transaction backout has no problem),
>>>>> function, cards (plastic cards is fine), account etc.
>>>>
>>>> Sounds like one of those "security" plugins for your web server,
>>>> perhaps mod_security.
>>>>
>>>> It's set in an overprotective mode that freaks out and denies
>>>> access
>>>> when it sees bits of text coming through the form submission that
>>>> it
>>>> thinks are indicative of an SQL or code injection attack.
>>>>
>>>> Contact your system administrator and let them know they've
>>>> misconfigured the software and should back it out to more
>>>> reasonable
>>>> settings.
>>>>
>>>> - -- brion vibber (brion @ wikimedia.org) -----BEGIN PGP
>>>> SIGNATURE-----
>>>> Version: GnuPG v1.4.8 (Darwin)
>>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>>>
>>>> iEYEARECAAYFAkhINxkACgkQwRnhpk1wk47kngCgvrQx86kyR1mt71unPhvz+piA
>>>> oKkAnR3rnrecJq3COq8NvVtkA0KIQM0Y
>>>> =AoIU
>>>> -----END PGP SIGNATURE-----
>>>>
>>>> _______________________________________________
>>>> MediaWiki-l mailing list
>>>> MediaWiki-l [at] lists
>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>>
>>>>
>>>> This electronic mail (including any attachment thereto) may be
>>>> confidential and privileged and is intended only for the individual
>>>> or
>>>
>>>> entity named above. Any unauthorized use, printing, copying,
>>>> disclosure or dissemination of this communication may be subject to
>>>> legal restriction or sanction. Accordingly, if you are not the
>>>> intended recipient, please notify the sender by replying to this
>>>> email
>>>
>>>> immediately and delete this email (and any attachment thereto) from
>>>> your computer system...Thank You
>>>>
>>>> _______________________________________________
>>>> MediaWiki-l mailing list
>>>> MediaWiki-l [at] lists
>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>
>>> =====================================
>>> Jim Hu
>>> Associate Professor
>>> Dept. of Biochemistry and Biophysics
>>> 2128 TAMU
>>> Texas A&M Univ.
>>> College Station, TX 77843-2128
>>> 979-862-4054
>>>
>>>
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l [at] lists
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>
>>>
>>> This electronic mail (including any attachment thereto) may be
>>> confidential and privileged and is intended only for the individual
>>> or entity named above. Any unauthorized use, printing, copying,
>>> disclosure or dissemination of this communication may be subject to
>>> legal restriction or sanction. Accordingly, if you are not the
>>> intended recipient, please notify the sender by replying to this
>>> email immediately and delete this email (and any attachment thereto)
>>> from your computer system...Thank You
>>>
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l [at] lists
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>> =====================================
>> Jim Hu
>> Associate Professor
>> Dept. of Biochemistry and Biophysics
>> 2128 TAMU
>> Texas A&M Univ.
>> College Station, TX 77843-2128
>> 979-862-4054
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
>> This electronic mail (including any attachment thereto) may be
>> confidential and privileged and is intended only for the individual
>> or entity named above. Any unauthorized use, printing, copying,
>> disclosure or dissemination of this communication may be subject to
>> legal restriction or sanction. Accordingly, if you are not the
>> intended recipient, please notify the sender by replying to this
>> email immediately and delete this email (and any attachment thereto)
>> from your computer system...Thank You
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
> =====================================
> Jim Hu
> Associate Professor
> Dept. of Biochemistry and Biophysics
> 2128 TAMU
> Texas A&M Univ.
> College Station, TX 77843-2128
> 979-862-4054
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> This electronic mail (including any attachment thereto) may be
> confidential and privileged and is intended only for the individual
> or entity named above. Any unauthorized use, printing, copying,
> disclosure or dissemination of this communication may be subject to
> legal restriction or sanction. Accordingly, if you are not the
> intended recipient, please notify the sender by replying to this
> email immediately and delete this email (and any attachment thereto)
> from your computer system...Thank You
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054


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


jackec at suntecgroup

Jun 17, 2008, 9:16 PM

Post #19 of 20 (1070 views)
Permalink
Re: Strange problem with search [In reply to]

I don't have words to express my thanks for your kind help.

It worked perfectly! Great!

So is there anyway to repair the db and keep the code unchanged? How to
rebuid the search index?

Regards

Jack

-----Original Message-----
From: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
Sent: Tuesday, June 17, 2008 11:39 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Strange problem with search

I suspect that something at some point messed up the database, perhaps
by some extension (or db user) deleting a page without properly
cleaning up. The revision that isn't being created (returning null,
I believe, due to not finding the page) shouldn't happen unless
searchengine thinks there's a hit.

Did you try rebuilding the searchindex?

You can also probably patch around it with the following kludge (I'm
sure others have better suggestions)

change those lines to:

$revision = Revision::newFromTitle( $t );
$text = '';
if (is_object($revision)) $text = $revision->getText();


Jim

On Jun 16, 2008, at 2:03 AM, Jack Eapen C wrote:

>
>
> Hi,
>
> If I put "transaction" in the title and calling that page no probs.
> I'm
> getting a usual page saying that the required page doesn't exisit and
> whether I want to creat that.
>
> Now I really removed all my extensions from localsettings.php and then

> I get one error message on screen "Fatal error: Call to a member
> function
> getText() on a non-object in D:\Program Files\EasyPHP
> 2.0b1\www\sunwiki\includes\SpecialSearch.php on line 335"
>
> The lines 334 and 335 are
> $revision = Revision::newFromTitle( $t );
> $text = $revision->getText();
>
> This is coming only for the problem words..all other things are
> qorking fine
>
> Error log is not showing much:
>
> Fully initialised
> Unstubbing $wgMessageCache on call of $wgMessageCache->getTransform
> from wfMsgGetKey Unstubbing $wgContLang on call of
> $wgContLang->getCode from MessageCache::get Unstubbing $wgLoadBalancer

> on call of $wgLoadBalancer->getConnection from wfGetDB
> MessageCache::load(): got from global cache
> Language::loadLocalisation(): got localisation for en from source
> Unstubbing $wgParser on call of $wgParser->firstCallInit from
> MessageCache::transform Unstubbing $wgUser on call of
> $wgUser->isAllowed from Title::userCanRead Unstubbing $wgLang on call
> of $wgLang->getCode from MessageCache::get
> IP: 192.168.62.1
> Would search with '+transaction'
> Match with /\btransaction\b/
> Would search with '+transaction'
> Match with /\btransaction\b/
>
>
> Regards,
>
> Jack
> ----------------------------------------------------------------
> "May He protect us both. May He cause us both to enjoy.May we exert
> together. May our studies become brilliant. May we not hate each
> other"
>
>
> -----Original Message-----
> From: mediawiki-l-bounces [at] lists
> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
> Sent: Friday, June 13, 2008 9:51 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Strange problem with search
>
> This is very strange. The white screen of death should have left
> something in the error log after the search for "transaction". This
> log also shows that you still have searchsuggest extension on. At
> this point, my inclination is to
> 1) do the diagnosis with all the extensions off, since you say that
> "transaction" is still crashing the wiki even with all of them off.
> 2) put something in LocalSettings that would cause a runtime error
> just to make sure the logging is working.
> 3) test what happens if you put "transaction" as in the URL as if it
> was a page title.
> I might do these in reverse order, actually.
>
> Sorry I can't be more helpful...
>
> Jim
>
> On Jun 13, 2008, at 1:11 AM, Jack Eapen C wrote:
>
>>
>> Hi,
>>
>> I stopped my apache cleared the error log and restarted. Then I
>> directly called the search url with 'transaction' as keyword and got
>> the blank screen. Then I called the url with 'transaction backout' as

>> the keyword and got the search results. The error log contents is
>> below:
>>
>> [Fri Jun 13 11:32:24 2008] [notice] Apache/2.2.3 (Win32) PHP/5.2.0
>> configured -- resuming normal operations [Fri Jun 13 11:32:24 2008]
>> [notice] Server built: Jul 27 2006 16:49:49 [Fri Jun 13 11:32:24
>> 2008]
>
>> [notice] Parent: Created child process 4336 [Fri Jun 13 11:32:24
>> 2008]
>
>> [notice] Child 4336: Child process is running [Fri Jun 13 11:32:24
>> 2008] [notice] Child 4336: Acquired the start mutex.
>> [Fri Jun 13 11:32:24 2008] [notice] Child 4336: Starting 250 worker
>> threads.
>> [Fri Jun 13 11:32:24 2008] [notice] Child 4336: Starting thread to
>> listen on port 80.
>> [Fri Jun 13 11:32:52 2008] [error] [client 192.168.62.1] File does
>> not
>> exist: D:/Program Files/EasyPHP
>> 2.0b1/www/sunwiki/extensions/searchsuggest/style.css, referer:
>> http://sbsws469/sunwiki/?search=transaction+backout&fulltext=Search
>>
>>
>> I commented out all my extensions and tried, but in vain.
>>
>> As I said earlier, the search is not failing on all the words, but
>> only on some words. That's making this problem worse.. :)
>>
>> Regards,
>>
>> Jack
>> ----------------------------------------------------------------
>> "May He protect us both. May He cause us both to enjoy.May we exert
>> together. May our studies become brilliant. May we not hate each
>> other"
>>
>>
>> -----Original Message-----
>> From: mediawiki-l-bounces [at] lists
>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
>> Sent: Thursday, June 12, 2008 9:15 PM
>> To: MediaWiki announcements and site admin list
>> Subject: Re: [Mediawiki-l] Strange problem with search
>>
>> Um... which logfile are you getting this from? I was wondering more
>> about the httpd error log and expecting a php message like: FATAL
>> ERROR: something or other on line X in something.php.
>>
>> Also, is the white screen of death dependent on any extensions? I
>> recently found one with one of my extensions (PagesOnDemand/
>> PMIDonDemand - I wrote the latter, so it's my fault!) where a failure

>> condition didn't check to see whether creation of an article object
>> had succeeded, followed by trying to call a method on a non-object.
>> I'm wondering if either
>> a) and extension is sensitive to the specific page names that cause
>> the crash or
>> b) database damage is leading to failure to create a page that MW
>> thinks is there, but which doesn't have the right database entries.
>> That usually doesn't give the white screen of death, though.
>>
>> Jim
>>
>> On Jun 11, 2008, at 4:18 AM, Jack Eapen C wrote:
>>
>>>
>>>
>>> I'm getting a "white screen of death". Here's the info from log
>>> file:
>>>
>>> Main cache: FakeMemCachedClient
>>> Message cache: MediaWikiBagOStuff
>>> Parser cache: MediaWikiBagOStuff
>>> Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
>>> Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages
>>> from efNewestPages Unstubbing $wgContLang on call of
>>> $wgContLang->getMagic from MagicWord::load Unstubbing $wgLang on
>>> call
>
>>> of $wgLang->getCode from smwfInitMessages Unstubbing $wgUser on call

>>> of $wgUser->getOption from StubUserLang::_newObject
>>> Language::loadLocalisation(): got localisation for en from source
>>> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection

>>> from wfGetDB
>>> IP: 192.168.62.1
>>> MessageCache::load(): got from global cache Unstubbing $wgOut on
>>> call
>
>>> of $wgOut->addScript from TreeView4::addJS Fully initialised Request

>>> ended normally
>>>
>>>
>>> Start request
>>> GET /sunwiki/?search=transaction&fulltext=Search
>>> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
>>> application/x-shockwave-flash, */*
>>> Referer: http://sbsws469/sunwiki/?title=Main_Page
>>> Accept-Language: en-us
>>> Accept-Encoding: gzip, deflate
>>> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
>>> .NET CLR 1.1.4322)
>>> Host: sbsws469
>>> Connection: Keep-Alive
>>>
>>>
>>> Main cache: FakeMemCachedClient
>>> Message cache: MediaWikiBagOStuff
>>> Parser cache: MediaWikiBagOStuff
>>> Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
>>> Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages
>>> from efNewestPages Unstubbing $wgContLang on call of
>>> $wgContLang->getMagic from MagicWord::load Unstubbing $wgLang on
>>> call
>
>>> of $wgLang->getCode from smwfInitMessages Unstubbing $wgUser on call

>>> of $wgUser->getOption from StubUserLang::_newObject
>>> Language::loadLocalisation(): got localisation for en from source
>>> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection

>>> from wfGetDB
>>> IP: 192.168.62.1
>>> MessageCache::load(): got from global cache Unstubbing $wgOut on
>>> call
>
>>> of $wgOut->addScript from TreeView4::addJS Fully initialised Would
>>> search with '+transaction'
>>> Match with /\btransaction\b/
>>> Would search with '+transaction'
>>> Match with /\btransaction\b/
>>>
>>>
>>> Regards,
>>>
>>> Jack
>>> ----------------------------------------------------------------
>>> "May He protect us both. May He cause us both to enjoy.May we exert
>>> together. May our studies become brilliant. May we not hate each
>>> other"
>>>
>>>
>>> -----Original Message-----
>>> From: mediawiki-l-bounces [at] lists
>>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
>>> Sent: Wednesday, June 11, 2008 5:01 AM
>>> To: MediaWiki announcements and site admin list
>>> Subject: Re: [Mediawiki-l] Strange problem with search
>>>
>>> Anything in the error logs when you get the blank page? And by
>>> blank to you mean white screen of death or blank wiki skin with no
>>> content?
>>>
>>> Jim
>>>
>>> On Jun 9, 2008, at 2:07 AM, Jack Eapen C wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> Mod_security is not enabled in my server -i.e I checked the
>>>> httpd.conf
>>>
>>>> file and the apache modules folder. Reference to the particulat
>>>> module
>>>
>>>> is not in the conf file and the mod-security.so file is not in the
>>>> folder. Any other hints, plz?
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Jack
>>>> ----------------------------------------------------------------
>>>> "May He protect us both. May He cause us both to enjoy.May we exert

>>>> together. May our studies become brilliant. May we not hate each
>>>> other"
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: mediawiki-l-bounces [at] lists
>>>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Brion

>>>> Vibber
>>>> Sent: Friday, June 06, 2008 12:27 AM
>>>> To: MediaWiki announcements and site admin list
>>>> Subject: Re: [Mediawiki-l] Strange problem with search
>>>>
>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>> Hash: SHA1
>>>>
>>>> Jack Eapen C wrote:
>>>>> When I search with SOME keywords, my production wiki returns a
>>>>> "blank"
>>>>> page. If I use the same words on the test wiki, no probs-results
>>>>> are returned (content in both wikis are same). Some of the
>>>>> problematic words are "transaction" (transaction backout has no
>>>>> problem), function, cards (plastic cards is fine), account etc.
>>>>
>>>> Sounds like one of those "security" plugins for your web server,
>>>> perhaps mod_security.
>>>>
>>>> It's set in an overprotective mode that freaks out and denies
>>>> access when it sees bits of text coming through the form submission

>>>> that it thinks are indicative of an SQL or code injection attack.
>>>>
>>>> Contact your system administrator and let them know they've
>>>> misconfigured the software and should back it out to more
>>>> reasonable settings.
>>>>
>>>> - -- brion vibber (brion @ wikimedia.org) -----BEGIN PGP
>>>> SIGNATURE-----
>>>> Version: GnuPG v1.4.8 (Darwin)
>>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>>>
>>>> iEYEARECAAYFAkhINxkACgkQwRnhpk1wk47kngCgvrQx86kyR1mt71unPhvz+piA
>>>> oKkAnR3rnrecJq3COq8NvVtkA0KIQM0Y
>>>> =AoIU
>>>> -----END PGP SIGNATURE-----
>>>>
>>>> _______________________________________________
>>>> MediaWiki-l mailing list
>>>> MediaWiki-l [at] lists
>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>>
>>>>
>>>> This electronic mail (including any attachment thereto) may be
>>>> confidential and privileged and is intended only for the individual

>>>> or
>>>
>>>> entity named above. Any unauthorized use, printing, copying,
>>>> disclosure or dissemination of this communication may be subject to

>>>> legal restriction or sanction. Accordingly, if you are not the
>>>> intended recipient, please notify the sender by replying to this
>>>> email
>>>
>>>> immediately and delete this email (and any attachment thereto) from

>>>> your computer system...Thank You
>>>>
>>>> _______________________________________________
>>>> MediaWiki-l mailing list
>>>> MediaWiki-l [at] lists
>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>
>>> =====================================
>>> Jim Hu
>>> Associate Professor
>>> Dept. of Biochemistry and Biophysics
>>> 2128 TAMU
>>> Texas A&M Univ.
>>> College Station, TX 77843-2128
>>> 979-862-4054
>>>
>>>
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l [at] lists
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>
>>>
>>> This electronic mail (including any attachment thereto) may be
>>> confidential and privileged and is intended only for the individual
>>> or entity named above. Any unauthorized use, printing, copying,
>>> disclosure or dissemination of this communication may be subject to
>>> legal restriction or sanction. Accordingly, if you are not the
>>> intended recipient, please notify the sender by replying to this
>>> email immediately and delete this email (and any attachment thereto)

>>> from your computer system...Thank You
>>>
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l [at] lists
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>> =====================================
>> Jim Hu
>> Associate Professor
>> Dept. of Biochemistry and Biophysics
>> 2128 TAMU
>> Texas A&M Univ.
>> College Station, TX 77843-2128
>> 979-862-4054
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
>> This electronic mail (including any attachment thereto) may be
>> confidential and privileged and is intended only for the individual
>> or entity named above. Any unauthorized use, printing, copying,
>> disclosure or dissemination of this communication may be subject to
>> legal restriction or sanction. Accordingly, if you are not the
>> intended recipient, please notify the sender by replying to this
>> email immediately and delete this email (and any attachment thereto)
>> from your computer system...Thank You
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
> =====================================
> Jim Hu
> Associate Professor
> Dept. of Biochemistry and Biophysics
> 2128 TAMU
> Texas A&M Univ.
> College Station, TX 77843-2128
> 979-862-4054
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> This electronic mail (including any attachment thereto) may be
> confidential and privileged and is intended only for the individual or

> entity named above. Any unauthorized use, printing, copying,
> disclosure or dissemination of this communication may be subject to
> legal restriction or sanction. Accordingly, if you are not the
> intended recipient, please notify the sender by replying to this email

> immediately and delete this email (and any attachment thereto) from
> your computer system...Thank You
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054


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


This electronic mail (including any attachment thereto) may be confidential and privileged and is intended only for the individual or entity named above. Any unauthorized use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. Accordingly, if you are not the intended recipient, please notify the sender by replying to this email immediately and delete this email (and any attachment thereto) from your computer system...Thank You

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


jimhu at tamu

Jun 19, 2008, 9:12 AM

Post #20 of 20 (1015 views)
Permalink
Re: Strange problem with search [In reply to]

Glad to help. For rebuilding the search index, I usually just do
maintenance/rebuildall.php from the command line.

Jim

On Jun 17, 2008, at 11:16 PM, Jack Eapen C wrote:

>
>
> I don't have words to express my thanks for your kind help.
>
> It worked perfectly! Great!
>
> So is there anyway to repair the db and keep the code unchanged? How
> to
> rebuid the search index?
>
> Regards
>
> Jack
>
> -----Original Message-----
> From: mediawiki-l-bounces [at] lists
> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
> Sent: Tuesday, June 17, 2008 11:39 PM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] Strange problem with search
>
> I suspect that something at some point messed up the database, perhaps
> by some extension (or db user) deleting a page without properly
> cleaning up. The revision that isn't being created (returning null,
> I believe, due to not finding the page) shouldn't happen unless
> searchengine thinks there's a hit.
>
> Did you try rebuilding the searchindex?
>
> You can also probably patch around it with the following kludge (I'm
> sure others have better suggestions)
>
> change those lines to:
>
> $revision = Revision::newFromTitle( $t );
> $text = '';
> if (is_object($revision)) $text = $revision->getText();
>
>
> Jim
>
> On Jun 16, 2008, at 2:03 AM, Jack Eapen C wrote:
>
>>
>>
>> Hi,
>>
>> If I put "transaction" in the title and calling that page no probs.
>> I'm
>> getting a usual page saying that the required page doesn't exisit and
>> whether I want to creat that.
>>
>> Now I really removed all my extensions from localsettings.php and
>> then
>
>> I get one error message on screen "Fatal error: Call to a member
>> function
>> getText() on a non-object in D:\Program Files\EasyPHP
>> 2.0b1\www\sunwiki\includes\SpecialSearch.php on line 335"
>>
>> The lines 334 and 335 are
>> $revision = Revision::newFromTitle( $t );
>> $text = $revision->getText();
>>
>> This is coming only for the problem words..all other things are
>> qorking fine
>>
>> Error log is not showing much:
>>
>> Fully initialised
>> Unstubbing $wgMessageCache on call of $wgMessageCache->getTransform
>> from wfMsgGetKey Unstubbing $wgContLang on call of
>> $wgContLang->getCode from MessageCache::get Unstubbing
>> $wgLoadBalancer
>
>> on call of $wgLoadBalancer->getConnection from wfGetDB
>> MessageCache::load(): got from global cache
>> Language::loadLocalisation(): got localisation for en from source
>> Unstubbing $wgParser on call of $wgParser->firstCallInit from
>> MessageCache::transform Unstubbing $wgUser on call of
>> $wgUser->isAllowed from Title::userCanRead Unstubbing $wgLang on call
>> of $wgLang->getCode from MessageCache::get
>> IP: 192.168.62.1
>> Would search with '+transaction'
>> Match with /\btransaction\b/
>> Would search with '+transaction'
>> Match with /\btransaction\b/
>>
>>
>> Regards,
>>
>> Jack
>> ----------------------------------------------------------------
>> "May He protect us both. May He cause us both to enjoy.May we exert
>> together. May our studies become brilliant. May we not hate each
>> other"
>>
>>
>> -----Original Message-----
>> From: mediawiki-l-bounces [at] lists
>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
>> Sent: Friday, June 13, 2008 9:51 PM
>> To: MediaWiki announcements and site admin list
>> Subject: Re: [Mediawiki-l] Strange problem with search
>>
>> This is very strange. The white screen of death should have left
>> something in the error log after the search for "transaction". This
>> log also shows that you still have searchsuggest extension on. At
>> this point, my inclination is to
>> 1) do the diagnosis with all the extensions off, since you say that
>> "transaction" is still crashing the wiki even with all of them off.
>> 2) put something in LocalSettings that would cause a runtime error
>> just to make sure the logging is working.
>> 3) test what happens if you put "transaction" as in the URL as if it
>> was a page title.
>> I might do these in reverse order, actually.
>>
>> Sorry I can't be more helpful...
>>
>> Jim
>>
>> On Jun 13, 2008, at 1:11 AM, Jack Eapen C wrote:
>>
>>>
>>> Hi,
>>>
>>> I stopped my apache cleared the error log and restarted. Then I
>>> directly called the search url with 'transaction' as keyword and got
>>> the blank screen. Then I called the url with 'transaction backout'
>>> as
>
>>> the keyword and got the search results. The error log contents is
>>> below:
>>>
>>> [Fri Jun 13 11:32:24 2008] [notice] Apache/2.2.3 (Win32) PHP/5.2.0
>>> configured -- resuming normal operations [Fri Jun 13 11:32:24 2008]
>>> [notice] Server built: Jul 27 2006 16:49:49 [Fri Jun 13 11:32:24
>>> 2008]
>>
>>> [notice] Parent: Created child process 4336 [Fri Jun 13 11:32:24
>>> 2008]
>>
>>> [notice] Child 4336: Child process is running [Fri Jun 13 11:32:24
>>> 2008] [notice] Child 4336: Acquired the start mutex.
>>> [Fri Jun 13 11:32:24 2008] [notice] Child 4336: Starting 250 worker
>>> threads.
>>> [Fri Jun 13 11:32:24 2008] [notice] Child 4336: Starting thread to
>>> listen on port 80.
>>> [Fri Jun 13 11:32:52 2008] [error] [client 192.168.62.1] File does
>>> not
>>> exist: D:/Program Files/EasyPHP
>>> 2.0b1/www/sunwiki/extensions/searchsuggest/style.css, referer:
>>> http://sbsws469/sunwiki/?search=transaction+backout&fulltext=Search
>>>
>>>
>>> I commented out all my extensions and tried, but in vain.
>>>
>>> As I said earlier, the search is not failing on all the words, but
>>> only on some words. That's making this problem worse.. :)
>>>
>>> Regards,
>>>
>>> Jack
>>> ----------------------------------------------------------------
>>> "May He protect us both. May He cause us both to enjoy.May we exert
>>> together. May our studies become brilliant. May we not hate each
>>> other"
>>>
>>>
>>> -----Original Message-----
>>> From: mediawiki-l-bounces [at] lists
>>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim Hu
>>> Sent: Thursday, June 12, 2008 9:15 PM
>>> To: MediaWiki announcements and site admin list
>>> Subject: Re: [Mediawiki-l] Strange problem with search
>>>
>>> Um... which logfile are you getting this from? I was wondering more
>>> about the httpd error log and expecting a php message like: FATAL
>>> ERROR: something or other on line X in something.php.
>>>
>>> Also, is the white screen of death dependent on any extensions? I
>>> recently found one with one of my extensions (PagesOnDemand/
>>> PMIDonDemand - I wrote the latter, so it's my fault!) where a
>>> failure
>
>>> condition didn't check to see whether creation of an article object
>>> had succeeded, followed by trying to call a method on a non-object.
>>> I'm wondering if either
>>> a) and extension is sensitive to the specific page names that cause
>>> the crash or
>>> b) database damage is leading to failure to create a page that MW
>>> thinks is there, but which doesn't have the right database entries.
>>> That usually doesn't give the white screen of death, though.
>>>
>>> Jim
>>>
>>> On Jun 11, 2008, at 4:18 AM, Jack Eapen C wrote:
>>>
>>>>
>>>>
>>>> I'm getting a "white screen of death". Here's the info from log
>>>> file:
>>>>
>>>> Main cache: FakeMemCachedClient
>>>> Message cache: MediaWikiBagOStuff
>>>> Parser cache: MediaWikiBagOStuff
>>>> Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
>>>> Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages
>>>> from efNewestPages Unstubbing $wgContLang on call of
>>>> $wgContLang->getMagic from MagicWord::load Unstubbing $wgLang on
>>>> call
>>
>>>> of $wgLang->getCode from smwfInitMessages Unstubbing $wgUser on
>>>> call
>
>>>> of $wgUser->getOption from StubUserLang::_newObject
>>>> Language::loadLocalisation(): got localisation for en from source
>>>> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer-
>>>> >getConnection
>
>>>> from wfGetDB
>>>> IP: 192.168.62.1
>>>> MessageCache::load(): got from global cache Unstubbing $wgOut on
>>>> call
>>
>>>> of $wgOut->addScript from TreeView4::addJS Fully initialised
>>>> Request
>
>>>> ended normally
>>>>
>>>>
>>>> Start request
>>>> GET /sunwiki/?search=transaction&fulltext=Search
>>>> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
>>>> application/x-shockwave-flash, */*
>>>> Referer: http://sbsws469/sunwiki/?title=Main_Page
>>>> Accept-Language: en-us
>>>> Accept-Encoding: gzip, deflate
>>>> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
>>>> .NET CLR 1.1.4322)
>>>> Host: sbsws469
>>>> Connection: Keep-Alive
>>>>
>>>>
>>>> Main cache: FakeMemCachedClient
>>>> Message cache: MediaWikiBagOStuff
>>>> Parser cache: MediaWikiBagOStuff
>>>> Unstubbing $wgParser on call of $wgParser->setHook from wfFlashMP3
>>>> Unstubbing $wgMessageCache on call of $wgMessageCache->addMessages
>>>> from efNewestPages Unstubbing $wgContLang on call of
>>>> $wgContLang->getMagic from MagicWord::load Unstubbing $wgLang on
>>>> call
>>
>>>> of $wgLang->getCode from smwfInitMessages Unstubbing $wgUser on
>>>> call
>
>>>> of $wgUser->getOption from StubUserLang::_newObject
>>>> Language::loadLocalisation(): got localisation for en from source
>>>> Unstubbing $wgLoadBalancer on call of $wgLoadBalancer-
>>>> >getConnection
>
>>>> from wfGetDB
>>>> IP: 192.168.62.1
>>>> MessageCache::load(): got from global cache Unstubbing $wgOut on
>>>> call
>>
>>>> of $wgOut->addScript from TreeView4::addJS Fully initialised Would
>>>> search with '+transaction'
>>>> Match with /\btransaction\b/
>>>> Would search with '+transaction'
>>>> Match with /\btransaction\b/
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Jack
>>>> ----------------------------------------------------------------
>>>> "May He protect us both. May He cause us both to enjoy.May we exert
>>>> together. May our studies become brilliant. May we not hate each
>>>> other"
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: mediawiki-l-bounces [at] lists
>>>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Jim
>>>> Hu
>>>> Sent: Wednesday, June 11, 2008 5:01 AM
>>>> To: MediaWiki announcements and site admin list
>>>> Subject: Re: [Mediawiki-l] Strange problem with search
>>>>
>>>> Anything in the error logs when you get the blank page? And by
>>>> blank to you mean white screen of death or blank wiki skin with no
>>>> content?
>>>>
>>>> Jim
>>>>
>>>> On Jun 9, 2008, at 2:07 AM, Jack Eapen C wrote:
>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> Mod_security is not enabled in my server -i.e I checked the
>>>>> httpd.conf
>>>>
>>>>> file and the apache modules folder. Reference to the particulat
>>>>> module
>>>>
>>>>> is not in the conf file and the mod-security.so file is not in the
>>>>> folder. Any other hints, plz?
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>> Jack
>>>>> ----------------------------------------------------------------
>>>>> "May He protect us both. May He cause us both to enjoy.May we
>>>>> exert
>
>>>>> together. May our studies become brilliant. May we not hate each
>>>>> other"
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: mediawiki-l-bounces [at] lists
>>>>> [mailto:mediawiki-l-bounces [at] lists] On Behalf Of
>>>>> Brion
>
>>>>> Vibber
>>>>> Sent: Friday, June 06, 2008 12:27 AM
>>>>> To: MediaWiki announcements and site admin list
>>>>> Subject: Re: [Mediawiki-l] Strange problem with search
>>>>>
>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>> Hash: SHA1
>>>>>
>>>>> Jack Eapen C wrote:
>>>>>> When I search with SOME keywords, my production wiki returns a
>>>>>> "blank"
>>>>>> page. If I use the same words on the test wiki, no probs-results
>>>>>> are returned (content in both wikis are same). Some of the
>>>>>> problematic words are "transaction" (transaction backout has no
>>>>>> problem), function, cards (plastic cards is fine), account etc.
>>>>>
>>>>> Sounds like one of those "security" plugins for your web server,
>>>>> perhaps mod_security.
>>>>>
>>>>> It's set in an overprotective mode that freaks out and denies
>>>>> access when it sees bits of text coming through the form
>>>>> submission
>
>>>>> that it thinks are indicative of an SQL or code injection attack.
>>>>>
>>>>> Contact your system administrator and let them know they've
>>>>> misconfigured the software and should back it out to more
>>>>> reasonable settings.
>>>>>
>>>>> - -- brion vibber (brion @ wikimedia.org) -----BEGIN PGP
>>>>> SIGNATURE-----
>>>>> Version: GnuPG v1.4.8 (Darwin)
>>>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>>>>
>>>>> iEYEARECAAYFAkhINxkACgkQwRnhpk1wk47kngCgvrQx86kyR1mt71unPhvz+piA
>>>>> oKkAnR3rnrecJq3COq8NvVtkA0KIQM0Y
>>>>> =AoIU
>>>>> -----END PGP SIGNATURE-----
>>>>>
>>>>> _______________________________________________
>>>>> MediaWiki-l mailing list
>>>>> MediaWiki-l [at] lists
>>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>>>
>>>>>
>>>>> This electronic mail (including any attachment thereto) may be
>>>>> confidential and privileged and is intended only for the
>>>>> individual
>
>>>>> or
>>>>
>>>>> entity named above. Any unauthorized use, printing, copying,
>>>>> disclosure or dissemination of this communication may be subject
>>>>> to
>
>>>>> legal restriction or sanction. Accordingly, if you are not the
>>>>> intended recipient, please notify the sender by replying to this
>>>>> email
>>>>
>>>>> immediately and delete this email (and any attachment thereto)
>>>>> from
>
>>>>> your computer system...Thank You
>>>>>
>>>>> _______________________________________________
>>>>> MediaWiki-l mailing list
>>>>> MediaWiki-l [at] lists
>>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>>
>>>> =====================================
>>>> Jim Hu
>>>> Associate Professor
>>>> Dept. of Biochemistry and Biophysics
>>>> 2128 TAMU
>>>> Texas A&M Univ.
>>>> College Station, TX 77843-2128
>>>> 979-862-4054
>>>>
>>>>
>>>> _______________________________________________
>>>> MediaWiki-l mailing list
>>>> MediaWiki-l [at] lists
>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>>
>>>>
>>>> This electronic mail (including any attachment thereto) may be
>>>> confidential and privileged and is intended only for the individual
>>>> or entity named above. Any unauthorized use, printing, copying,
>>>> disclosure or dissemination of this communication may be subject to
>>>> legal restriction or sanction. Accordingly, if you are not the
>>>> intended recipient, please notify the sender by replying to this
>>>> email immediately and delete this email (and any attachment
>>>> thereto)
>
>>>> from your computer system...Thank You
>>>>
>>>> _______________________________________________
>>>> MediaWiki-l mailing list
>>>> MediaWiki-l [at] lists
>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>
>>> =====================================
>>> Jim Hu
>>> Associate Professor
>>> Dept. of Biochemistry and Biophysics
>>> 2128 TAMU
>>> Texas A&M Univ.
>>> College Station, TX 77843-2128
>>> 979-862-4054
>>>
>>>
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l [at] lists
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>>
>>>
>>> This electronic mail (including any attachment thereto) may be
>>> confidential and privileged and is intended only for the individual
>>> or entity named above. Any unauthorized use, printing, copying,
>>> disclosure or dissemination of this communication may be subject to
>>> legal restriction or sanction. Accordingly, if you are not the
>>> intended recipient, please notify the sender by replying to this
>>> email immediately and delete this email (and any attachment thereto)
>>> from your computer system...Thank You
>>>
>>> _______________________________________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l [at] lists
>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>> =====================================
>> Jim Hu
>> Associate Professor
>> Dept. of Biochemistry and Biophysics
>> 2128 TAMU
>> Texas A&M Univ.
>> College Station, TX 77843-2128
>> 979-862-4054
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
>>
>> This electronic mail (including any attachment thereto) may be
>> confidential and privileged and is intended only for the individual
>> or
>
>> entity named above. Any unauthorized use, printing, copying,
>> disclosure or dissemination of this communication may be subject to
>> legal restriction or sanction. Accordingly, if you are not the
>> intended recipient, please notify the sender by replying to this
>> email
>
>> immediately and delete this email (and any attachment thereto) from
>> your computer system...Thank You
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l [at] lists
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
> =====================================
> Jim Hu
> Associate Professor
> Dept. of Biochemistry and Biophysics
> 2128 TAMU
> Texas A&M Univ.
> College Station, TX 77843-2128
> 979-862-4054
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> This electronic mail (including any attachment thereto) may be
> confidential and privileged and is intended only for the individual
> or entity named above. Any unauthorized use, printing, copying,
> disclosure or dissemination of this communication may be subject to
> legal restriction or sanction. Accordingly, if you are not the
> intended recipient, please notify the sender by replying to this
> email immediately and delete this email (and any attachment thereto)
> from your computer system...Thank You
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054


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

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.