Le vendredi 15 septembre 2006 14:21, Thomas Schoepf a écrit : > Hello Romain, > > > The upgrade from 1.4 to 1.5 was not clear and not well documented, that > > is the main reason why we did not make it automatic, as well as the > > utf8 things. > > Btw: Do you know whether upgrading from 1.4 directly to 1.7 works better?
Dunno, I would say it is better to do it with 1.5 intermediate but you can try > > Thank for the feedback, we should update the documentation later. > > I'd suggest to update the documenation earlier, because it e.g. ignores the > fact that /var/lib/mediawiki1.5/LocalSettings.php and > /var/lib/mediawiki1.5/AdminSettings.php are symlinks into /etc/mediawiki1.5 > right after installing the package. Could you explain this, I didn't understand.. > > Also, you should have tried with a symlink as I was proposing, because > > all the files, in fine, are in /var/lib/mediawiki not un share.. > > I guess you mean /var/lib/mediawiki1.5, right? It is the same thing for all packages, see below.. > Of course, that raises the question why a (plain fresh installed) > mediawiki1.5 is looking for /usr/share/mediawiki1.5/LocalSettings.php in > the first place. Simply because we seperate the files and put those that are not meant to be modified in /usr/share and those that are meant to be changed to /var/lib Then the php include code don't guess this and tries to include something like ../LocalSettings.php from the /usr/share/*/maintenance/ dir... > Using a symlink from /usr/share/mediawiki1.5/LocalSettings.php to > /var/lib/mediawiki1.5/LocalSettings.php in fact changed the result. On > trying to access the wiki instead of the usual front-page I get the error: > > Fatal error: Call to undefined function: wfgetmaincache() in > /usr/share/mediawiki1.5/includes/Setup.php on line 109 Try to check $IP parameters and check the includes.. > Btw: /var/lib/mediawiki1.5/LocalSettings.php is not modified compared to > /etc/mediawiki/LocalSettings.php What do you mean? Romain -- while ( love & passion ) { for( fight = 0 ; rights < freedom ; rights++ ) fight = standup( rights ); free( babylon ); }