LetoDMS Community Forum
how to install letodms in linux - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: Installation Problems (https://community.letodms.com/forumdisplay.php?fid=9)
+--- Thread: how to install letodms in linux (/showthread.php?tid=462)

Pages: 1 2 3 4 5 6


RE: how to install letodms in linux - IAmTurok - 04-21-2012

Hi Sappu,

Good luck on Ubuntu, hopefully after all that work, you get it running. Any questions, let me know. On Ubuntu, one step I did not mention was Apache rewrite enabled, which if I remember correctly is done by "sudo a2enmod rewrite".

I've not tried any other DMS applications yet, though am thinking I might give http://www.opendocman.com/ or http://www.xinco.org/ a go. As I said, I have not tried either, so cannot recommend anything at this time.

Writing installers may not be the most interesting for developers, but considering it's the first thing everyone sees, LetoDMS needs more work. Given what little the installer has to do during the installation (DB tables and settings.xml basic minimal), that part should work seamlessly.

IAT.

(04-21-2012, 11:17 AM)sappu Wrote: after all these long hard work on installing on centos .. i decided to install it on ubantu machine...on centos its just waste of time.with no output.
i reteired my self installing letodms on centos.
now will try on ubantu.

thanks for helping me and with me in solving ....
well did u know any good DMS application for linux raither then letodms.
which really works.




RE: how to install letodms in linux - steinm - 04-23-2012

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

(04-21-2012, 03:13 PM)IAmTurok Wrote: Hi Sappu,

Good luck on Ubuntu, hopefully after all that work, you get it running. Any questions, let me know. On Ubuntu, one step I did not mention was Apache rewrite enabled, which if I remember correctly is done by "sudo a2enmod rewrite".

I've not tried any other DMS applications yet, though am thinking I might give http://www.opendocman.com/ or http://www.xinco.org/ a go. As I said, I have not tried either, so cannot recommend anything at this time.

Writing installers may not be the most interesting for developers, but considering it's the first thing everyone sees, LetoDMS needs more work. Given what little the installer has to do during the installation (DB tables and settings.xml basic minimal), that part should work seamlessly.

IAT.

(04-21-2012, 11:17 AM)sappu Wrote: after all these long hard work on installing on centos .. i decided to install it on ubantu machine...on centos its just waste of time.with no output.
i reteired my self installing letodms on centos.
now will try on ubantu.

thanks for helping me and with me in solving ....
well did u know any good DMS application for linux raither then letodms.
which really works.




RE: how to install letodms in linux - IAmTurok - 04-23-2012

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.

(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




RE: how to install letodms in linux - EricM - 04-24-2012

Interesting. I ran into the same problem installing on Linux, but the error was visible in Firefox. I probably have adodb installed in a non-standard place. To fix it, I edited inc.DBAccess.php to have the full path of adodb.php.

IAT, I like your suggestion of using $settings->_ADOdbPath. I'm going to give it a try.

-EricM

(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




RE: how to install letodms in linux - steinm - 04-25-2012

(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