Topic on Project:Support desk

Edit button error - Viual Editor doesnt load

4
NaomiFromThisDay (talkcontribs)

I moved the wiki to a new server location and now when you click on the edit button you get an error and it doesnt open up.

[36608ab44f7e307376a5e9ba] Exception caught: Could not open '/home/user_13589/tmp_zswknl/mw-GlobalIdGenerator1021-UUID-128'.

For the moving proceedure I simply moved the files and database and changed LocalSettings to reflect the new server location. I also moved the temp file to outside of the website folders and relinked. The temp folder has the same permissions as it did on the other server.

This file '/home/user_13589/tmp_zswknl/mw-GlobalIdGenerator1021-UUID-12' does not exist in this location - it also isn't on the old server either. I wonder if there is another step I need to run to ensure everything works as it should? Or to recreate these missing files!

I can see visual editor is in the extensions folder and this is set

wfLoadExtension( 'VisualEditor' ); is set in the settings

On the help on here it says I will need to configure the parasoid settings but I can't find anything about parasoid in the file structure and no mention of any of the folders it says the file should be located.

  • /etc/mediawiki/parsoid/config.yaml

Is parasoid something I need to install somewhere? I feel as if there's a setup script or something I should be running?

Bawolff (talkcontribs)

Just delete /home/user_13589/tmp_zswknl/mw-GlobalIdGenerator1021-UUID-128 . The error means wrong permissions, but file will be recreated if deleted.

NaomiFromThisDay (talkcontribs)

Thanks for your suggestion, but that file does not exist in that location, nothing to delete! In that location I have the following files instead:

mw-GlobalIdGenerator-UID-nodeid

mw-GlobalIdGenerator-UUID-128

mw-GlobalIdGenerator1120-UID-nodeid

mw-GlobalIdGenerator1120-UUID-128

mw-GlobalIdGenerator2838-UID-nodeid

mw-GlobalIdGenerator2838-UUID-128

I tried temporarily moving them all but that did not change the outcome, I still get the same error message.

NaomiFromThisDay (talkcontribs)

I removed the line in LocalSettings which defined the temp directory and all seems to work now.

// $wgTmpDirectory = "/home/my/path/was/heref";

Reply to "Edit button error - Viual Editor doesnt load"