Help:Errors: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Jaime Prilusky (talk | contribs)
No edit summary
Eric Martz (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page discusses a few common errors that you might encounter when editing pages. For help with other technical problems when editing, feel free to [[Help:Contact Us|contact us]], or subscribe to and post questions on the [[Proteopedia:Email list]]. For a guide to the many help pages in Proteopedia, see [[Help:Contents]].
__TOC__
__TOC__
== XML error: Mismatched tag at line 1<br>XML error: XML_ERR_NAME_REQUIRED at line 1 ==
== XML error: Mismatched tag at line 1<br>XML error: XML_ERR_NAME_REQUIRED at line 1 ==
Line 5: Line 6:
*'''How to avoid it''': Always do a (Show preview) before actually saving the page. If you see the error, use your browser's back button to get back to the wikitext box, where you can look for the mismatched tag to fix it. If you cannot find the mismatched tag, one option is to click ''Cancel'' so the changes that caused the error are not saved. You will lose any changes you made since the previous save, but the error will be gone.
*'''How to avoid it''': Always do a (Show preview) before actually saving the page. If you see the error, use your browser's back button to get back to the wikitext box, where you can look for the mismatched tag to fix it. If you cannot find the mismatched tag, one option is to click ''Cancel'' so the changes that caused the error are not saved. You will lose any changes you made since the previous save, but the error will be gone.


*'''What causes this error''': A mismatched tag, like a missing closing &lt;/scene>, or even a missing "&lt;" or "&gt;" sign, for example in "&lt;/scene" (where the final "&gt;" was inadvertantly deleted).
*'''What causes this error''': A mismatched tag, like a missing closing &lt;/scene>, or even a missing "&lt;" or "&gt;" sign, for example in "&lt;/scene" (where the final "&gt;" was inadvertantly deleted). In May, 2021, the presence of '&' in the caption of a &lt;Structure ... &gt; tag at [[Cystine]] also caused this error. Replacing the '&' with 'and' corrected the problem.


*'''How to fix it''': Lets assume that you saved the page with the mismatched tag error, so all you can see is the XML Error message. Don't worry. You can still open the page in ''edit'' mode and fix it.
*'''How to fix it''': Lets assume that you saved the page with the mismatched tag error, so all you can see is the XML Error message. Don't worry. You can still open the page in ''edit'' mode and fix it.
Line 34: Line 35:
*'''When does it happen''': This error appears following a (Save page) from an edit session.
*'''When does it happen''': This error appears following a (Save page) from an edit session.


*'''How to fix it''': First of all, select all contents in the edit box, copy and paste into a safe location (a new plain text file outside the browser) to avoid loosing your work. That will be your backup copy. Then, try one or more of these:
*'''How to fix it''': First of all, select all contents in the edit box, copy and paste into a safe location (a new [[Help:Plain text editors|plain text file]] outside the browser) to avoid loosing your work. That will be your backup copy. Then, try one or more of these:
**Clear the cache in your web browser and try again to save.
**Clear the cache in your web browser and try again to save.
**Follow the advice in the error: cancel the edition, close your Proteopedia session (log out), then reopen your session (log in), go to the page, edit it again, clear all content and paste your backup text. Click the Save button.
**Follow the advice in the error: cancel the edit, close your Proteopedia session (log out), then reopen your session (log in), go to the page, edit it again, clear all content and paste your backup text. Click the Save button.
**Add <code>action=purge</code> to the url of the page (this will clear some cache in the Proteopedia web server). Examples to do this:
**Add <code>action=purge</code> to the url of the page (this will clear some cache in the Proteopedia web server). Examples to do this:
  <nowiki>http://proteopedia.org/</nowiki>w/Pseudouridine<span style="color:red;">?action=purge</span>
  <nowiki>http://proteopedia.org/</nowiki>w/Pseudouridine<span style="color:red;">?action=purge</span>
  <nowiki>http://proteopedia.org/</nowiki>wiki/index.php?title=Pseudouridine<span style="color:red;">&action=purge</span>
  <nowiki>http://proteopedia.org/</nowiki>wiki/index.php?title=Pseudouridine<span style="color:red;">&action=purge</span>
:*Some [https://www.mediawiki.org/wiki/Firefox_users_and_session_loss_bug extra hints] specific for solving a bug in Firefox.
:*Some [https://www.mediawiki.org/wiki/Firefox_users_and_session_loss_bug extra hints] specific for solving a bug in Firefox.