OzzyCzech / icalparser

Simple ical parser for PHP
https://ozana.cz
BSD 3-Clause "New" or "Revised" License
59 stars 22 forks source link

Installation instructions #43

Closed whcrg closed 4 years ago

whcrg commented 4 years ago

Installed with composer:

Copied the example to testi.php and: PHP Fatal error: Class 'om\IcalParser' not found in /www/default/rislointra/testi.php on line 20

What else shoud be done? I am not familiar with composer at all, but the require_once dependency seems to be loaded since no error message on it.

Rotzbua commented 4 years ago

Environment information is missing...

But I can tell you that the current version is v0.2.6 not v0.1.1, which could be a hint that your php version is older than 5.6. If that is the case, then we are afraid for T-Rex :laughing: .

whcrg commented 4 years ago

The server seems to be some old ubuntu. Edit: wrong machine first. Correct is php -v: PHP 5.5.9-1ubuntu4.29

So here seems to be the most obvious problem. I'll find out if the server can be upgraded.

OzzyCzech commented 4 years ago

that can be, do not know how to verify this issue