[MediaWiki-l] sessions in memcached and logins

2015-11-03 Thread Tim Dunphy
Hey guys, I notice that there's no way to log into my wiki if I have these lines set in my LocalSettings.php file: $wgSessionCacheType = CACHE_MEMCACHED; $wgSessionsInMemcached = true; If I comment them out, all is well with logins again. But is there any trick I should know to getting mediawik

[MediaWiki-l] storing sessions in memcached

2015-10-03 Thread Tim Dunphy
Hey guys, I've been getting a lot of session errors in my wiki lately. Just now I got this message when I tried to save an edit to my wiki: *Sorry! We could not process your edit due to a loss of session data.* Please try again. If it still does not work, try logging out

Re: [MediaWiki-l] verify sessions stored in memcached

2015-10-03 Thread Tim Dunphy
hat is the "golden" question. > The wasted is normal. > Look to the MB used, and if it goes to your limit, increase the memory. > I make 128MB min. on my servers. > > > On 04.10.2015 00:39, Tim Dunphy wrote: > >> you just see the config of memcached. >>> To

Re: [MediaWiki-l] verify sessions stored in memcached

2015-10-03 Thread Tim Dunphy
u need admin tools, I use "phpMemcachedAdmin" for this. > But with these tools you just see the detail status and config of > memcached, > the hitrates and the Slab details. > > If you know the size of the session data, you can look into the > slab details and see th

[MediaWiki-l] verify sessions stored in memcached

2015-10-03 Thread Tim Dunphy
Hey guys, Using the stats command to the memcached telnet interface, what am I looking for in the outuput to verify that sessions are indeed being stored in memcached? Here's what I see in the output of that command: Connected to localhost. Escape character is '^]'. stats STAT pid 15660 STAT upt

Re: [MediaWiki-l] can't login to wiki

2015-09-29 Thread Tim Dunphy
eing stored at /var/lib/php/session/sess-* At any rate, glad that worked! I'm able to log in now. Thanks, Tim On Tue, Sep 29, 2015 at 5:28 AM, Bill Traynor wrote: > On Tue, Sep 29, 2015 at 12:20 AM, Tim Dunphy wrote: > > Wiki uses cookies to log in users. You have cookies disabled

[MediaWiki-l] can't login to wiki

2015-09-28 Thread Tim Dunphy
Hey guys, I have a new problem on my mediawiki. I'm using mediawiki-1.25.2 (the most curent). And when I go to log in I get this message: *Login error* Jokefire Wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again. Even tho cookies are enabeld in the b

Re: [MediaWiki-l] confirmation email error

2015-09-21 Thread Tim Dunphy
_settings#Debug.2Flogging > > On Mon, Sep 21, 2015 at 4:26 PM, Tim Dunphy wrote: > > > Guys, > > > > I went to click 'confirm email' under my user preferences in mediawiki. > > And when I did I got this error from the interface: > > > >

[MediaWiki-l] confirmation email error

2015-09-21 Thread Tim Dunphy
Guys, I went to click 'confirm email' under my user preferences in mediawiki. And when I did I got this error from the interface: [272a6228] 2015-09-21 20:24:55: Fatal exception of type "MWException" What do you think is causing that error? And how can I correct the problem? Are there any logs

[MediaWiki-l] split read/writes mysql using ssl

2015-09-18 Thread Tim Dunphy
Hey guys, I've been using ssl connections to the database for a little while now thanks to some of the help I've gotten on the list. Works great! Here's the settings I'm using to do that: ## Database settings $wgDBtype = "mysql"; $wgDBservers = ''; $wgDBserver = "db.example.com"; $wgDBssl=

Re: [MediaWiki-l] split mysql read/write on DB cluster for mediawiki

2015-08-31 Thread Tim Dunphy
ers> - note that MediaWiki > still reads from master when it can't afford getting stale data, e.g. > "we're about to save a page, check if user is blocked" or "we're updting > pagelinks, let's see what's already in there to insert/delete only neede

[MediaWiki-l] split mysql read/write on DB cluster for mediawiki

2015-08-30 Thread Tim Dunphy
Hey guys, I have a database cluster consisting of four MariaDB10 servers. The first two are setup in a master/master setup providing HA/Failover via HA/Proxy. The second two are slave mysql nodes running in read_only mode. What I would like to do is to setup my mediawiki site to send only mysql

Re: [MediaWiki-l] Special::Memcached page not working

2015-08-23 Thread Tim Dunphy
AndPromote.php'. Running that I gave my user the right group membership to see the special memcached page. https://www.mediawiki.org/wiki/Manual:CreateAndPromote.php Thanks for your input! Tim On Sat, Aug 8, 2015 at 2:08 PM, Bartosz Dziewoński wrote: > On Sat, 08 Aug 2015 19:28:43

[MediaWiki-l] Special::Memcached page not working

2015-08-08 Thread Tim Dunphy
Hey guys, I've setup memcached on my webservers that I'm using with mediawiki. And I wanted a convenient way to check that memcached was in fact working. So I decided to try and get this mediawiki memcached extension working: https://www.mediawiki.org/wiki/Extension:Memcached But when I go to

[MediaWiki-l] update wiki content behind a reverse proxy

2015-08-04 Thread Tim Dunphy
Hey guys, I've setup mediawiki behind Varnish 4. And I've figured out a way to get updates to the wiki to pass through to the web server. But of course any edits you make to the wiki site don't get updated unless you clear the varnish cache. I tried putting this into the varnish config under vcl

Re: [MediaWiki-l] use ssl to access the database

2015-07-28 Thread Tim Dunphy
te: > I'm glad this works but I'd recommend using =true instead of =1 since 1 is > not a boolean, it's an integer. > > This may work now but could unexpectedly break in a minor update. > > — Krinkle > > > On 26 Jul 2015, at 18:47, Tim Dunphy wrote: >

Re: [MediaWiki-l] use ssl to access the database

2015-07-26 Thread Tim Dunphy
sl= 1; $wgDBname = "jfwiki"; $wgDBuser = "admin_ssl"; $wgDBpassword = "secret"; Bingo!! That one put me over the top. The wiki page comes up. Thanks for the help!! All set with SSL connections to the DB. Glad I found out how to do that. Tim On Sun, Jul 26, 2015 at 8:30

Re: [MediaWiki-l] use ssl to access the database

2015-07-26 Thread Tim Dunphy
base: Access denied for user 'admini_ssl'@' ec2-xx-xx-xxx-xx.compute-1.amazonaws.com' (using password: YES) ( db.example.com)) 'ec2-xx-xx-xxx-xx.compute-1.amazonaws.com' is the load balancer. Any ideas on why this is still happening? Thanks, TIm On Sun, Jul 2

Re: [MediaWiki-l] use ssl to access the database

2015-07-26 Thread Tim Dunphy
https://www.mediawiki.org/wiki/Manual:$wgDBssl Very cool! Thank you! I'll check this out! On Sun, Jul 26, 2015 at 3:37 AM, Benjamin Lees wrote: > https://www.mediawiki.org/wiki/Manual:$wgDBssl > > On Sat, Jul 25, 2015 at 8:51 PM, Tim Dunphy wrote: > > Hi all, > > &

[MediaWiki-l] use ssl to access the database

2015-07-25 Thread Tim Dunphy
Hi all, I just added a remote database to my media wiki setup. I can access the database from the command line and using that info the wiki site shows up in a browser and works. But some of the data is sensitive so I need to add an ssl user to access the database. If i add an ssl user to th

[MediaWiki-l] trouble connecting to a database

2015-07-24 Thread Tim Dunphy
Hey guys, I'm having a bit of trouble connecting to a mysql database. And I'd love a little help with this problem! I have my wiki site spread out amongst three t2 micros on the AWS free tier. Free of fee is the way to go! ;) The site is load balanced behind two varnish nodes which are themselv

Re: [Mediawiki-l] enable uploads to mediawiki

2012-02-03 Thread Tim Dunphy
yep! that was it! lol.. thanks! - Original Message - From: "Benjamin Lees" To: "MediaWiki announcements and site admin list" Sent: Thursday, February 2, 2012 2:51:57 PM Subject: Re: [Mediawiki-l] enable uploads to mediawiki Are you logged in? :) ___

[Mediawiki-l] enable uploads to mediawiki

2012-02-02 Thread Tim Dunphy
hello list, I am attempting to enable file uploads to my mediawiki page. I have this setting enabled in my LocalSettings.php config file: $wgEnableUploads = true; And in my php.ini file I have this setting: [root@ec2-107-22-232-226:/var/www/wiki] #grep file_uploads /etc/php.ini file_upl

Re: [Mediawiki-l] database problem on mediawiki 1.18

2012-01-21 Thread Tim Dunphy
hp on the server. On Jan 21, 2012 10:33 AM, "Tim Dunphy" wrote: > Hello, > > I've just installed a media wiki on one of my servers and imported my old > media wiki database (I don't recall the version the original media wiki was > running under). > > I noti

[Mediawiki-l] database problem on mediawiki 1.18

2012-01-21 Thread Tim Dunphy
Hello, I've just installed a media wiki on one of my servers and imported my old media wiki database (I don't recall the version the original media wiki was running under). I notice that whenever I go to save an entry in my media wiki I get this error: Database error A database query syntax