Loading...
 
Skip to main content

Architecture / Installation


Cannot redeclare class in pear/Date.php

Hello!

I've installed tikiwiki 1.9.2 and it has created all the neseccary tables without any error. Then it prompt me to log in and this was the only moment, I've seen tikiwiki's screen. Now it shows only blank pages. Apache writes in log this error:

PHP Fatal error: Cannot redeclare class date in lib/pear/Date.php on line 53

I saw this problem in different forums, but I haven't find any solution. Can you help me?

First understand I followed this tutorial before getting the same issue: InstallTikiOnFreeFr.
So I had to copy lib/pear/Date.php on a folder called session in the root of my account.
Hence a customized error message complaining about /sessions/Date.php instead of lib/pear/Date.php.

Modifying /sessions/Date.php gave me successful results, at least a running installation (this is my first attempt). I just tried to remove the whole Date "redeclaration" starting from line 52:

class Date
{
...
}

Hope this will help!