Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error completing initial setup #5551

Closed
anonymous-matomo-user opened this issue Mar 6, 2008 · 8 comments
Closed

Error completing initial setup #5551

anonymous-matomo-user opened this issue Mar 6, 2008 · 8 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@anonymous-matomo-user
Copy link

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-matomo-user
Copy link
Author

Attachment: The error page after completing setup.
[piwik.html](http://issues.piwik.org/attachments/5551/piwik.html)

@mattab
Copy link
Member

mattab commented Mar 8, 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-matomo-user
Copy link
Author

Test commenting after test reopening ticket

@mattab
Copy link
Member

mattab commented Mar 9, 2008

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

@anonymous-matomo-user
Copy link
Author

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
Copy link
Member

mattab commented Mar 9, 2008

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

@anonymous-matomo-user
Copy link
Author

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 —>

  1. 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](name]) => Array ([=> Login,1(0]) => CoreAdminHome,[=> UsersManager,3(2]) => SitesManager,[=> Installation,5(4]) => CoreUpdater,[=> CorePluginsAdmin))) called at [/var/www/vhosts/ammonow.com/httpdocs/piwik/core/Config.php:184](6])
  2. Piwik_Config→__set(PluginsInstalled, Array ([=> Login,1(0]) => CoreAdminHome,[=> UsersManager,3(2]) => SitesManager,[=> Installation,5(4]) => CoreUpdater,[=> CorePluginsAdmin)) called at [/var/www/vhosts/ammonow.com/httpdocs/piwik/core/PluginsManager.php:444](6])
  3. Piwik_PluginsManager→installPluginIfNecessary(Piwik_CorePluginsAdmin Object ()) called at [/var/www/vhosts/ammonow.com/httpdocs/piwik/core/PluginsManager.php:110]
  4. Piwik_PluginsManager→installLoadedPlugins() called at [/var/www/vhosts/ammonow.com/httpdocs/piwik/core/FrontController.php:245]
  5. 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
Copy link
Member

mattab commented Mar 2, 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants