Severity: 8192
Message: Function create_function() is deprecated
Filename: geshi/geshi.php
Line Number: 4698
Backtrace:
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: view/view.php
Line Number: 25
Backtrace:
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/themes/geocities/views/view/view.php
Line: 25
Function: _error_handler
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 173
Function: include
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 43
Function: _ci_load
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 700
Function: view
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: view/view.php
Line Number: 25
Backtrace:
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/themes/geocities/views/view/view.php
Line: 25
Function: _error_handler
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 173
Function: include
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 43
Function: _ci_load
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 700
Function: view
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: view/view.php
Line Number: 44
Backtrace:
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/themes/geocities/views/view/view.php
Line: 44
Function: _error_handler
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 173
Function: include
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 43
Function: _ci_load
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 700
Function: view
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
/** * Plugin helper API. */ var SC_NO_IMPLEMENTATION = "no_implementation"; var SC_FAILING_CHROME = "failing_chrome"; var SC_FAILING_NPAPI = "failing_npapi"; var SC_FAILING_BACKEND = "failing_backend"; var SC_NEW_VERSION = "new_version"; var SC_USER_CANCEL = "user_cancel"; //return version array [MAJOR, MINOR, BUILD] function parseVersion(value) { var version = [0, 0, 0]; var parts = value.split("."); var maxLength = Math.min(version.length, parts.length); for (i = 0; i < maxLength; i++) { var part = ''; var partChars = parts[i].split(''); for (j = 0; j < partChars.length; j++) { //collect numbers only if (!isNaN(parseInt(partChars[j], 10))) { part += partChars[j]; } else if (part.length > 0) { //invalid number break; } } // var partVersion = parseInt(part, 10); if (!isNaN(partVersion)) { version[i] = partVersion; } } return version; } //returns -1, 0, 1 function compareVersion(oldVersion, newVersion) { //compare MAJOR value var majorOld = (oldVersion.length >= 1) ? oldVersion[0] : 0; var majorNew = (newVersion.length >= 1) ? newVersion[0] : 0; if (majorNew > majorOld) { //true return 1; } else if (majorNew == majorOld) { //compare MINOR value var minorOld = (oldVersion.length >= 2) ? oldVersion[1] : 0; var minorNew = (newVersion.length >= 2) ? newVersion[1] : 0; if (minorNew > minorOld) { //true return 1; } else if (minorNew == minorOld) { //compare BUILD value var revOld = (oldVersion.length >= 3) ? oldVersion[2] : 0; var revNew = (newVersion.length >= 3) ? newVersion[2] : 0; if (revNew > revOld) { //true return 1; } else if (revNew == revOld) { //equal return 0; } } } //false return -1; } function getBackendError(type, resolvedVersion, requiredVersion) { if ((type === null) || (typeof type !== "string")) { //string expected, invalid implementation return SC_NO_IMPLEMENTATION; } // var typeLower = type.toLowerCase(); if (typeLower === SC_NO_IMPLEMENTATION) { return SC_NO_IMPLEMENTATION; } else if ((typeLower === SC_FAILING_CHROME) || (typeLower === SC_FAILING_NPAPI)) { return SC_FAILING_BACKEND; } else { var resolvedVersionArray = parseVersion(resolvedVersion); var requiredVersionArray = parseVersion(requiredVersion); if (compareVersion(resolvedVersionArray, requiredVersionArray) > 0) { return SC_NEW_VERSION; } } // return null; }
Title | Name | Language | UNIX | When |
---|---|---|---|---|
hwcrypto.js | login | javascript | 1550269426 | 6 Years ago. |