Help:Errors

From Proteopedia

Jump to: navigation, search

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 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.

Contents

XML error: Mismatched tag at line 1
XML error: XML_ERR_NAME_REQUIRED at line 1

  • When does it happen: This error appears following a (Save page) from an edit session.
  • 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 </scene>, or even a missing "<" or ">" sign, for example in "</scene" (where the final ">" was inadvertantly deleted). In May, 2021, the presence of '&' in the caption of a <Structure ... > 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.
    • If you are still in the same browser session in which you clicked the Save page button and saw the error, all you have to do is click the Back button of your browser. Now you will see the wikitext containing the error as it was just before you saved it. If you can find and correct the error, then save the page again.
    • If you are in a new browser session, you can still edit the page. For that, try accessing your page (don't pay attention to the XML error text). Now, slightly modify the URL on your browser replacing the / following index.php by ?title= and adding &action=edit after the name of your page, as shown in this example. Once done, press return on the url to open the page for editing:
http://proteopedia.org/wiki/index.php/MyCrashedPage
http://proteopedia.org/wiki/index.php?title=MyCrashedPage&action=edit
  • Once you have the page in edit mode, all you need to do is to add the missing tag or to remove the superfluous one.
  • If you cannot find the incorrect tag, click on the history tab at the top of the edit page. Now click on undo at the right end of the top item (the last save). You will be shown the comparision of the wikitext before and after the last save. Changes will be highlighted.
  • If you can find the error, click your browser's Back button twice to get back to the wikitext containing the error. Fix the error and save the page.
  • If you cannot find the error, go ahead and save the undo. You will lose changes made along with the change that created the error, but the error will be gone.

MySQL returned error "1062: Duplicate entry '123456789' for key 'PRIMARY'

  • What causes this error: One common cause is when you use PMID and DOI to cite the same paper more than once on the page.
  • When does it happen: This error appears following a (Save page) from an edit session.
  • 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 conflicting reference 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 fix it: See How to fix it above to know how to get back into the edit mode and fix the page.

We could not process your edit due to a loss of session data

The full message says

Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in.

just under the 'Preview' heading.

  • 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:
    • Clear the cache in your web browser and try again to save.
    • 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 action=purge to the url of the page (this will clear some cache in the Proteopedia web server). Examples to do this:
http://proteopedia.org/w/Pseudouridine?action=purge
http://proteopedia.org/wiki/index.php?title=Pseudouridine&action=purge
  • Some extra hints specific for solving a bug in Firefox.

Proteopedia Page Contributors and Editors (what is this?)

Eric Martz, Jaime Prilusky, Angel Herraez

Personal tools