Fatal Error after install

After completing installation successfully, this page: index.php?action=&module=
…loads only this error:
Fatal error: Call to undefined function ctype_alnum() in /web/users/simon/publichtml/stats/piwik/core/FrontController.php on line 114

anyone have any ideas how I might fix this? thanks!

Hi Simon,

Welcome to the Piwik community forums!

You may have not completely uploaded the Piwik installation files. It looks like you are having problems when including an external php file.

Hi michaelc,

Thanks for your reply. I tried re-installing. This time, instead of unzipping on my local machine and uploading all the files, I unzipped piwik from the terminal on my server (to make sure all the files were getting installed). I got thru the installation again successfully, but then got the same error I mentioned in my first post.

Any other ideas? Is there a way to get a more verbose error that may help you troubleshoot with me?

Thanks!
Simon

maybe you’re using a php version with ctype disabled, check phpinfo();

i think it would be better to replace this function with an regexp. to avoid such threads style_emoticons/<#EMO_DIR#>/wink.gif

regards

Hi pebosi,

Thanks for your reply.

phpinfo shows:
’–enable-ctype=shared’
under Configure Command

So I guess that means it’s not disabled. Any other ideas?

what php version you’re using?

i’m using php version 5.2.6. i’ll attach my complete php info to this post.

try to add “extension=ctype.so” to your php.ini

also see http://forums.sun.com/thread.jspa?messageI…510924#10510924

regards

[quote=pebosi @ Jan 30 2009, 03:09 PM]try to add “extension=ctype.so” to your php.ini

also see http://forums.sun.com/thread.jspa?messageI…510924#10510924

regards[/quote]

thanks pebosi! that fixed it!

for all other’s: changeset 900 will do it for you - thanks matt!

regards