Edit report at https://bugs.php.net/bug.php?id=68404&edit=1

 ID:                 68404
 Updated by:         [email protected]
 Reported by:        jakoch at web dot de
 Summary:            Javascript Error on http://status.php.net/
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Website problem
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        salathe
 Block user comment: N
 Private report:     N

 New Comment:

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


Previous Comments:
------------------------------------------------------------------------
[2014-11-11 20:10:43] 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 19:24:07] 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...



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=68404&edit=1

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to