Menu

#4828 (ok 4.4.1) JavaScript is loaded in wrong order

4.4.0
fixed
Low
2015-04-07
2015-04-01
No

Sometimes, when refreshing a page, users occur errors like Error: Token Mismatch or Uncaught ReferenceError: ... is not defined because phpMyAdmin does not initialize properly. When navigating from one page to another this problem does not occur because a part of the old session is being preserved.

For example, if I refresh a "Browse" page I get the errors you can see in the attached screenshot. I think that one error is the cause for the other one.

In my situation, CodeMirror is required, but it does not exist so it tries to send an error report via error_report.php. A valid error report requires a token that has not been set yet because PMA_commonParams.setAll({"token": ... }) is called after.

1 Attachments

Discussion

  • Madhura Jayaratne

    • assigned_to: Madhura Jayaratne
    • Group: Latest_Git --> 4.4.0
     
  • Madhura Jayaratne

    • summary: JavaScript is loaded in wrong order --> (ok 4.4.1) JavaScript is loaded in wrong order
    • status: open --> resolved
    • Priority: Normal --> Low
     
  • Marc Delisle

    Marc Delisle - 2015-04-07
    • Status: resolved --> fixed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.