You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Security Tab in Settings Fatal error: Class 'Piwik_Http' not found in /home/nite/public_html/piw/plugins/SecurityInfo/PhpSecInfo/Test/Application/php.php on line 34
#2546
BugFor errors / faults / flaws / inconsistencies etc.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
When clicking on Security Tab in Settings Fatal error: Class 'Piwik_Http' not found in /home/piwik/public_html/plugins/SecurityInfo/PhpSecInfo/Test/Application/php.php on line 34
The class 'Piwik_Http' that class 'PhpSecInfo_Test_Application_Php' is trying to use doesnt appear to be loaded.
By adding class 'Piwik_Http' to '/plugins/SecurityInfo/PhpSecInfo/Test/Application/php.php' allows the method 'PhpSecInfo_Test_Application_Php' to use the class and then the Security Page page works.
Adding the following code before trying to use the class fixes the issue as a temporary solution:
if (!class_exists('Piwik_Http', false))
{
include(PIWIK_INCLUDE_PATH .'/core/Http.php');
}
Patch attached
I think some sort of check for dependent classes should be introduced and should fail during automated tests.
PHP 5.3 Piwik 1.5.1
Keywords: class extends doesnt exist
The text was updated successfully, but these errors were encountered:
BugFor errors / faults / flaws / inconsistencies etc.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
See reportings in http://forum.piwik.org/read.php?2,78979
When clicking on Security Tab in Settings Fatal error: Class 'Piwik_Http' not found in /home/piwik/public_html/plugins/SecurityInfo/PhpSecInfo/Test/Application/php.php on line 34
The class 'Piwik_Http' that class 'PhpSecInfo_Test_Application_Php' is trying to use doesnt appear to be loaded.
By adding class 'Piwik_Http' to '/plugins/SecurityInfo/PhpSecInfo/Test/Application/php.php' allows the method 'PhpSecInfo_Test_Application_Php' to use the class and then the Security Page page works.
Adding the following code before trying to use the class fixes the issue as a temporary solution:
if (!class_exists('Piwik_Http', false))
{
include(PIWIK_INCLUDE_PATH .'/core/Http.php');
}
Patch attached
I think some sort of check for dependent classes should be introduced and should fail during automated tests.
PHP 5.3 Piwik 1.5.1
Keywords: class extends doesnt exist
The text was updated successfully, but these errors were encountered: