@anonymous-piwik-user opened this issue on March 6th 2008

I get an error while trying to complete the initial setup. Once I attempt to complete the setup, it shows a couple of "Object of class Zend_Config could not be converted to int in /var/www/aliases/piwik/modules/Config.php on line 134 " errors.

If I ignore those messages and proceed to login, the dashboard appears, but the stats are unavailable.

I downloaded the latest release of Piwik from http://piwik.org/last.zip.

I'm attaching the error messages. Keywords: setup

@anonymous-piwik-user commented on March 6th 2008

Attachment: The error page after completing setup. piwik.html

@mattab commented on March 8th 2008

I think it comes from the fact that you were doing an update from an old piwik?

try to delete all your configuration files (including config/global.ini.php), upload the new piwik, reinstall everything. is it better?

@anonymous-piwik-user commented on March 9th 2008

Test commenting after test reopening ticket

@mattab commented on March 9th 2008

If you still encounted a problem, please reopen the ticket.

@anonymous-piwik-user commented on March 9th 2008

I was doing a fresh install when the problem happened.

I did, however, speak too soon about the unavailable stats. The stats are there, but they take a little while to appear.

I'll reopen the ticket if I notice anymore problems with respect to this, I'll reopen the ticket.

Thanks.

@mattab commented on March 9th 2008

Can you please send your config files (config.ini.php and global.ini.php) by email at matthieu att piwik.org ?

@anonymous-piwik-user commented on March 2nd 2009

I get the same error as the other user:

Notice: Object of class Zend_Config could not be converted to int in /var/www/vhosts/ammonow.com/httpdocs/piwik/core/Config.php on line 184

Backtrace --> #0 Piwik_ErrorHandler(8, Object of class Zend_Config could not be converted to int, /var/www/vhosts/ammonow.com/httpdocs/piwik/core/Config.php, 184, Array ([=> PluginsInstalled,value => Array ([=> Login,1 => CoreAdminHome,[=> UsersManager,3 => SitesManager,[=> Installation,5 => CoreUpdater,[=> CorePluginsAdmin))) called at /var/www/vhosts/ammonow.com/httpdocs/piwik/core/Config.php:184 #1 Piwik_Config->__set(PluginsInstalled, Array ([=> Login,1 => CoreAdminHome,[=> UsersManager,3 => SitesManager,[=> Installation,5 => CoreUpdater,[=> CorePluginsAdmin)) called at /var/www/vhosts/ammonow.com/httpdocs/piwik/core/PluginsManager.php:444 #2 Piwik_PluginsManager->installPluginIfNecessary(Piwik_CorePluginsAdmin Object ()) called at [/var/www/vhosts/ammonow.com/httpdocs/piwik/core/PluginsManager.php:110] #3 Piwik_PluginsManager->installLoadedPlugins() called at [/var/www/vhosts/ammonow.com/httpdocs/piwik/core/FrontController.php:245] #4 Piwik_FrontController->init() called at [/var/www/vhosts/ammonow.com/httpdocs/piwik/index.php:49]

If I comment out the offending if statement on that line, everything works fine, no errors, and can log in and see stats. I'll email my config file to the address listed above.

@mattab commented on March 2nd 2009

xtort, can you please try with latest Piwik 0.2.32 and file a new ticket if you have an issue? thanks

This issue was closed on August 4th 2009
Powered by GitHub Issue Mirror