Hey, all,
Am trying to get the FileLink extension to work with no success. I also installed FCKeditor earlier today; do they play nicely together?
Anyway, here's what I have in LocalSettings.php as far as customizations-thanks in advance for help/advice (oh, I'm open to comments about other things we've customized, too):
# Changes made to LocalSettings.php:
# Added several file formats to upload array, April 23 2009
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx' );
# Require users to log in before editing and viewing, April 23 2009
$wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['read'] = false;
# Link to Auraria Library logo and favicon, April 27 2009
$wgLogo = '/wiki/images/0/09/Intranetlogo.png'; #$wgFavicon = '/images/0/09/Intranetlogo.png';
# Added single sign on with Josh Gimer, method at http://www.mollerus.net/tom/blog/2008/09/single_signon_to_mediawiki_113_usin..., May 19 2009
require_once('includes/Auth_remoteuser.php'); $wgAuth = new Auth_remoteuser();
# Added FCK editor per instructions from Dave Hodgins, UCCS, July 2 2009
include("extensions/FCKeditor/FCKeditor.php");
# Added FileLink Extension, http://assela.pathirana.net, July 2 2009-not working...
$wgFilelinkExtensionPath = "extensions/FileLinkExtension"; include("$IP/$wgFilelinkExtensionPath/FileLinkExtension.php");
$wgUrlProtocols[] = "file:";
$wgUrlProtocols = array( 'http://', 'https://', 'file://', 'mailto:', );
array_push( $wgUrlProtocols, "file://" );
# End customizations to LocalSettings.php
Nina McHale, MA/MSLS Assistant Professor, Web Librarian Auraria Library http://library.auraria.edu/~nmchale/ Facebookhttp://www.facebook.com/profile.php?id=672599042 Twitter: ninermac Serving the University of Colorado Denver, Metropolitan State College of Denver, and the Community College of Denver 1100 Lawrence Street Denver, CO 80204 303-556-4729
I'm importing eswiki-pages-articles.xml with importdump.php scritp i trying many times and allways recive this error somes times refering to other include but always when reached the line 52600 (1.87 pages/sec 1.87 revs/sec) on progres.log line error: 52600 (1.87 pages/sec 1.87 revs/sec) Fatal error: Out of memory (allocated 870580224) (tried to allocate 182173 bytes) in /home/www/wikipedia-es/includes/db/Database.php on line 564
i readed http://www.mediawiki.org/wiki/Manual:Errors_and_Symptoms#Fatal_error:_Allowe... and many other pages in /etc/php5/apache2/php.ini : memory_limit = 256M
in LocalSetting.php: ini_set( 'memory_limit', '256M' );
php version : #php5 -v PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 26 2009 22:16:23) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies with XCache v1.2.2, Copyright (c) 2005-2007, by mOo`
i have make a test with: <?php $i = 0; $a = array(); while( $i++ < 100000 ) { $a[] = 'a'; } echo memory_get_usage(); ?>
# php5 -f phptest.php 13374632
I increase fisical memory to 3 GB, but the problem continue when i runn importDump.php
On 7/2/09, Enrique enrique@banmet.cu wrote:
I'm importing eswiki-pages-articles.xml with importdump.php scritp i trying many times and allways recive this error somes times refering to other include but always when reached the line 52600 (1.87 pages/sec 1.87 revs/sec) on progres.log line error: 52600 (1.87 pages/sec 1.87 revs/sec) Fatal error: Out of memory (allocated 870580224) (tried to allocate 182173 bytes) in /home/www/wikipedia-es/includes/db/Database.php on line 564
i readed http://www.mediawiki.org/wiki/Manual:Errors_and_Symptoms#Fatal_error:_Allowe... and many other pages in /etc/php5/apache2/php.ini : memory_limit = 256M
in LocalSetting.php: ini_set( 'memory_limit', '256M' );
The CLI uses its own memory limit. Set it in /etc/php5/cli/php.ini.
Yes, i make a simbolik link /etc/php5/cli/php.ini --> /etc/php5/apache2/php.ini ----- Original Message ----- From: "Benjamin Lees" emufarmers@gmail.com To: "MediaWiki announcements and site admin list" mediawiki-l@lists.wikimedia.org Sent: Thursday, July 02, 2009 6:31 PM Subject: Re: [Mediawiki-l] Fatal error: Out of memory
On 7/2/09, Enrique enrique@banmet.cu wrote:
I'm importing eswiki-pages-articles.xml with importdump.php scritp i trying many times and allways recive this error somes times refering to other include but always when reached the line 52600 (1.87 pages/sec 1.87 revs/sec) on progres.log line error: 52600 (1.87 pages/sec 1.87 revs/sec) Fatal error: Out of memory (allocated 870580224) (tried to allocate 182173 bytes) in /home/www/wikipedia-es/includes/db/Database.php on line 564
i readed http://www.mediawiki.org/wiki/Manual:Errors_and_Symptoms#Fatal_error:_Allowe... and many other pages in /etc/php5/apache2/php.ini : memory_limit = 256M
in LocalSetting.php: ini_set( 'memory_limit', '256M' );
The CLI uses its own memory limit. Set it in /etc/php5/cli/php.ini.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org