SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002242ClearOSapp-mail-routing - Mail Routingpublic2015-03-05 07:172021-01-18 05:45
Reporterbchambers 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product Version6.6.0 
Target VersionFixed in Version 
Summary0002242: New PHP settings causing pollution of log files
DescriptionCommand output: PHP Strict Standards: Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/Net/SMTP.php on line 450
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001388)
bchambers (administrator)
2015-03-05 10:23

Upon further investigation, looks like it's not just an issue with the Filter libraries used by ClearOS, but also upstream PEAR libraries, (LMPT.

Looks like we may build and maintain the package php-pear-Net-LMTP, so we could go and fix references to error function calls on static PEAR references in addition to cleaning up the Filter.*/Transport.php libraries which is easy to do.

If we don't want to go that far, recommend, changing error_reporting in Filter.php from:

ini_set('error_reporting', E_ALL ^ E_STRICT);

to:

ini_set('error_reporting', E_ALL & ~E_STRICT);

and adding this in the Transport.php file as well to quiet logging.
(0015261)
NickH (developer)
2021-01-18 05:45

7.x appears to work

- Issue History
Date Modified Username Field Change
2015-03-05 07:17 bchambers New Issue
2015-03-05 07:17 bchambers Status new => assigned
2015-03-05 07:17 bchambers Assigned To => bchambers
2015-03-05 10:23 bchambers Note Added: 0001388
2015-05-20 18:52 user2 Target Version 6.6.0 Updates => 6.7.0 Beta 1
2015-08-10 14:30 user2 Target Version 6.7.0 Beta 1 => 6.7.0 Updates
2015-09-04 15:01 bchambers Issue cloned: 0004912
2016-02-16 12:57 user2 Target Version 6.7.0 Updates => 6.8.0 Beta 1
2016-05-31 12:00 user2 Target Version 6.8.0 Beta 1 =>
2021-01-18 05:45 NickH Note Added: 0015261
2021-01-18 05:45 NickH Status assigned => closed
2021-01-18 05:45 NickH Assigned To bchambers =>
2021-01-18 05:45 NickH Resolution open => unable to reproduce

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7