The wiki is on a shared host, php.ini has "date.timezone = "Europe/London"" and "memory_limit = 195M". All pages in the wiki , including talk pages, redirects, etc. is 593. MediaWiki is version 1.23.6 and PHP 5.3.28.
Doing "php maintenance/refreshLinks.php --e 50", is okay but with "maintenance/refreshLinks.php -- 50 --e 51": Refreshing redirects table. Starting from page_id 50 of 1220. 100 200 300 400 500 600 700 800 900 1000 1100 1200 Refreshing links tables. Starting from page_id 50 of 1220. Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 11216 bytes) in ... includes/parser/Parser.php on line 2163
In the error log is "America/New_York] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 11216 bytes) in ... includes/parser/Parser.php on line 2163" The end varies as I've tried different things, e.g.: Parser.php on line 409 Preprocessor_DOM.php on line 244 SqlBagOStuff.php on line 596
When I try to view the wiki page by appending /w/index.php?curid=50 or 51 I get "Bad title: The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title. It may contain one or more characters that cannot be used in titles."
How do I get refreshLinks.php to work as it should? Also less importantly is there a way for it to echo the page IDs at which it fails?
Rob
Increase your php's memory limit
On Tuesday, November 11, 2014, Rob Kam robkam@ymail.com wrote:
The wiki is on a shared host, php.ini has "date.timezone = "Europe/London"" and "memory_limit = 195M". All pages in the wiki , including talk pages, redirects, etc. is 593. MediaWiki is version 1.23.6 and PHP 5.3.28.
Doing "php maintenance/refreshLinks.php --e 50", is okay but with "maintenance/refreshLinks.php -- 50 --e 51": Refreshing redirects table. Starting from page_id 50 of 1220. 100 200 300 400 500 600 700 800 900 1000 1100 1200 Refreshing links tables. Starting from page_id 50 of 1220. Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 11216 bytes) in ... includes/parser/Parser.php on line 2163
In the error log is "America/New_York] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 11216 bytes) in ... includes/parser/Parser.php on line 2163" The end varies as I've tried different things, e.g.: Parser.php on line 409 Preprocessor_DOM.php on line 244 SqlBagOStuff.php on line 596
When I try to view the wiki page by appending /w/index.php?curid=50 or 51 I get "Bad title: The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title. It may contain one or more characters that cannot be used in titles."
How do I get refreshLinks.php to work as it should? Also less importantly is there a way for it to echo the page IDs at which it fails?
Rob
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
and "memory_limit = 195M"
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of John Sent: 11 November 2014 17:15 To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] America/New_York] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted
Increase your php's memory limit
On Tuesday, November 11, 2014, Rob Kam robkam@ymail.com wrote:
The wiki is on a shared host, php.ini has "date.timezone =
"Europe/London""
and "memory_limit = 195M". All pages in the wiki , including talk pages, redirects, etc. is 593. MediaWiki is version 1.23.6 and PHP 5.3.28.
Doing "php maintenance/refreshLinks.php --e 50", is okay but with "maintenance/refreshLinks.php -- 50 --e 51": Refreshing redirects table. Starting from page_id 50 of 1220. 100 200 300 400 500 600 700 800 900 1000 1100 1200 Refreshing links tables. Starting from page_id 50 of 1220. Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 11216 bytes) in ... includes/parser/Parser.php on line 2163
In the error log is "America/New_York] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 11216 bytes) in ... includes/parser/Parser.php on line 2163" The end varies as I've tried different things, e.g.: Parser.php on line 409 Preprocessor_DOM.php on line 244 SqlBagOStuff.php on line 596
When I try to view the wiki page by appending /w/index.php?curid=50 or 51 I get "Bad title: The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title. It may contain one or more characters that cannot be used in titles."
How do I get refreshLinks.php to work as it should? Also less importantly is there a way for it to echo the page IDs at which it fails?
Rob
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
To elaborate, if you are receiving that error, PHP thinks your memory limit is 40MB. Your host might have a separate php.ini file for the PHP CLI (as opposed to when it's run through the web server).
On Wed, Nov 12, 2014 at 8:44 AM, Rob Kam robkam@ymail.com wrote:
and "memory_limit = 195M"
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of John Sent: 11 November 2014 17:15 To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] America/New_York] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted
Increase your php's memory limit
On Tuesday, November 11, 2014, Rob Kam robkam@ymail.com wrote:
The wiki is on a shared host, php.ini has "date.timezone =
"Europe/London""
and "memory_limit = 195M". All pages in the wiki , including talk pages, redirects, etc. is 593. MediaWiki is version 1.23.6 and PHP 5.3.28.
Doing "php maintenance/refreshLinks.php --e 50", is okay but with "maintenance/refreshLinks.php -- 50 --e 51": Refreshing redirects table. Starting from page_id 50 of 1220. 100 200 300 400 500 600 700 800 900 1000 1100 1200 Refreshing links tables. Starting from page_id 50 of 1220. Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 11216 bytes) in ... includes/parser/Parser.php on line 2163
In the error log is "America/New_York] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 11216 bytes) in ... includes/parser/Parser.php on line 2163" The end varies as I've tried different things, e.g.: Parser.php on line 409 Preprocessor_DOM.php on line 244 SqlBagOStuff.php on line 596
When I try to view the wiki page by appending /w/index.php?curid=50 or 51 I get "Bad title: The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title. It may contain one or more characters that cannot be used in titles."
How do I get refreshLinks.php to work as it should? Also less importantly is there a way for it to echo the page IDs at which it fails?
Rob
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Yes it works fine through a web page, using Extension:MaintenanceShell: Refreshing redirects table. Starting from page_id 1 of 1220. 100 200 300 400 500 600 700 800 900 1000 1100 1200 Refreshing links tables. Starting from page_id 1 of 1220. 100 200 300 400 500 600 700 800 900 1000 1100 1200 Retrieving illegal entries from pagelinks... 0..0 Retrieving illegal entries from imagelinks... 0..0 Retrieving illegal entries from categorylinks... 0..0 Retrieving illegal entries from templatelinks... 0..0 Retrieving illegal entries from externallinks... 0..0 Retrieving illegal entries from iwlinks... 0..0 Retrieving illegal entries from langlinks... 0..0 Retrieving illegal entries from redirect... 0..0 Retrieving illegal entries from page_props... 0..0
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Benjamin Lees Sent: 12 November 2014 14:08 To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] America/New_York] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted
To elaborate, if you are receiving that error, PHP thinks your memory limit is 40MB. Your host might have a separate php.ini file for the PHP CLI (as opposed to when it's run through the web server).
On Wed, Nov 12, 2014 at 8:44 AM, Rob Kam robkam@ymail.com wrote:
and "memory_limit = 195M"
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of John Sent: 11 November 2014 17:15 To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] America/New_York] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted
Increase your php's memory limit
On Tuesday, November 11, 2014, Rob Kam robkam@ymail.com wrote:
The wiki is on a shared host, php.ini has "date.timezone =
"Europe/London""
and "memory_limit = 195M". All pages in the wiki , including talk pages, redirects, etc. is 593. MediaWiki is version 1.23.6 and PHP
5.3.28.
Doing "php maintenance/refreshLinks.php --e 50", is okay but with "maintenance/refreshLinks.php -- 50 --e 51": Refreshing redirects table. Starting from page_id 50 of 1220. 100 200 300 400 500 600 700 800 900 1000 1100 1200 Refreshing links tables. Starting from page_id 50 of 1220. Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 11216 bytes) in ... includes/parser/Parser.php on line 2163
In the error log is "America/New_York] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 11216 bytes) in ... includes/parser/Parser.php on line 2163" The end varies as I've tried different things, e.g.: Parser.php on line 409 Preprocessor_DOM.php on line 244 SqlBagOStuff.php on line 596
When I try to view the wiki page by appending /w/index.php?curid=50 or 51 I get "Bad title: The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title. It may contain one or more characters that cannot be used in titles."
How do I get refreshLinks.php to work as it should? Also less importantly is there a way for it to echo the page IDs at which it fails?
Rob
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 12 November 2014 19:14, Rob Kam robkam@ymail.com wrote:
Yes it works fine through a web page, using Extension:MaintenanceShell:
Yeah, that sounds like a different php.ini for Apache and for command-line. I've been bitten by this on Ubuntu, where Apache's is /etc/php5/apache2/php.ini and command-line is /etc/php5/cli/php.ini - and there's additional separate config for cgi and fpm.
So, make sure you've upped memory in all you have available!
- d.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of David Gerard Sent: 12 November 2014 19:32 To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] America/New_York] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted
Yeah, that sounds like a different php.ini for Apache and for command-line. I've been bitten by this on Ubuntu, where Apache's is /etc/php5/apache2/php.ini and command-line is /etc/php5/cli/php.ini - and there's additional separate config for cgi and fpm.
<snip>
Thanks, this is useful.
Rob
mediawiki-l@lists.wikimedia.org