[00:58:44] Is this the appropriate place for a mediawiki extension? I'm trying to tie in my phpbb board with the wiki user login. [00:59:05] Rather, to ask for help about it. [01:01:07] acmeraptor: speaking from experience...DO NOT DO THIS [01:02:35] I was testing it on a VM server first, my prod board and wiki are still completely seperate. But may I ask what went wrong? [01:03:28] Or if there's an alternate option.. [01:04:47] it makes upgrading each more annoying and we found that people who edited the wiki didn't necessarily want a forum account and vice versa [01:06:05] ultimately we ended up ditching phpBB entirely and using discord instead [01:12:47] I can see where those two issues would be problematic for me.. [01:14:33] More the cross-user registration and whatnot. Just, blah over questions [01:16:05] I s'ppose it shouldn't be that painful if using OAuth/OpenID, not some PHP glue. but I've never run such couplings myself... [01:19:31] Here's my scenario.. I live in a small town now, people here mostly post the same stuff over and over on facebook. I thought a forum would be a good site for opinions/commentary, classifieds (for sale) stuff, upcoming event info, etc.. pretty dynamic stuff. The wiki is intended for static stuff, history of local things, menus, etc. [01:19:33] acmeraptor: session, or user management? [01:20:05] personally I would go for some popular login provider [01:20:13] like Facebook or Google [01:20:21] Looks to me to be user management, this is what I have been reading from: https://www.mediawiki.org/wiki/Extension:PHPBB/Users_Integration [01:22:49] I would treat pre-1.27 user identity extensions with suspicion [01:22:59] a lot of things changed then [01:23:17] I understand tgr, my idea for what it is worth, is to get off of facebook and google. Provide an alternative [01:23:59] my mediawiki version installed is 1.29.. [01:24:01] no I mean use a facebook login button on your wiki and on your forum [01:24:19] don't bother with identity management yourself [01:24:50] oh gotcha, that'd certainly stop the "i gotta create another account?" nonsense [01:25:00] an easy way to support single sign-on as pretty much every software suppors Facebook/Google login [01:30:33] I was hoping to not be tied to any kind of "global" logins and such. Maybe it is a pipe-dream. [01:32:04] I'm only wanting provide a site to the people that live in my city, not the whole world.. unless some russian or chinese dude randomly signs up. [01:32:34] So long as they aren't trying to sell some viagra substitute. ugh. [01:33:34] let Google and FB handle spammers, they have more resources than you [01:33:42] I'll keep the facebook/google login in mind for sure though. I didn't think of that [01:33:45] Yep [01:34:12] Far more [01:38:00] Good advice to just drop the board/wiki link, but to satisfy my curiosity that brought me here.. I'm not huge on my coding skills, can I get a hand on this? I do not see the problem so far.. [01:38:26] [f57e72d22730889dee2696dd] /wiki/index.php?title=Special:UserLogin&returnto=Main+Page Exception from line 685 of /var/lib/mediawiki/extensions/Auth_phpbb.php: Unable to find phpbb's utf_tools.php file at (../../../../includes/utf/utf_tools.php). Please check that phpBB is installed. [01:38:48] I know the ../.../ blah is repetitive [01:39:20] it's not a pipe dream, it just makes your life harder + signup on your sites will have more friction [01:40:03] if it's not the part you truly care about, makes sense to go for the easiest option [01:40:43] probably there is some configuration setting telling the MediaWiki extension where phpBB is installed? [01:40:57] :/var/www/html/wiki$ ls api.php COPYING Gemfile.lock includes load.php phpcs.xml resources thumb_handler.php autoload.php CREDITS Gruntfile.js index.php LocalSettings.php profileinfo.php serialized thumb.php cache docs HISTORY INSTALL maintenance Rakefile sk [01:41:08] dang, that was too large, sorry [01:41:14] that's my wiki [01:41:59] seems like it expects MediaWiki to be put inside phpBB or something crazy like that? [01:42:04] better said.. lrwxrwxrwx 1 root root 18 Aug 19 12:57 wiki -> /var/lib/mediawiki [01:42:41] normally your directory structure would be /var/lib/mediawiki/extensions/Auth_phpbb/Auth_phpbb.php [01:43:06] but that doesn't seem to be the problem here [01:44:05] that is the case.. [01:44:09] tester@wyo-rsk-uts01:/var/lib/mediawiki/extensions$ ls -al Auth_phpbb.php -rw-r--r-- 1 root root 30286 Sep 7 09:51 Auth_phpbb.php [01:45:38] I think my line in the mediawiki LocalSettings.php file is off, but I do not understand why [01:46:21] my file structure all starts with /var/www/html/ it's ubuntu based [01:47:27] tester@wyo-rsk-uts01:/var/www/html$ ls -al total 628 drwxr-xr-x 19 root root 4096 Sep 7 08:44 . drwxr-xr-x 3 root root 4096 Aug 19 10:43 .. drwxr-xr-x 4 root root 4096 Jul 16 20:07 adm -rw-r--r-- 1 root root 952 Jul 16 20:07 app.php drwxr-xr-x 7 root root 4096 Jul 16 20:07 assets drwxr-xr-x 2 root root 4096 Jul 16 20:07 bin drwxrwxrwx 4 root root 4096 Aug 19 11:20 cache -rw-r--r-- 1 root root 5 [01:47:41] arg, too big again [01:49:18] $wgAuth_Config['PathToPHPBB'] = '../../../..'; // Path from this file to your phpBB install. I think this is what is causing the error. I've tried fully qualifying the path and shortening it. No such luck. [01:49:40] That line is in my mediawiki LocalSettings.php file [01:51:05] acmeraptor: you could probablu oauth between the wiki & forum [01:53:03] Yep I have that on something to check into p858snake! I'm trying to understand my current error. [01:58:51] If you peeps want to tell me to stop seeking answers where there arent any good ones, by all means do so. Most of the web coding I have learned so far came online sources. I can accept that it's pointless to climb a broken branch of an ugly tree. [01:59:38] :) [02:00:15] nothing wrong with asking [02:00:29] indeed [02:00:59] but this is a very specific problem so unless you find someone who has used that extension, you probably won't get much help [02:01:21] PathToPHPBB definitely sounds like the thing to check [02:01:51] maybe you are setting it at the wrong place [02:02:17] and it gets overwritten [02:06:05] i remembered my soft link referred to a different location for the wiki and tried changing the problem (i suspect) line.. overwritten is an interesting thing that i might look into. but for prod.. to be blunt, fuck that. I want to thank everyone for your help. maybe a step back and some fresh air will help. but I am definitely thinking about doing the whole google/facebook login option. [02:07:00] good lord it took me 3 months to get https redirects working.. i'm slow, at least i can admit it [02:07:15] :D [02:08:57] in general, it sounds like you should invest some time into learning debugging tools/workflows [02:09:32] how to use the debug log, how to use xdebug, how to use grep/ack... [02:10:36] when it's questions like "why does this path end up using the wrong value" probably in the end you have to roll up your sleeve and follow through the information flow [02:14:10] RTFM, good advice. This one just made me quirk my head. [02:15:44] Wikis can be edited by anonymous users anyway, which makes the whole fricken point useless. I was just trying for the experience [02:19:54] I'm heading to sleep. I really do appreciate everyone's efforts on helping me though, some things are just meh. But thank you, I now have a better idea on what to do for my website! [10:33:34] I just did a one-click install of mediawiki on dreamhost. It worked fine, I went to edit the front page, and now I get the php error page. [10:33:43] but it worked for a moment [10:34:08] do you have access to the error log? [10:34:17] I tried running maintenance/update and it went through. Any suggestions? [10:36:07] I don't know how their wikis are set up [10:36:18] the best would be to enable debug console if you can [10:36:20] !debugconsole [10:36:22] !debug [10:36:23] For information on debugging (including viewing errors), see https://mediawiki.org/wiki/Manual:How_to_debug . A list of related configuration variables is at https://mediawiki.org/wiki/Manual:Configuration_settings#Debug.2Flogging Also see https://mediawiki.org/wiki/Manual:Errors_and_symptoms [10:36:23] um I'm in the root via ftp, but I don't see anything related in the error logs [10:36:39] can you edit LocalSettings.php ? [10:36:40] what does the php error message say? [10:36:45] and what version of mediawiki is this? [10:36:46] Let me look at that and see what I can learn [10:37:21] It was a one click so I'm guessing the latest 26? [10:37:39] check Special:Version if that still works [10:37:57] http://www.a11ysig.org/wiki/ [10:38:38] you must be Joly MacFie :) [10:39:30] this is not an error page, PHP interpreter is turned off so it displays the file verbatim [10:39:40] hmm [10:40:44] I wondered if the htaccess in the root for wordpress redirect is messing with it somehow [10:40:52] http://www.a11ysig.org/wiki/RELEASE-NOTES-1.26 indicates you are 1.26.3 [10:41:19] can you turn it off somehow? [10:41:35] As I say it worked briefly. It was when I edited a page it stopped. [10:41:50] I'd move "wiki" to "w" and make sure http://www.a11ysig.org/w/index.php works, that's the first step [10:41:59] Yes I can delete it [10:43:18] cannot image how editing a page could shut down PHP... [10:43:40] doesn't seem to make a difference [10:45:27] now we get a different 404 page [10:45:45] was there something in wordpress .htaccess that enabled PHP for some files? [10:46:03] or is it some central control panel switch (never user dreamhost) [10:46:13] very peculiar. although I removed the htaccess. the wp is still showing up in the root. Shift reload doesn't budge it [10:46:45] well there must be Some Other(tm) config file [10:46:55] can you create pi.php containing ' http://www.a11ysig.org/pi.php [10:47:43] your .htaccess defined custom error pages at least, now they are gone [10:48:00] do you want to SSH in? [10:48:45] sure [10:49:11] how do i give you pass? [10:49:16] ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAkG9ZFFR4F+nQOhBkvlN8td17khbmYsBav533boToa9jndir4WrVmFr2EM0+9HQs3g9F8Pk6bTs8VhPrXreWah6XLo1LFzDA0aCR7PONOdzdXqzYa8/+22JIYnr7bOdy8ueQ289x [10:49:20] OiwFwOiKS+CNJu0SYXfqoCUeyNIvvir/hAi4ugiAtKLBiYFyWLMFC4iJcUeK9iRV4qW35AS5EXyoCGxP5cSlwu5HrjiaOL92bIRLzqURsEmgO+ZEwWLx5nHe4kLcldimAaYeh9eR/urNv/K4iRhOB/ojRK4EUwX0Vu8Tv8BKrjLdklYug7sjP6jEuGNcYA+EPTjxK4 [10:49:24] can you add that key? (one line) [10:49:47] out of my depth here. let me see [10:50:11] you can mail me at saper@saper.info [10:50:21] with a password, I can set it up [10:50:37] will do [10:52:00] ah, now I see who you are :) [10:52:05] :) [10:52:15] I'm going to replace that htaccess [10:53:30] and I am backing up the whole thing locally. Going to bed right now. [10:54:01] Worst comes to worst. I'll just do a fresh install tomorrow. [10:54:47] I'm in [10:55:02] there are some logs, cool [10:55:28] so you want to have WordPress installed alongside MediaWiki joly? [10:55:48] yes [10:55:58] with wp showing up in the root. [10:56:27] ok [10:56:59] I didn't set it but possibly do that trick where wiki is in w and shows pretty wiki/ urls. [10:57:14] but not a big deal [10:57:21] will do [10:58:22] thanks [10:58:52] so there are no magic settings in the panel [10:59:45] no, but i did install all the extensions that the mediawiki offerred :) [11:00:27] ouch :) haha [11:00:37] PHP 7.0 [11:01:54] It's weird that it now gives me a wp 404 on the wiki page [11:03:06] there are some extra configuration rules that apply [11:03:11] need to find where they are [11:03:51] oh i see, you moved it [11:04:16] yep, but that does not matter, PHP in the subdirectories does not execute [11:04:43] RemoveHandler .php [11:06:06] .htaccess in /w/ was a problem [11:06:18] er not quite [11:09:02] It's a VPS I do have the option to reboot it [11:10:42] http://www.a11ysig.org/wiki/Special:RecentChanges [11:11:03] only errors are not handed by WordPress [11:11:20] is it a fresh wiki? [11:12:12] absolutely [11:12:34] fresh install [11:12:43] seems good now! [11:13:05] log in and I'll make you an admin? [11:13:53] a11ysig_org_1: Promoting User:saper into sysop... [11:13:54] :) [11:16:34] ok good. I can go to sleep now! [13:44:08] saper: thanks for investing this interesting dreamhost experiment [13:44:17] Does DreamHost no longer starve MediaWiki for memory? [13:44:25] * investigating [13:44:28] Nemo_bis: Don't know, first time I was there [13:44:33] ok [13:44:34] it seems to run [13:44:45] 1.29.1 even [13:45:10] so cutting edge [13:45:13] memory_limit = "90M" [13:45:23] well I have installed it by hand [13:45:25] O_O [13:45:28] they gave 1.26.3 [13:45:30] Ah! [13:48:31] but they have php 7.0 and 7.1