[00:17:52] so, looks like one of the sqlite files is fubared [00:19:00] but now my recent changes is not correct [00:42:55] Support?? [00:43:04] support desk [00:46:18] SamiWely: nuke extension is built in [00:46:23] SamiWely: you do not need to install it [00:46:52] SamiWely: what is your mediawiki version? [01:00:50] No it’s not built in [01:01:05] It is bundled, but doesn’t mean it’s enabled [02:10:03] ok [03:15:19] Hello, i am trying to create a wiki on my website at https://www.tesseractnet.org/wiki, but i'm getting nowhere. The mediawiki folder is in /var/www/tesseractnet.org but it's not showing when i go to the website [03:16:11] I get 403 forbidden [03:18:18] Vermont: a friend told me to ping you, that you could help [03:18:28] I know [03:18:44] hm [03:18:52] yeah idk [03:18:58] gry: around? [03:27:17] Protheus: it looks like the web server isn't serving the correct directory. where's your docroot? [03:28:26] for the website? /var/www [03:28:46] wait [03:29:01] samwilson: /var/www/tesseractnet.org [03:29:09] and mediawiki is in that folder [03:29:18] and the wiki is in /var/www/tesseractnet.org/wiki/ ? [03:29:28] so /var/www/tesseractnet.org/mediawiki [03:29:59] restarting nginx, i get: nginx: [emerg] open() "/etc/nginx/sites-enabled/mediawiki" failed (2: No such file or directory) in /etc/nginx/nginx.conf:38 [03:30:15] so you want https://tesseractnet.org/mediawiki to be the wiki? [03:30:20] yes [03:30:42] normally you'd put the mediawiki dir at /var/www/tesseractnet.org/w/ and then use URL rewriting to serve it from where you want [03:30:57] url rewriting? [03:31:06] let's assume i'm retarded lol [03:31:19] yeah, you can tell nginx to use a different path... but don't worry about that for now [03:31:28] ok [03:31:44] so you might have /var/www/tesseractnet.org/index.html or something... is that working correctly? [03:32:39] no, but just tesseractnet.org works [03:33:07] if i put the /index.html it says cant be reached [03:33:25] what files do you have in /var/www/tessseractnet.org/ ? [03:34:43] images, wiki, admin.html, contact.html, index.html, news.html, servers.html [03:35:01] images and wiki are both folders [03:35:32] right. so http://tesseractnet.org/contact.html should work? [03:37:41] yes [03:38:03] wait [03:38:07] it doesnt [03:38:30] wtf [03:38:35] it was working last night [03:40:45] ok now it's working [03:40:54] not the wiki [03:41:08] just the html pages (contact.html, etc) [03:41:52] samwilson1 i get 403 forbidden when trying to access the wiki [03:43:16] when trying tesseractnet.org/wiki/index.php, it just downloads the index.php [03:46:35] samwilson1? [03:51:04] Protheus: sorry, i had to go over there [03:51:11] back now [03:51:17] it's ok [03:51:40] so it sounds like you don't have your web server configured for php [03:51:55] ok [03:52:01] how would i remedy that? [03:53:09] this has some good info: https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-in-ubuntu-16-04 [04:10:11] samwilson1: followed that to a tee, when i try to access tesseractnet.org/index.php or tesseractnet.org/wiki, it downloads a file [04:11:20] Protheus: you've got something like the following in your nginx config? location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.0-fpm.sock; } [04:11:31] have you restarted the web server? [04:16:34] samwilson1: yes, but when trying to restart nginx, i get: nginx: [emerg] open() "/etc/nginx/snippets/fastcgi-php.conf" failed (2: No such file or directory) in /etc/nginx/sites-enabled/t> [04:19:57] Protheus: what's in /etc/nginx/snippets/ ? [04:20:04] nothing [04:20:11] there is no folder named that [04:20:22] but now i get 502 bad gateway [04:20:40] there's some info in this answer: https://askubuntu.com/a/134676/68491 [04:21:19] sounds like php or php-fpm isn't installed correctly [04:21:52] (sorry I'm not more help... I use Apache mostly) [04:43:22] samwilson1: found this in my error log: 2020/02/18 04:38:21 [crit] 28553#0: *2 connect() to unix:/var/run/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: [04:43:30] maybe could help? [04:54:50] got it now [04:54:58] a little perseverance lol [04:56:30] great! [05:10:42] samwilson1: thanks man! [06:09:57] can anyone tell me if there's a style about the ordering of methods in a PHP interface? should the methods in the implementing classes be in the same order in the code? [06:10:13] (I've always put them in whatever order they're in in the interface) [06:11:45] I think requiring that would be pretty nitpicky, personally [06:12:39] I mean, i might just do that anyways since i would probably just copy and paste when implementing the class [06:12:52] But im not sure id want to require it [06:13:00] Just my 2cents worth [06:13:09] yeah that's pretty much my take on it [06:13:26] but if I'm adding a new method, I add it in the same place in both [06:13:28] usually the bottom [06:14:19] I sometimes add new methods next to a different one of they are related [06:15:51] oh yeah, that makes sense too [06:16:29] well, glad I'm not missing some established standard. thanks. :) [16:14:29] Hello, [16:14:29] file. [17:46:52] Can anybody help me out... I think I've accidentally bricked my gerrit account... [17:48:34] In end of November last year I swapped the old personal email address of my account with my institutionn email ID and then sort of drifted off... [17:48:44] Now I can't log in... [17:55:16] Schroeder: what is your user name? [17:55:21] on wikitech wiki (LDAP) [17:55:30] Sohom Datta [17:56:01] LDAP is soda [17:56:38] Sohom_Datta: you dont have access to the .edu mail anymore? [17:56:45] hmm [17:57:03] I have access to the .edu email adress, gerrit is giving an error [17:57:11] Sohom_Datta: could we deal with this in #wikimedia-releng please, it's a little offtopic [17:57:20] Sure [18:03:35] is there a preffered package for latex? [18:04:55] Trojan [18:12:23] I don't have a LocalSettings.php [18:12:24] where does this co? [18:12:26] go? [18:12:32] mw is in /var/lib/mediawiki [19:10:37] any ideas why search wouldn't be working? recently migrated from v1.30.0 with mysql to v1.34.0 with sqlite... [19:22:35] jdv79: any errors? [19:22:56] also, what does "not working" mean? [19:25:23] where would these errors be? a file or just to the screen? [19:25:42] no errors on screen - just get "There were no results matching the query." [19:25:50] for a term that the old instance gets hits for [19:26:13] what are you searching for [19:27:02] "database" [19:27:27] what are you expecting to find, an article that has the word database? [19:27:29] i don't see anything in LocalSettings that would affect it [19:28:03] i get 9 results on the old one - 1 title and 8 text matches [19:28:22] probably a sqlite conversion issue:( [19:28:34] maybe it doesn't index them [19:28:41] https://www.mediawiki.org/wiki/Manual:Rebuildtextindex.php [19:33:26] aha! [19:33:53] i tried running updateSearchIndex.php but it errored out [19:33:58] seems better - thanks! [19:52:45] What was the error? [20:33:00] something about couldn't write to a .pos file... [22:02:51] Hello all, hope someone can help or has a tip. I want to test the extension CentralNotice on my wiki 1.34 running on my notebook (localhost/index.php/Main_Page (xampp)). I installed the extension and already made a Banner, the preview looks good. But I can't see the banner. Even if I add ?banner= at the end of a page [22:03:03] what am I missing? [22:04:19] I tried with and without "Quick developer setup" in the LocalSettings