Loading...
 
Skip to main content

Architecture / Installation


Fatal error: Cannot redeclare class db in . . . . . . adodb-pear.inc.php

Hello all,

My web host uses php safe mode, unfortunately, so I followed the instructions at InstallTikiUnderSafeModeQuestion very closely. My detailed installation notes can be found hereQuestion, but the long and short of it is that I:
-Installed PEAR locally
-Changed var $use_sub_dirs = true; to var $use_sub_dirs = false; in smarty.class.php.
- Performed both "basedir tweaks" as instructed.

And I get the following error:
Fatal error: Cannot redeclare class db in /data/phx4/nfsn/content/cdunham/htdocs/tiki/lib/adodb/adodb-pear.inc.php on line 91

Any ideas?

did you have to install pear locally? Tiki 1.8.2 doesnt need as much of pear.

I think possibilty that local install is playing around with the adodb stuff

Damian

Hi Damian,

I don't know if I HAD to install pear locally, but I did since the safe mode installation instructions recomended it (and the server DOES have safe-mode issues).

I'm very new to all this, so I'm not quite sure what "playing around with adodb" would entail.

If this looks like a complicated issue, maybe I'll look in to setting up a server on an older computer so I can control the environment myself.
-Charlie'


Hi Damian,

I don't know if I HAD to install pear locally, but I did since the safe mode installation instructions recomended it (and the server DOES have safe-mode issues).

I'm very new to all this, so I'm not quite sure what "playing around with adodb" would entail.

If this looks like a complicated issue, maybe I'll look in to setting up a server on an older computer so I can control the environment myself.
-Charlie'