Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

3537 Posts in 675 Topics- by 443 Members - Latest Member: ludus529
Pages: [1]
Print
Author Topic: PSO Wiki Internal Error  (Read 495 times)
0 Members and 1 Guest are viewing this topic.
ranlomoday
Jr. Member
**
Posts: 45


PSO Wiki Admin


View Profile WWW
« on: February 07, 2012, 05:50:49 »

This error only seems to present itself at the main page of the wiki, while every other page functions perfectly. I'm not sure what to do exactly, as google yields no specific solution.

<removed detailed error message>
« Last Edit: February 07, 2012, 10:45:13 by Wikkii » Logged
Wikkii
Administrator
*****
Gender: Male
Posts: 551



View Profile WWW
« Reply #1 on: February 07, 2012, 11:07:52 »

You shouldn't have the detailed error debug message open for anyone to view, as your database details are sometimes revealed publicly.

I have commented out this line in your LocalSettings.php and your wiki is now working.

Code:
#$wgShowExceptionDetails = true;

Your database logins details were also changed as a precaution.
Logged
ranlomoday
Jr. Member
**
Posts: 45


PSO Wiki Admin


View Profile WWW
« Reply #2 on: February 07, 2012, 14:06:30 »

Ah thank you.

The main page works now for logged in users, but if I log out I get this error:
Code:
Warning: mysql_real_escape_string() expects parameter 2 to be resource, boolean given in /home/psowikki/public_html/includes/db/DatabaseMysql.php on line 316

Warning: mysql_real_escape_string() expects parameter 2 to be resource, boolean given in /home/psowikki/public_html/includes/db/DatabaseMysql.php on line 316

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/psowikki/public_html/includes/db/DatabaseMysql.php on line 23
MediaWiki internal error.

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.
Logged
Wikkii
Administrator
*****
Gender: Male
Posts: 551



View Profile WWW
« Reply #3 on: February 07, 2012, 16:08:52 »

What changes were you making to your wiki before the error occurs?
Logged
ranlomoday
Jr. Member
**
Posts: 45


PSO Wiki Admin


View Profile WWW
« Reply #4 on: February 08, 2012, 03:09:09 »

If you mean from the server side of things, no changes have been made, but there has been a lot of page editing and template making.

Ah, but it's fixed now. Thank you very much. The site went down the same time all the wikkii.net wikis went down, but after the sites recovered, mine was still down and giving that first error in the opening post.
« Last Edit: February 08, 2012, 03:11:00 by ranlomoday » Logged
Wikkii
Administrator
*****
Gender: Male
Posts: 551



View Profile WWW
« Reply #5 on: February 08, 2012, 16:45:36 »

Okay thanks for the clarification. I think it might have something to do with the caching, it might have cached the error message when it went down.

If it happens again, try making an edit to your LocalSettings.php and saving it. That seemed to work for me when I was looking into it.
Logged
Pages: [1]
Print
Wikkii Suport ForumSupport CategoryTechnical SupportTopic: PSO Wiki Internal Error
Jump to: