php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68404 Javascript Error on http://status.php.net/
Submitted: 2014-11-11 19:24 UTC Modified: 2014-11-11 20:26 UTC
From: jakoch at web dot de Assigned: salathe (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2014-11-11 19:24 UTC] jakoch at web dot de
Description:
------------
Please browse: http://status.php.net/

The page has the following Javascript errors:
Uncaught ReferenceError: jQuery is not defined - jquery.qtip.min.js:13
Uncaught ReferenceError: $ is not defined 
Uncaught ReferenceError: $ is not defined  

They exist, because the qTip script is included before jQuery.
qTip is included somewhere in the middle, while jQuery is footer-included.

Solution: qTip inclusion must be moved behind jQuery inclusion.

Sorry, no patch included, because i couldn't find the git repo where status.php.net lives. Anyway, easy fix...


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-11-11 20:10 UTC] cmbecker69 at gmx dot de
> while jQuery is footer-included

Actually, both jQuery 2.1.1 and 1.3.2 are loaded, the latter most
likely overriding the former definition, what makes available a
very old jQuery version.
 [2014-11-11 20:26 UTC] salathe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: salathe
 [2014-11-11 20:26 UTC] salathe@php.net
qtip wasn't being used anyway, so I've removed it and tidied up the JS side of things.

For reference, the code for status.php.net is in the /network/status folder [1] of the web/master.git repo.

[1] http://git.php.net/?p=web/master.git;a=tree;f=network/status
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 22:00:02 2025 UTC