[05:40:37] facing invalid argument exception [05:44:38] sri49: More context? [06:00:56] when trying to load home page it give me an errror [06:01:19] fatal exception of type InvalidArgumentException [06:01:46] i'm using php 7.0 MediaWiki 1.31 [06:02:02] I getting issue after upgrading from 1.28 to 1.31 [06:03:18] sri49: Can you add $wgShowExceptionDetails = true; to the bottom of LocalSettings.php to see if it makes the error message be more detailed? [06:07:47] I have already added [06:10:31] [30fbdb086ee7f8a16ea125d3] 2019-08-02 05:59:49; Fatal error of type InvalidArgumentException [06:10:45] this is the whole error message i'm getting [06:11:11] every time I refresh code and time gets changed and the msg is same [06:17:52] With that config, it should give a stacktrace to the error message [06:19:23] Otherwise i guess, try disabling all exceptions. Are you using a tarball install? If not (e.g. you installed from git) ensure that you ran composer update. Did you succusfully run update.php or do you get the same error message there [06:24:15] getting error while running update.php [06:25:01] Class 'LoadBalancer not found [06:27:00] ILOadBalancer [06:29:13] I used tarball to untar the MediaWiki installation file [06:51:00] sri49: That error probably means something is corrupted in your mediawiki code files [06:52:01] I'd reccomend basically getting a new tarball, untarring it into a directory with nothing else there, copy over the extensions, and images directory, copy over LocalSettings.php, rename the new directory to the original directory, and see if that helps things [09:17:04] i installed the MediaWiki again...still same error [09:19:10] PHP Fatal error: Uncaught Error: Class ILoadBalancer not found in /opt/rh/httpd24/root/var/www/html/devwiki/includes/libs/rdbms/defines.php:22 [09:19:49] while running update.php [09:41:36] for MediaWiki 1.31 i'm using MySQL 5.5.6 .. is that an issue? [09:41:47] php 7.0 [09:54:19] hi [09:54:42] i'm getting error while running update.php [09:54:50] php version 7.0 [09:55:09] I'm upgrading from MediaWiki 1.28 to 1.31 [09:56:26] PHP Fatal error: Uncaught error : Class 'ILoadBalancer not found in includes/libs/rdbms/defines.php;22 [09:57:27] offically mw1.31.x supports MySQL supports 5.5.8+, but that doesn't mean 5.5.6 wont work https://www.mediawiki.org/wiki/Compatibility#Database [09:57:39] But i don't know anywhere near enough to say if thats yur issue [09:58:11] i'm using MySQL 5.5.6 [10:00:30] my home page is alos not loading and giving error Fatal exception of type InvalidArgumentException [10:05:10] sri136: are you sure you extracted everything correctly? [10:05:42] your outdated MySQL installation cannot really cause that error [10:06:57] also, please upgrade MySQL. 5.5.6 is from 2010. [10:07:20] and the 5.5 branch is EOL since December 2018 [10:12:57] Hello, im not quite sure where to ask this, hopefully someone can direct me in the right direction: I imported some templates into mediawiki (Missing_Information, Delete, ...) that are supopsed to be some text in a box. What happens when i use it is that there is no border and the image of a lets say warning sign is missing, instead i see link with [10:12:58] name 40x40px that will lead me to file upload. Did I do something silly and how can I un-silly it :) thank in advance, if i failed to post in right place, please direct me to the right one [10:25:48] jest: just stating the obvious but: have you checked the templates' wikitext? they likely require some classes to be added to your Common.css? and you likely will need to upload the corresponding images? [10:27:32] Gasai: Thank you for the response. Is this the wikitext you were referring to? https://en.wikipedia.org/wiki/Template:Missing_information [10:28:04] I mean https://en.wikipedia.org/w/index.php?title=Template:Missing_information&action=edit but on your wiki [10:28:11] Gasai : yes... [10:28:39] as you can see it depends on a number of modules (usually Lua) and templates [10:29:40] can I remove all existing MediaWiki files and install new version? [10:29:56] will this effect my wiki pages in any way [10:30:17] sri136: have you read the upgrade instructions? [10:30:22] yes [10:30:41] I have upgraded the MySQL to 5.5.6 php to 7.0 [10:30:51] upgrading MediaWiki is essentially removing all the files and installing the new version [10:31:00] foillowed the updgare manual [10:31:24] then copying the uploads (images) and LocalSettings.php back [10:31:35] and running the update script after extracting updated extensions [10:32:06] jest: I do not think you can easily use these templates on your wiki without Scribunto and various other stuff [10:32:37] running update.php is giving error [10:32:40] Gasai: OK, so if I inderstood you properly; I have to export and import to my wiki all "Pages transcluded" that are mentioned bellow? When i open the same link on my wiki I do not see list of thoose templates/modules [10:32:46] I already use scribunto [10:33:13] I needed it for keystroke template, which is working fine [10:35:15] jest: for border, inspect your page view and see which classes the message box uses, then copy them over from wikipedia [10:35:32] oh [10:35:45] yes, you do need to import all of those dependencies [10:35:56] though I think it would just not work without them? [10:36:08] like, at all [10:36:54] and for images just upload them if they are public domain [10:48:31] Gasai: With template:Note I got all images but 1 (really weird just light_bulb image missing) and all borders and backgrounds. With Template:Information_Missing I get only basic text working (no border, picture, background). I did not download all those mentioned templates and modules, but i did download all revisions of template. If i try to edit [10:48:32] with CSS it works nicely. I will try to download whole list of said dependencies and see if it helps, otherwise CSS here we come :) thank you for the info [10:51:03] ahh i think i saw some lua errors. Do you maybe know where could i start troubleshooting the lua? Im a bit lost when it come to accesing template files etc.. [10:54:57] the errors should tell you where in the code they happened [10:56:32] ok i will try to find those errors again [11:34:04] To the person that helped me: i got disconnected and i lost your nick. The CSS page works perfectly, the images are all free so i could upload them. Thank you for showing me the right direction [11:49:55] How can i view errors that are mention on template import? (No revisions imported (all were either already present, or skipped due to errors)) [13:09:15] Sorry! This Site is experiencing technical difficulties [13:09:23] Try waiting a few minutes and reloading [13:09:43] (Cannot access the database) [13:09:58] i'm getting this error on my home page [13:10:30] I have checked the database details in LocalSettings.php file [13:10:34] they are correct [13:36:00] sri136: https://www.mediawiki.org/wiki/Manual:How_to_debug [22:21:42] Hi all. I'm importing a template from wikipedia for my wiki: Template:Mbox into a mediawiki 1.33.0 install. Are there any environmental considerations for template? I'm getting: Attempt to index upvalue 'messageBox' (a boolean value). Hints?