Data repair and upgrade after update
> I am getting fatal PHP errors while updating the SMW database after an upgrade...
From where to where did you upgrade?
Did you follow the steps as outlined in one of the mentioned upgrade guides ?
> PHP Fatal error: Class 'ParamDefinition' not found
Please see .
I upgraded from MW 1.22 - 1.25 and ran the database upgrade, SMW I upgraded to the latest version from 126.96.36.199, so quite an old version. I followed the instructions re: Composer and now I get:
MediaWiki requires the PSR-3 logging library to be present. This library is not embedded directly in MediaWiki's git repository and must be installed separately by the end user. Please see mediawiki.org for help on installing the required components.
Having to go AFK now, bit surprised how difficult this process has been, I had it up and running quite well before.
> MediaWiki requires the PSR-3 logging library to be present. This library is not embedded directly in MediaWiki's git repository and must be installed separately by the end user. Please see mediawiki.org for help on installing the required components.
This message is generated by MW itself and has not really something to do with SMW (whether you would have installed it via Composer or the Tarball).
In regards to the message, if you run
composer update from the MW base directory then it should install the libraries as requested by MW.
> Having to go AFK now, bit surprised how difficult this process has been, I had it up and running quite well before.
Looking at [0, 1], I personally find the process fairly simple but it varies with experience. Now (as of 1.25), that MW uses Composer itself to manage external libraries, SMW is just one component to leverage the infrastructure necessary in handling external dependencies.
If you think the instructions are not as easy to follow as expected or need adaption in order to make them more self-explanatory (one reason why we have the videos), we are more than happy to see them improved based on user experience.
Please don't hesitate to make adjustments (after all it is a wiki) so other users can participate on the gained experience.
I'm not sure I'm currently qualified to give advice given how badly I seemed to break my install! I think the problem was the classic one of following outdated advice and relying on Google search too much.
I started with a fresh install following the video and found Composer to in fact be very good, though I think it would be helpful to be a bit clearer about it's function. I really had no idea what it was even supposed to be doing for quite a while.
I think I'm back on track now anyway, lesson learned that maybe I should keep more abreast of changes (just need to find the time!).