04-23-2012, 09:35 PM
Hi Uwe,
Agreed, more information is always good. I've been looking at this a little more today, and I can give you my thinking at this time.
Here's what I believe is happening, but I stand to be corrected:
- During installation, after you supply all the various fields (Data, Core, Luecen, ADO folders, and DB settings) and then hit Apply, a blank screen appears.
- Using Web console, it is typically a HTTP 500 error, not very helpful.
- 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's my thinking at this time anyway, and it helps explain why manually creating the DB and editing the config files works fine.
IAT.
Agreed, more information is always good. I've been looking at this a little more today, and I can give you my thinking at this time.
Here's what I believe is happening, but I stand to be corrected:
- During installation, after you supply all the various fields (Data, Core, Luecen, ADO folders, and DB settings) and then hit Apply, a blank screen appears.
- Using Web console, it is typically a HTTP 500 error, not very helpful.
- 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's my thinking at this time anyway, and it helps explain why manually creating the DB and editing the config files works fine.
IAT.
(04-23-2012, 04:15 PM)steinm Wrote: Hi,
I would very appreciate if I got more information on what exactly doesn't work during installation. It does not help to write that it doesn't work.
On Ubuntu one should use the debian packages available in Debian testing an possibly in Ubuntu.
Uwe