Mozy Online Backup: 2GB Free. Automatic. Secure.
Subject: Broken page?! - msg#00410
List: org.wikimedia.mediawiki
Hallo,
it seems that one of the pages in my wiki (unfortunately the main
page) is broken. All other pages are getting delivered but when I try
to call my main page the connection breaks.
I was editing this page, when the server crashed.
Is it possible to reconstruct this page or the database in general.
Any hints where I can get more information how to do it?
TIA
Harald
--
Harald Lux lux-sajPHH6JGKA@xxxxxxxxxxxxxxxx
Sandkaule 5-7 Tel.: +49 228 692325
D-53111 Bonn
http://www.lux.de/
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Why string value different?
When I use a wiki extension to pass "Grätz" to this function:
function convertSpecialCharsForSearchStr( $input )
{
$output = $input;
$output = ereg_replace("ä","%", $output);
}
The special character doesn't match anything in a reg ex, or a comparison
operation (eg "if $input == "Grätz" fails the comparison, even though
$input contains the string "Grätz").
I get this:
'Grätz' , instead of this:'Gr%tz'
However, if I assign the $input variable the same value as a literal (as a
debug test), or do the "artificial manipulation" described below, it works,
replacing the " ä " successfully.
I've had to do this artificial manipulation to get it to work:
if (ereg("Gr.+tz", $input))
{
$theKreis = 'Grätz';
} else {
$theKreis = $input;
}
I have the same problem when using the value passed from the wiki extension
in an SQL query. I have to use the above manipulation, or else the "WHERE"
phrase that uses the value won't work properly.
If I display the un-manipulated value (as a debug), it displays correctly.
Why can't I use the value as passed from the wiki expression? Is there a
simpler way to fix this, some sort of conversion function? For the data
that I'm working with for the next several months, there is only one Kreis
that uses special characters, but that could change later.
James Birkholz
admin, Posen-L mailing list and website
http://www.Posen-L.com
Next Message by Date:
click to view message preview
Re: Broken page?!
On Sunday 30 January 2005 16:48, Harald Lux wrote:
> it seems that one of the pages in my wiki (unfortunately the main
> page) is broken. All other pages are getting delivered but when I try
Use phpmyadmin to browse the database and see whether there is any problem
there.
--
NSK
http://portal.wikinerds.org/freehosting
Previous Message by Thread:
click to view message preview
Save Errors Agin - Programming Code Text
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator,
webmaster-Wncyi1Y0pgd61AglQ59jqA@xxxxxxxxxxxxxxxx and
inform them of the time the error occurred, and anything you might have done
that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an
ErrorDocument to handle the request.
REM ----------------------------
FUNCTION GTK(st)
LOCAL tmp Adding this line causes the above error
I also got the same error trying to put something after CHMOD on another
page. Does MediaWiki have a problem with programming code as text?
John
Next Message by Thread:
click to view message preview
Re: Broken page?!
On Sunday 30 January 2005 16:48, Harald Lux wrote:
> it seems that one of the pages in my wiki (unfortunately the main
> page) is broken. All other pages are getting delivered but when I try
Use phpmyadmin to browse the database and see whether there is any problem
there.
--
NSK
http://portal.wikinerds.org/freehosting