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

Parse error: syntax error, unexpected T_CLASS, expecting T_CATCH in /home/piwik/modules/Piwik.php on line 732 #5590

Closed
anonymous-matomo-user opened this issue Apr 4, 2008 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@anonymous-matomo-user
Copy link

I’ve uploaded the files to the server, when I access the piwik directory, I get this error:

Parse error: syntax error, unexpected T_CLASS, expecting T_CATCH in /home/piwik/modules/Piwik.php on line 732

I’ve verified that I do have PHP 5.2.2, MySQL 4.1.22, and PDO is enabled with these drivers (sqlite2, sqlite, mysql).

@mattab
Copy link
Member

mattab commented Apr 4, 2008

can you try to update your php version? It must be a php bug.

@anonymous-matomo-user
Copy link
Author

Replying to [matt](comment:1):

> can you try to update your php version? It must be a php bug.

I’ve replaced the files that were uploaded with a fresh extraction from the zip file. Everything works now. 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. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants