10-14-2012, 11:45 AM
Hi,
I tried to install letoDMS 3.4RC1 on a shared hosting account (dreamhost). Like with the 3.3.9 version I was running into troubles. I'm not sure if this has something to do with the pear installation or a genuine letoDMS.
During the installation process I get the following error message:
I'm not sure if this error is related to the pear installation. The dreamhost wiki says I have to include the following code in every php file using the pear package.
from the deamhost wiki page
I hope someone with more knowledge could point me in the right direction.
Many thanks
frank
I tried to install letoDMS 3.4RC1 on a shared hosting account (dreamhost). Like with the 3.3.9 version I was running into troubles. I'm not sure if this has something to do with the pear installation or a genuine letoDMS.
During the installation process I get the following error message:
Code:
Warning: require_once(adodb/adodb.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/frankmattes/dms.myvirology.net/LetoDMS_Core/Core/inc.DBAccess.php on line 22
Fatal error: require_once() [function.require]: Failed opening required 'adodb/adodb.inc.php' (include_path='.:/home/frankmattes/pear/php::.:/home/frankmattes/pear/php:.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/frankmattes/dms.myvirology.net/LetoDMS_Core/Core/inc.DBAccess.php on line 22
I'm not sure if this error is related to the pear installation. The dreamhost wiki says I have to include the following code in every php file using the pear package.
from the deamhost wiki page
Quote:To use local PEAR modules within your PHP, you need to alter the include_path setting to include your directory. This can be done as follows. This code has to go into every php script you write. If you have a bunch of pages, you should probably put it in a configuration file, which you include on every page.
set_include_path("." . PATH_SEPARATOR . ($UserDir = dirname($_SERVER['DOCUMENT_ROOT'])) . "/pear/php" . PATH_SEPARATOR . get_include_path());
Additionally, you may need to include the configuration file that you created. The configuration file includes variables for template and data path, which are required for some PEAR modules.
$pear_user_config = $UserDir . "/.pearrc";
I hope someone with more knowledge could point me in the right direction.
Many thanks
frank