Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
custom LocalSettings.php for mediawiki bieng ignored?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1616
Location: USA

PostPosted: Thu Feb 15, 2007 6:33 pm    Post subject: custom LocalSettings.php for mediawiki bieng ignored? Reply with quote

I have the latest mediawiki, and for some reason, whenever i edit a settings in LocalSettings.php myself, the change gets ignored, I know it is reading it because if i get the syntax wrong i get a big warning, but besides that nothign changes to the logo appears default no-matter what, my user restrictions don't allow any change, and theres an error that says i should set

$wgShowError = true;

I'n order to see what error it was, but it never seems to notice i have it set.

:?
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Thu Feb 15, 2007 6:43 pm    Post subject: Reply with quote

have you tried setting
Code:
error_reporting  =  E_ALL
in php.ini to reveal anything?
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1616
Location: USA

PostPosted: Tue Feb 20, 2007 3:43 am    Post subject: Reply with quote

hmm, i moved it down to the end of the file and now it registers, the error is

Quote:

Utf8Case.ser is missing, please run "make" in the serialized directory

Backtrace:

#0 /var/www/fuag.com/htdocs/mediawiki/languages/Language.php(972): Language::getCaseMaps()
#1 /var/www/fuag.com/htdocs/mediawiki/includes/SearchUpdate.php(51): Language->stripForSearch('This will be an...')
#2 /var/www/fuag.com/htdocs/mediawiki/includes/Wiki.php(295): SearchUpdate->doUpdate()
#3 /var/www/fuag.com/htdocs/mediawiki/includes/Wiki.php(277): MediaWiki->doUpdates(Array)
#4 /var/www/fuag.com/htdocs/mediawiki/index.php(49): MediaWiki->finalCleanup(Array, Object(LoadBalancer), Object(OutputPage))
#5 {main}


:?
Back to top
View user's profile Send private message
ter_roshak
Apprentice
Apprentice


Joined: 31 Jan 2004
Posts: 171
Location: Everett, WA

PostPosted: Mon Mar 05, 2007 12:15 am    Post subject: Reply with quote

Hi,

I was able to resolve this issue through the following steps:

1. Download new mediawiki from: http://download.wikimedia.org/mediawiki/1.9/mediawiki-1.9.3.tar.gz

Code:
 curl -C - -O 'http://download.wikimedia.org/mediawiki/1.9/mediawiki-1.9.3.tar.gz'


2. Un-tar in /tmp and copy the serialized directory from the downloaded version to my local copy:

Code:
tar xzf mediawiki-1.9.3.tar.gz


Code:
cp -a serialized/ /usr/share/webapps/mediawiki/1.9.2/htdocs/


3. Run make in the new directory

Code:
 make


4. Change permissions on the new directory to match the rest of my stuff in htdocs:

Code:
 chown -R root:web_devs serialized/


5. Restart apache and it should now work!
_________________
Josh Miller -- RHCE, VCP
Ditree Consulting
http://ditree.com/
Registered Linux User #318200
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum