[Mediawiki-l] Several error url related
Giuseppe Briotti
g.briotti at mclink.it
Sun Oct 19 15:44:23 UTC 2008
Hi all...
I've a mediawiki web site running mediawiki vers. 1.10.4
I'm interesting in upgrade to 1.13.2, thus, I create a local
site using xampplite with MW 1.13.2, PHP 5.2.5 and MySQL 5.0.51.
The database was exported via phpMyAdmin 2.8.1 (no console
access on web server) as SQL file and then reimported in local
MySQL by console source command (the file is too large to work
by phpMyAdmin).
(Unfortunately, I cannot create a local site similar to the
production one, that is running MW 1.10.4, PHP 5.0.4 and MySQL
4.1.23)
Anyway, all installed and it seems it goes fine, except for two
errors on two pages. It seems that two errors are in someway
related to url structure, but not sure...
1st error
===========================================================
Error reported by the browser
-----------------------------
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 29067 bytes) in
E:\xampplite\htdocs\wiki\includes\parser\Parser.php on line 1791
Parser.php line nr. 1791
------------------------
$s .= $this->makeLinkHolder( $nt, $text, '', $trail, $prefix );
URL requested
-------------
http://localhost/wiki/index.php?title=Kit:Elementi_Avanzati/Le_Capacit%C3%A0
URL for edit works!
-------------------
http://localhost/wiki/index.php?title=Kit:Elementi_Avanzati/Le_Capacit%C3%A0&action=edit
Apache log
----------
[Sun Oct 19 16:41:12 2008] [error] [client 127.0.0.1] (20024)The given path misformatted or contained
invalid characters: Cannot map GET /wiki/index.php/Kit:Elementi_Avanzati/Le_Capacit%C3%A0 HTTP/1.1 to
file, referer: http://localhost/wiki/index.php/Kit:Elementi_Avanzati
(note: no error if url for edit is requested! - quite strange, no question mark after index.php but
a simple slash instead...but I don't know if it is normal...)
2nd error
===========================================================
Error reported by the browser
-----------------------------
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 122447 bytes) in
E:\xampplite\htdocs\wiki\includes\StringUtils.php on line 307
StringUtils.php line nr. 307
------------------------
297: function replace( $subject ) {
298: if ( function_exists( 'fss_prep_replace' ) ) {
299: wfProfileIn( __METHOD__.'-fss' );
300: if ( $this->fss === false ) {
301: $this->fss = fss_prep_replace( $this->data );
302: }
303: $result = fss_exec_replace( $this->fss, $subject );
304: wfProfileOut( __METHOD__.'-fss' );
305: } else {
306: wfProfileIn( __METHOD__.'-strtr' );
307: $result = strtr( $subject, $this->data );
308: wfProfileOut( __METHOD__.'-strtr' );
309: }
310: return $result;
311: }
URL requested
-------------
http://localhost/wiki/index.php?title=Kit:Elementi_Avanzati/Esempi_di_Mestiere
URL for edit works!
-------------------
http://localhost/wiki/index.php?title=Kit:Elementi_Avanzati/Esempi_di_Mestiere&action=edit
Apache log
----------
[Sun Oct 19 17:04:22 2008] [error] [client 127.0.0.1] (20024)The given path misformatted or contained
invalid characters: Cannot map GET /wiki/index.php/Kit:Elementi_Avanzati/Esempi_di_Mestiere HTTP/1.1 to
file, referer: http://localhost/wiki/index.php/Kit:Elementi_Avanzati
(note: as for 1st error no error if url for edit is requested! - quite strange, no question mark
after index.php but a simple slash instead...but I don't know if it is normal...)
===================================================
any hint?
TIA
G.
--
Giuseppe Briotti
g.briotti at mclink.it
"Alme Sol, curru nitido diem qui
promis et celas aliusque et idem
nasceris, possis nihil urbe Roma
visere maius."
(Orazio)
More information about the MediaWiki-l
mailing list