Page MenuHomePhabricator
Feed Advanced Search

Jan 17 2016

Ryan7273 added a comment to T119934: MW 1.26.0: Vector stylesheet doesn't load if temporary directory is unwritable.

So basically, set up $wgCacheDirectory to a folder writable by MediaWiki. That, of course, is not an option during the installer.

I can change open_basedir during installation and then use this afterwards. This is a good solution I can live with.

Jan 17 2016, 4:27 PM · MW-1.27-release (WMF-deploy-2016-02-02_(1.27.0-wmf.12)), MW-1.27-release-notes, Patch-For-Review, Google-Code-In-2015, MediaWiki-Installer, MW-1.26-release, Vector (legacy skin)

Jan 15 2016

Ryan7273 added a comment to T119934: MW 1.26.0: Vector stylesheet doesn't load if temporary directory is unwritable.

The solution is the add /tmp to the open_basedir. As I am going to be deploying to a shared hosting environment, I would strongly prefer NOT to do that long-term. Any chance I can designate a different location for the temp directory?

Jan 15 2016, 9:41 PM · MW-1.27-release (WMF-deploy-2016-02-02_(1.27.0-wmf.12)), MW-1.27-release-notes, Patch-For-Review, Google-Code-In-2015, MediaWiki-Installer, MW-1.26-release, Vector (legacy skin)
Ryan7273 added a comment to T119934: MW 1.26.0: Vector stylesheet doesn't load if temporary directory is unwritable.

Sorry for the delay in replying. I had reverted back to a previous version to avoid the bug and had to re-install to try things out.

Jan 15 2016, 9:34 PM · MW-1.27-release (WMF-deploy-2016-02-02_(1.27.0-wmf.12)), MW-1.27-release-notes, Patch-For-Review, Google-Code-In-2015, MediaWiki-Installer, MW-1.26-release, Vector (legacy skin)

Dec 19 2015

Ryan7273 added a comment to T119934: MW 1.26.0: Vector stylesheet doesn't load if temporary directory is unwritable.

There are open_basedir restrictions in place, but the root of the wikimedia install is included. Which other restrictions would you like me to check?

Dec 19 2015, 4:59 PM · MW-1.27-release (WMF-deploy-2016-02-02_(1.27.0-wmf.12)), MW-1.27-release-notes, Patch-For-Review, Google-Code-In-2015, MediaWiki-Installer, MW-1.26-release, Vector (legacy skin)

Dec 1 2015

Ryan7273 added a comment to T119934: MW 1.26.0: Vector stylesheet doesn't load if temporary directory is unwritable.

That was the error I received before setting $wgTmpDirectory. Afterwards, it changed to

Less_Exception_Parser: Less.php cache directory couldn't be created: /home/thegymnc/wm_tmp in ..../vendor/oyejorge/less.php/lib/Less/Parser.php:441

which is the directory I created for it.

Dec 1 2015, 3:21 PM · MW-1.27-release (WMF-deploy-2016-02-02_(1.27.0-wmf.12)), MW-1.27-release-notes, Patch-For-Review, Google-Code-In-2015, MediaWiki-Installer, MW-1.26-release, Vector (legacy skin)
Ryan7273 added a comment to T119934: MW 1.26.0: Vector stylesheet doesn't load if temporary directory is unwritable.

Following the next bit of advice in the thread, I looked at URLs containing "only=styles" and did see errors.

Dec 1 2015, 3:00 PM · MW-1.27-release (WMF-deploy-2016-02-02_(1.27.0-wmf.12)), MW-1.27-release-notes, Patch-For-Review, Google-Code-In-2015, MediaWiki-Installer, MW-1.26-release, Vector (legacy skin)
Ryan7273 added a comment to T119934: MW 1.26.0: Vector stylesheet doesn't load if temporary directory is unwritable.

As suggested by the Support Desk thread, I looked at https://www.mediawiki.org/wiki/Manual:Errors_and_symptoms#The_wiki_appears_without_styles_applied_and_images_are_missing.
Everything mentioned checks out as correct.

Dec 1 2015, 2:34 PM · MW-1.27-release (WMF-deploy-2016-02-02_(1.27.0-wmf.12)), MW-1.27-release-notes, Patch-For-Review, Google-Code-In-2015, MediaWiki-Installer, MW-1.26-release, Vector (legacy skin)
Ryan7273 added a comment to T119934: MW 1.26.0: Vector stylesheet doesn't load if temporary directory is unwritable.

It looks like it or a similar problem has been posted there since I posted this. They don't seem to have made it very far in regards to identifying what's wrong.
https://www.mediawiki.org/wiki/Topic:Stoyg4hvurar8zvj

Dec 1 2015, 2:19 PM · MW-1.27-release (WMF-deploy-2016-02-02_(1.27.0-wmf.12)), MW-1.27-release-notes, Patch-For-Review, Google-Code-In-2015, MediaWiki-Installer, MW-1.26-release, Vector (legacy skin)
Ryan7273 created T119934: MW 1.26.0: Vector stylesheet doesn't load if temporary directory is unwritable.
Dec 1 2015, 5:42 AM · MW-1.27-release (WMF-deploy-2016-02-02_(1.27.0-wmf.12)), MW-1.27-release-notes, Patch-For-Review, Google-Code-In-2015, MediaWiki-Installer, MW-1.26-release, Vector (legacy skin)