Difference between revisions of "MediaWiki Visual Editor Parsoid 404 Error"

Wiki.TerraBase.info
Jump to navigation Jump to search
m (Root moved page MediaWiki Parsoid 404 Error to MediaWiki Visual Editor Parsoid 404 Error without leaving a redirect: ...forgot to include Visual Editor in the title)
Line 1: Line 1:
<div class="mw-parser-output"><div class="mw-parser-output">...OK, sometimes one can miss the simple basic things and in all the searching and reading I did on this subject no one ever broached this idea.  
<div class="mw-parser-output"><div class="mw-parser-output">...OK, sometimes one can get so wrapped up in the complexities of an issue the simple basic things are missed.  And in this instance, among all the really good technical suggestions I read for correcting the issue, no one ever broached the below simple idea idea.
 
== The Issue ==
I had successfully installed MediaWiki, an additional [[mediawikiwiki:Extension:WYSIWYG|WYSIWYG editor]], and as a final step I wanted to also configure the [[mediawikiwiki:VisualEditor|Visual Editor]].  To do that, one also needs to install the [[mediawikiwiki:Parsoid|Parsoid]] service (daemon, well in CentOS 7, they seem to now favor the term service) and get them 'talking' together.  So I did.  I got the Parsoid service working, and...
 
Two side notes here.  In my attempts to get the Parsoid service working I noticed that in my instance I could start the service and even if it didn't start correctly, it wouldn't notify me there was an error.  I had to manually check the status to discover it wasn't actually started.  So watch out for that item.  For me in CentOS 7.4, the command is: systemctl status parsoid  Another item I noticed was that the  OK, a third item I noticed was that a lot of the documentation I was reading had configuration references that were for older versions.  I was working with WikiMedia 1.3 and the Parsoid version available 1.14.2018.
 
== The Solution ==
== The Solution ==
</div> Well, it really isn't a solution per se, but rather a suggestion in the form of a question.&nbsp; <div class="mw-parser-output">
</div> Well, it really isn't a solution per se, but rather a suggestion in the form of a question.&nbsp; <div class="mw-parser-output">
Line 5: Line 11:


Have you checked your apache / HTTPD configuration?
Have you checked your apache / HTTPD configuration?
</div> I hadn't. And it turns out that was the issue. Specifically I had a simple typo in my httpd.conf file (I'm using CentOS 7.4, so the location and name of your Apache / HTTPD configuration file may vary. It may even be in multiple files.) that allowed me to view any page on the site, but didn't allow for editing with the Visual Editor.</div>
</div> I hadn't. And it turns out that was the issue. Specifically I had a simple typo in my httpd.conf file (I'm using CentOS 7.4, so the location and name of your Apache / HTTPD configuration file may vary. It may even be in multiple files.) that allowed me to view any page on the site, but didn't allow for editing with the Visual Editor.
</div>

Revision as of 08:16, 16 January 2018

...OK, sometimes one can get so wrapped up in the complexities of an issue the simple basic things are missed. And in this instance, among all the really good technical suggestions I read for correcting the issue, no one ever broached the below simple idea idea.

The Issue

I had successfully installed MediaWiki, an additional WYSIWYG editor, and as a final step I wanted to also configure the Visual Editor. To do that, one also needs to install the Parsoid service (daemon, well in CentOS 7, they seem to now favor the term service) and get them 'talking' together. So I did. I got the Parsoid service working, and...

Two side notes here. In my attempts to get the Parsoid service working I noticed that in my instance I could start the service and even if it didn't start correctly, it wouldn't notify me there was an error. I had to manually check the status to discover it wasn't actually started. So watch out for that item. For me in CentOS 7.4, the command is: systemctl status parsoid Another item I noticed was that the OK, a third item I noticed was that a lot of the documentation I was reading had configuration references that were for older versions. I was working with WikiMedia 1.3 and the Parsoid version available 1.14.2018.

The Solution

Well, it really isn't a solution per se, but rather a suggestion in the form of a question. 

The Question

Have you checked your apache / HTTPD configuration?

I hadn't. And it turns out that was the issue. Specifically I had a simple typo in my httpd.conf file (I'm using CentOS 7.4, so the location and name of your Apache / HTTPD configuration file may vary. It may even be in multiple files.) that allowed me to view any page on the site, but didn't allow for editing with the Visual Editor.