[00:18:40] hi [04:56:24] Join [07:30:26] donate me now! https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LUP3W8V7P3QRW [14:39:33] If anyone has the time could you please help with https://phabricator.miraheze.org/T1104 ? (It's an issue about an extension who is logging logs in the wrong places. [14:39:43] extension repo (if needed): https://github.com/miraheze/CreateWiki [15:12:03] I want to write an extension but first talk about its API and syntax with other developers. Where can I get such kind of support? [15:21:17] porton: wikitech-l@ would be my guess [15:21:31] andre__: what is @? [15:21:36] a mailing list [15:21:49] https://lists.wikimedia.org/mailman/listinfo/wikitech-l [15:43:52] andre__: Sorry to bother but do you have any idea for my request? [20:23:18] test [20:23:55] hello, i recently moved servers with a mediawiki domain, and when trying to access the new site, was presented with this message [20:24:17] Fatal error: Call to undefined function json_encode() in /home/[path]/includes/registration/ExtensionRegistry.php on line 122 [20:24:38] that line contains the following code: [20:24:39] $key = wfMemcKey( 'registration', md5( json_encode( $this->queued ) ), self::CACHE_VERSION ); [20:25:12] does anyone know how to fix this? [20:27:11] factodef: json_encode is a PHP function provided by the PHP json extension [20:27:28] you need to install it (usually by installing the php-json package) http://php.net/manual/en/json.installation.php [20:29:00] according to my web host, json is already installed [20:30:08] could this be because of an outdated link? [20:30:43] no, php-json isn't installed or enabled [20:31:21] you can test by creating a random php file with phpinfo() and looking at the available modules http://php.net/phpinfo [20:31:52] https://cdn.discordapp.com/attachments/209144353170391040/262316406786359296/unknown.png [20:32:09] sorry for the non-formal means of uploading, but here are my PHP extensions [20:32:50] json appears to be enabled, so I don't know what the issue is [20:32:54] test it with phpinfo [20:34:58] gtg [20:36:05] put in phpinfo(json) on a blank php file and nothing happened [20:40:47] if i recently moved to a server with a new version of php, should i reinstall mediawiki? [20:41:02] I was operating on 5.4, and the new server is using 5.6 [20:41:21] neither of the sites i have imported have worked, saying they failed to find parts of PHP i know are installed [20:43:27] anyone know about such an issue? [20:43:37] it is affecting my mediawiki and wordpress sites [20:46:24] i can't even update the thing because it gives me 403 errors on my own website [20:47:27] what am i doing wrong? [20:59:35] is it a port issue? [21:00:56] anybody [21:04:27] json_encode is it not installed, or not loaded into your webservers php config [21:07:08] as seen on the screenshot, it is indeed installed with my PHP, but I think I may have the wrong database address which could be causing the issue [21:07:37] That means nothing [21:07:42] great [21:07:50] That's just your hosters control panel saying it is [21:07:52] Doesn't mean it is [21:07:54] you need to see if phpinfo(); says [21:08:04] phpinfo() did nothing [21:08:05] create a file with and browse it via your webserver [21:10:17] the only mention of json i could find on the page was the credits and in the configure command section [21:10:48] so, I'd suggest it's not actually loaded in your webserver php config [21:10:51] let me find an example [21:11:20] should i uncheck json on my PHP settings, then check it again? [21:11:23] json [21:11:24] json support enabled [21:11:24] json version 1.4.0 [21:11:27] You should have something like that [21:11:42] I'd try it for starters, yeah [21:12:02] i see '--enable-json=shared' in the command [21:14:07] would that mean anything? [21:15:03] don't think so [21:15:13] Additional .ini files parsed [21:15:15] Reedy: [21:15:19] /etc/php/7.0/apache2/conf.d/20-json.ini [21:15:25] Can you restart your webserver? [21:15:46] i don't know how, and i don't think i can with my web host [21:18:05] maybe i should try reinstalling mw, then dropping my files and database stuff back in [21:18:32] but like i said, i can't access update.php because i get 403 errors no matter what i set the permissions to [21:19:36] everything's a mess really [21:19:41] Reinstalling MW isn't gonna help [21:19:47] It's your PHP config that seems to be wrong [21:20:08] Point your host to a phpinfo and point out json isn't loaded? [21:20:38] if it did load, would i see a table for it in the Configuration part? [21:20:52] seeing bz2, calender, etc [21:22:14] yeah, exactly [21:22:20] it's a small one [21:22:21] [21:11:23] json [21:22:21] [21:11:23] json support enabled [21:22:22] [21:11:23] json version 1.4.0 [21:22:25] but should give you something like that [21:22:54] not seeing anything like that, so i'm guessing it's not loading correctly [21:23:52] thing is, none of the things mentioned on that page appear in my php configuration [21:24:03] using godaddy for this, if it's worth mentioning [21:25:55] I'd hope they knew better [21:28:05] i'd guess i would have to call tech support, but i'm not sure if this is in their scope [21:30:06] I would have thought they have live chat support as in writing messages [21:30:50] they do, but its very temporary stuff [21:30:56] usually just pushes you back on the phone [21:31:55] oh [21:34:02] factodef: [21:37:24] I'd say it's in their scope [21:37:31] It's their platform that's not loading the module it seems