View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005547ACheckerAChecker web sitepublic2014-10-07 14:072018-02-16 16:33
Assigned To 
PrioritynormalSeveritymajorReproducibilityhave not tried
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:

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

replace all "$this->db" to "self::$db"

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
cindy (administrator)
2015-06-25 10:36

We should set the latest PHP version, 5.6.2, as the new target.
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/ DAO->DAO()
0000001 /.../index.php(16): include('/...')
0000002 {main}
  thrown in /.../include/classes/DAO/DAO.class.php on line 31

sayaksen (reporter)
2018-02-16 16:33

Hi cindy, I can update the above mentioned lines. It seems that BasicChecks.class.php and header.tmpl.php is already updated as per the instruction. Although DAO.class.php was not updated, I've made the necessary changes and submitted a pull request on GitHub.

- 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
2018-02-16 16:33 sayaksen Note Added: 0007748

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker