Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to install letodms in linux
#55
(04-23-2012, 09:35 PM)IAmTurok Wrote: - But, looking at the PHP error logs (e.g. in CentOS /var/log/httpd/error_log), I found this error:
[error] [client 127.0.0.1] PHP Warning: require_once(adodb/adodb.inc.php): failed to open stream: No such file or directory in /var/www/html/letodms/Core/inc.DBAccess.php on line 18, referer: http://localhost/letodms/install/install.php

- Looking at the file, /var/www/html/letodms/Core/inc.DBAccess.php on line 18, it has:
require_once "adodb/adodb.inc.php";

- This looks wrong to me, because inc.DBAccess.php exists in the Core subfolder, and therefore cannot find the adodb folder, which is /var/www/html/letodms/adodb (in my case), and better to be there so it is found by all php scripts.

- I believe the line requires a fully qualified path name to make sure it finds the correct location of /var/www/html/letodms/adodb/adodb.inc.php. For example, the line should/could be:
update.php:require_once($settings->_ADOdbPath."adodb/adodb.inc.php");

That is strange, because in inc/inc.DBInit.php the php include path is extended by the adodb path set in settings->_ADOdbPath

LetoDMS_Core/Core/inc.DBAccess.php is included afterwards when the include path has been modified already. It would be interesting to see what your include path is before adodb/adodb.php is included.

Uwe
Reply


Messages In This Thread
how to install letodms in linux - by sappu - 03-14-2012, 11:06 AM

Forum Jump:


Users browsing this thread: