MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005547ACheckerAChecker web sitepublic2014-10-07 14:072017-07-17 08:49
Reportercindy 
Assigned To 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0005547: Upgrade AChecker for the new PHP version 5.5.12
DescriptionAccording to a user report, AChecker has problem working with the new PHP v5.5.12. It needs to be upgraded and tested thoroughly for the new version. The fix might go beyond what the user has reported.

What's been reported by the user:

I installed the achecker webapplication on my WAMP-server. The code provided by you is not complient with the latest PHP-version 5.5.12. If it is OK with you i will tell you how to fix those problems:

BasicChecks.class.php:
Line 700: BasicChecks::find_all_headers($e->children(), &$header_array);
has to be: BasicChecks::find_all_headers($e->children(), $header_array);

DAO.class.php:
replace all "$this->db" to "self::$db"

header.tmpl.php:
Line 142: <?php if (isset($this->back_to_page)): ?>
has to be: <?php if (isset($this->back_to_page['url'])): ?>
TagsNo tags attached.
SVN Revision#
Attached Files

- Relationships

-  Notes
(0007059)
cindy (administrator)
2015-06-25 10:36

We should set the latest PHP version, 5.6.2, as the new target.
(0007650)
cindy (administrator)
2017-07-17 08:48
edited on: 2017-07-17 08:49

When running AChecker with the new PHP 7.1.1, a blank page is shown at loading the AChecker home page because of these PHP errors:

[17-Jul-2017 14:43:44 Europe/Berlin] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DAO has a deprecated constructor in /.../include/classes/DAO/DAO.class.php on line 22
[17-Jul-2017 14:43:44 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /.../include/classes/DAO/DAO.class.php:31
Stack trace:
#0 /.../include/vitals.inc.php(113): DAO->DAO()
0000001 /.../index.php(16): include('/...')
0000002 {main}
  thrown in /.../include/classes/DAO/DAO.class.php on line 31


- Issue History
Date Modified Username Field Change
2014-10-07 14:07 cindy New Issue
2015-06-25 10:36 cindy Note Added: 0007059
2017-07-17 08:48 cindy Note Added: 0007650
2017-07-17 08:49 cindy Note Edited: 0007650 View Revisions


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker