Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
installation error/bug
10-14-2012, 11:45 AM,
#1
installation error/bug
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:
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
Reply
10-14-2012, 02:16 PM,
#2
RE: installation error/bug
(10-14-2012, 11:45 AM)fmm Wrote: 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:
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

As the error message says, adodb.php cannot be found. You should set the path to adodb in the configuration. I assume adodb is available on your system at all.

Uwe
Reply
10-15-2012, 05:05 PM,
#3
RE: installation error/bug
Dear Uwe,

Quote:As the error message says, adodb.php cannot be found. You should set the path to adodb in the configuration. I assume adodb is available on your system at all.
Uwe

I had also problems with the adodb path during installation of version 3.3.9.

I have unpacked adodb package in my webserver directory where also letodms sits

Code:
/path to web_directory/letodms
/path to web_webdirectory/adodb

I addded the path into the installation mask during the installation. I thank get the following error:

Code:
Error
ADOdb Path : Not found
=> Current value : /home/frankmattes/dms.myvirology.net/adodb/
=> Install ADOdb

If I change the path to adodb just to the root of the of the webdirectory with

Code:
/path to web_webdirectory/

receive the following error messages.

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

In both cases as you pointed out, the installed adodb is not recognized. I would very much appreciate any help.

frank
Reply
10-15-2012, 05:54 PM,
#4
RE: installation error/bug
(10-15-2012, 05:05 PM)fmm Wrote:
Code:
Error
ADOdb Path : Not found
=> Current value : /home/frankmattes/dms.myvirology.net/adodb/
=> Install ADOdb

If I change the path to adodb just to the root of the of the webdirectory with

Code:
/path to web_webdirectory/

receive the following error messages.

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

In both cases as you pointed out, the installed adodb is not recognized. I would very much appreciate any help.

Your php include path doesn't contain /home/frankmattes/dms.myvirology.net. What is the value of ADOdbPath in your configuration?

Uwe
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Contact Us | LetoDMS Community Forum | Return to Top | | Lite (Archive) Mode | RSS Syndication