Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem installing 3.3.0
#1
Hello,

This is my first post in the forum. Congratulations for the very good effort. I have successfuly evaluated v3.0.0 and I find the software very appealing.

Nevertheless, I have not been able to successfully install v3.3.0. This is what goes on:

Issue:
Unsuccessful installation

Steps I have been through:
I created a database letodms and a user letodms, assigned the appropriate permissions and generated the tabled by running the create_tables.sql script.
I placed LetoDMS-3.3.0 in /var/www and renamed the directory to letodms.
I placed LetoDMS_Core-3.3.0 in /var/www.
I placed adodb5 in /var/www and renamed the directory to adodb.
I created a data directory within /var/www/letodms/ for evaluating purposes only (I understand the security risk involved for placing the data directory in the public directory). I created a staging and a lucene subdirectory within data/.
I changed ownership to apache user and set permissions appropriately for all the above recursively.
Then I navigated to the install page and filled in:
Root directory: /var/www/letodms/
Http root: /letodms/
Content directory: /var/www/data/
Dir for full text: /var/www/data/lucene/
Dir for uploads: /var/www/data/staging/
Core dir: /var/www/LetoDMS_Core-3.3.0/
ADOdb path: /var/www/
DB type: mysql
Server name: localhost
Database: letodms
User: letodms
Pass: pass

Error msg:
Quote:Warning: require_once(adodb/adodb.inc.php): failed to open stream: No such file or directory in /var/www/LetoDMS_Core-3.3.0/Core/inc.DBAccess.php on line 18 Fatal error: require_once(): Failed opening required 'adodb/adodb.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/LetoDMS_Core-3.3.0/Core/inc.DBAccess.php on line 18
in http://rofos/letodms/install/install.php (on local Intranet)

Version affecting: v3.3.0
PHP version: v5.3.2
MySQL version: 5.1.41
OS: Ubuntu Server 10.04.2

I have followed the installation instructions of the README files for as much I understood. I ignored other installation instructions like from the documentation as it seemed outdated.

I would kindly ask for your help. I see that I miss several niceties by using v3.0 and I am looking forward to getting to v3.3. Appreciated.

Kind Regards
Reply
#2
At least two others ran into the same problem you did. There's an assumption that adodb/adodb.php would be in the include path, but it's not.

Discussed in this thread: http://forums.letodms.com/showthread.php?tid=661

I modified inc.DBAccess.php to add the absolute path to the require_once().

Another approach might be to add the path to adodb.php to the include path with ini_set(), which I did for another issue (my pear packages are not in the default location). I did this in inc.Settings.php with the following line

ini_set('include_path', ini_get('include_path'). ':<path/to/pear>/php');
Reply
#3
Dear EricM,

To begin with, thank you very much for your reply, it is much appreciated. My apologies for repeating a same issue, but I did not find something similar with a quick scan of the threads. The one you kindly indicated me as far as I understand is mainly about another issue, at least at a first glance.

Nevertheless, your solution has been very helpful indeed. I applied your recommendation and the installation is up and working.

I find a slight issue with out.AddMultiDocument.php, for some reason it does not seem to work, nothing is diplayed at all. Is this dependant to some other library?

To be honest, I thought that a solution as such would be the one, but I didn't want to change something in core without consulting first.

There are some patches that I would like to contribute back, I will post to relevant subforums in time.

Thanks again,
Wtower
Reply
#4
(03-08-2012, 05:04 PM)Wtower Wrote: Dear EricM,

To begin with, thank you very much for your reply, it is much appreciated. My apologies for repeating a same issue, but I did not find something similar with a quick scan of the threads. The one you kindly indicated me as far as I understand is mainly about another issue, at least at a first glance.

Nevertheless, your solution has been very helpful indeed. I applied your recommendation and the installation is up and working.

I find a slight issue with out.AddMultiDocument.php, for some reason it does not seem to work, nothing is diplayed at all. Is this dependant to some other library?

To be honest, I thought that a solution as such would be the one, but I didn't want to change something in core without consulting first.

There are some patches that I would like to contribute back, I will post to relevant subforums in time.

out.AddMultiDocument.php contains a java applet if the jumploader is activated in the settings. Could that be the reason?

Uwe
Reply
#5
Dear Uwe,

My congratulations for the very nice work. You are right about that, the page on my machine does not load because of no java installed here. It works properly on Windows machines using Oracle Java and it looks very attractive too. Unfortunately, on two machines with Ubuntu Desktop 11.10 using openJDK, Firefox crashes.

To be honest I never quite much liked Java, but I am sure you have your reasons. I have implemented a small change on out.AddDocument.php of v3.0.0 to facilitate a drag and drop area for multiple files using JS, I will now adopt it to v3.3.0. If you are interested I would be happy to share.

Also, I would be happy to amend the installation documentation wiki if you wish so.

Kind Regards,
Wtower
Reply
#6
(03-08-2012, 09:49 PM)Wtower Wrote: To be honest I never quite much liked Java, but I am sure you have your reasons. I have implemented a small change on out.AddDocument.php of v3.0.0 to facilitate a drag and drop area for multiple files using JS, I will now adopt it to v3.3.0. If you are interested I would be happy to share.

The java app was the last resort, not just to upload multiple documents in one go but mainly to allow document sizes > 2 GB. Browser do have problems with it and the php upload size is a common limitation. The java app chops the file into pieces and letodms puts it back together. If it just were to upload multiple files I'd prefered a javascript solution. So, yes I'm interested.

Uwe
Reply
#7
kindly solve my issue also.
Reply
#8
I am very glad. EricM's reply was helpful indeed. I would recommend adding a reference to this thread as a reply to the thread you have opened earlier with title 'how to install letodms in linux'.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)