Loading...
 
Architecture / Installation

Architecture / Installation


PEAR shaped SourceForge installation.

posts: 2 United Kingdom

I've been trying to get Tiki installed in my project webspace but have been having some problems. I followed the instructions in the normal installation doc and also the additional sf.net instructions. I got all the way to the part in the print operations, the operations filed box shows:
-space- -square- -square- -space- -square- -square-

My trusty hex editor show me that the values are (in hex):
20 20 20 20 09 09 20 20 20 20 09 09

Clicking on the link to remove the script and proceed to tiki sticks me in tiki-index.php with the error:
Fatal error: Cannot redeclare class pear in /home/groups/a/ai/ai-world/htdocs/tiki/lib/pear/PEAR.php on line 67

Any ideas?

posts: 2881 United Kingdom

Ah the joys of sourceforge

My guess is that it wants to use the global pear rather than a local pear library. Never done a SF install myself tho

Damian


posts: 2 United Kingdom

I don't suppose anyone's done this before?

How would one fo about using the global pear rather than the local one?


posts: 59 Belgium

If you want to tell Tiki to use the local PEAR rather than the global PEAR (seems required for SF.NET hosted Tikis), you will have to edit the file db\tiki-db.php.

On line 8 you will find:
// $api_tiki = 'pear';

Uncomment this line and you're done!cool

EDIT 17/08/2004.
Sorry, that's not the solution either.
I'm still lost. I keep getting:

Fatal error: Cannot redeclare class pear in /home/groups/p/pc/pcrobots/htdocs/lib/pear/PEAR.php on line 67

Perhaps if mose has time to read his messages, we'll get help? confused