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
BugFor errors / faults / flaws / inconsistencies etc.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.
I completely removed piwik, and checked out the svn. The initial configuring of piwik went just fine, and reported success. On the screen where I was presented with a place to log in (the url reads index.php?action=&module=&deleteTables=1) there is an error message that repeats 13 times:
```
Notice: Object of class Zend_Config could not be converted to int in /var/www/vhosts/ammonow.com/httpdocs/stats/core/Config.php on line 186
Backtrace —>
Piwik_ErrorHandler(8, Object of class Zend_Config could not be converted to int, /var/www/vhosts/ammonow.com/httpdocs/stats/core/Config.php, 186, Array ([name] => PluginsInstalled,[value] => Array (0 => Login,1 => CoreAdminHome,2 => UsersManager,3 => SitesManager,4 => Installation,5 => CoreUpdater,6 => CorePluginsAdmin))) called at [/var/www/vhosts/ammonow.com/httpdocs/stats/core/Config.php:186]
Piwik_Config→__set(PluginsInstalled, Array (0 => Login,1 => CoreAdminHome,2 => UsersManager,3 => SitesManager,4 => Installation,5 => CoreUpdater,6 => CorePluginsAdmin)) called at [/var/www/vhosts/ammonow.com/httpdocs/stats/core/PluginsManager.php:444]
Piwik_PluginsManager→installPluginIfNecessary(Piwik_CorePluginsAdmin Object ()) called at [/var/www/vhosts/ammonow.com/httpdocs/stats/core/PluginsManager.php:110]
Piwik_PluginsManager→installLoadedPlugins() called at [/var/www/vhosts/ammonow.com/httpdocs/stats/core/FrontController.php:245]
Piwik_FrontController→init() called at [/var/www/vhosts/ammonow.com/httpdocs/stats/index.php:50]
```
Then there is the same error with a longer backtrace:
```
Notice: Object of class Zend_Config could not be converted to int in /var/www/vhosts/ammonow.com/httpdocs/stats/core/Config.php on line 186
Backtrace —>
Piwik_ErrorHandler(8, Object of class Zend_Config could not be converted to int, /var/www/vhosts/ammonow.com/httpdocs/stats/core/Config.php, 186, Array ([name] => PluginsInstalled,[value] => Array (0 => Login,1 => CoreAdminHome,2 => UsersManager,3 => SitesManager,4 => Installation,5 => VisitorInterest))) called at [/var/www/vhosts/ammonow.com/httpdocs/stats/core/Config.php:186]
Piwik_Config→__set(PluginsInstalled, Array (0 => Login,1 => CoreAdminHome,2 => UsersManager,3 => SitesManager,4 => Installation,5 => VisitorInterest)) called at [/var/www/vhosts/ammonow.com/httpdocs/stats/core/PluginsManager.php:444]
Piwik_PluginsManager→installLoadedPlugins() called at [/var/www/vhosts/ammonow.com/httpdocs/stats/core/FrontController.php:245]
Piwik_FrontController→init() called at [/var/www/vhosts/ammonow.com/httpdocs/stats/index.php:50]
```
Then more of the first type, and then a few errors about headers already being sent:
```
Warning: Cannot modify header information – headers already sent by (output started at /var/www/vhosts/ammonow.com/httpdocs/stats/libs/Zend/Log/Writer/Stream.php:95) in /var/www/vhosts/ammonow.com/httpdocs/stats/core/View.php on line 109
Php is reasonably up to date, but I’ve never had any experience with this Zend engine, and I notice “Zend” in the error. I’m hesitant to try to upgrade this Zend, since this is on a managed server, but will try if you think it could help. I run piwik 2.28 on another project, but on the same server, with no issues.
Commenting out the offending if statement in Config.php makes everything happy:
if($this→userConfig→$name != $value)
{
$this→configFileUpdated = true;
}
I hope this information helps, and I am more than happy to try out fixes or give more information. Thanks!
The text was updated successfully, but these errors were encountered:
xtor,
it’s not a problem with your server but a problem with Piwik.
can you please svn update to the latest revision, delete your piwik database, delete your config/config.ini.php and try again? i’ve fixed a bug related to config a few hours ago. if it still fails I will investigate
BugFor errors / faults / flaws / inconsistencies etc.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.
I completely removed piwik, and checked out the svn. The initial configuring of piwik went just fine, and reported success. On the screen where I was presented with a place to log in (the url reads index.php?action=&module=&deleteTables=1) there is an error message that repeats 13 times:
```
Notice: Object of class Zend_Config could not be converted to int in /var/www/vhosts/ammonow.com/httpdocs/stats/core/Config.php on line 186
Backtrace —>
```
Then there is the same error with a longer backtrace:
```
Notice: Object of class Zend_Config could not be converted to int in /var/www/vhosts/ammonow.com/httpdocs/stats/core/Config.php on line 186
Backtrace —>
```
Then more of the first type, and then a few errors about headers already being sent:
```
Warning: Cannot modify header information – headers already sent by (output started at /var/www/vhosts/ammonow.com/httpdocs/stats/libs/Zend/Log/Writer/Stream.php:95) in /var/www/vhosts/ammonow.com/httpdocs/stats/core/View.php on line 109
Backtrace —>
```
I do get the login box at the bottom of those error messages. When I try to log in, I get only those same error messages.
-sh-3.2$ php —version
PHP 5.1.6 (cli) (built: Jul 16 2008 19:53:00)
Copyright © 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright © 1998-2006 Zend Technologies
Php is reasonably up to date, but I’ve never had any experience with this Zend engine, and I notice “Zend” in the error. I’m hesitant to try to upgrade this Zend, since this is on a managed server, but will try if you think it could help. I run piwik 2.28 on another project, but on the same server, with no issues.
Commenting out the offending if statement in Config.php makes everything happy:
I hope this information helps, and I am more than happy to try out fixes or give more information. Thanks!
The text was updated successfully, but these errors were encountered: