21
rifraff
Re: Document Management System (DMS) and Swish
  • 2005/2/14 18:43

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Quote:

rifraff wrote:
Quote:

MorelyDotes wrote:
Quote:

rifraff wrote:
Ok, try upgrading to version 0.98 and go to the DMS Configuration/Search Configuration screen and click on the "Write Configuration Files" button.

Yep, did that before the last post.

Quote:
Then, go to the repository directory and execute "swish-e -c swish-e.conf". See if that works.

The data is there, but it's not being displayed. If I comment out enough of the "if" statements, I can get a raw list of documents; it's just not printing the "massaged" data.

Quote:
Also, what version of SWISH-E are you using? It is possible that they changed the format of the output enough to break compatibility.


It's 2.4.3

Thanks!


Ok, I was able to download 2.4.3 today. I should be able to take a look at the problem on Wednesday. From your description, it appears that they changed the output of SWISH-E slightly and it broke compatibility.

Regards,

Brian Reifsnyder



Hello,

Ok, I was finally able to install 2.4.3 and test it. (I was sick last week and wasn't in the office...sorry.) The full text search is working fine for me.

Regards,

Brian Reifsnyder

22
MorelyDotes
Re: Document Management System (DMS) and Swish

Quote:
Ok, I was finally able to install 2.4.3 and test it. (I was sick last week and wasn't in the office...sorry.)


No, I'm sorry you were ill.

Quote:
The full text search is working fine for me.


It has to be a permissions issue, then. Can you tell me what permissions I *should* have on the repository? Or on the swish-e database files in the repository, in the event they're different?

23
rifraff
Re: Document Management System (DMS) and Swish
  • 2005/2/15 13:23

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Quote:

MorelyDotes wrote:
Quote:
Ok, I was finally able to install 2.4.3 and test it. (I was sick last week and wasn't in the office...sorry.)


No, I'm sorry you were ill.

Quote:
The full text search is working fine for me.


It has to be a permissions issue, then. Can you tell me what permissions I *should* have on the repository? Or on the swish-e database files in the repository, in the event they're different?



Hello,

It could be a permissions issue. Make sure that Apache has permissions to access the index files.

Regards,

Brian

24
MorelyDotes
Re: Document Management System (DMS) and Swish

Quote:

rifraff wrote:

It could be a permissions issue. Make sure that Apache has permissions to access the index files.


Thanks, Brian. That would be the userID that's in the httpd.conf file, right? (I don't want to change anything until I'm sure it's the right thing to change.)

25
rifraff
Re: Document Management System (DMS) and Swish
  • 2005/2/16 13:51

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Quote:

MorelyDotes wrote:
Quote:

rifraff wrote:

It could be a permissions issue. Make sure that Apache has permissions to access the index files.


Thanks, Brian. That would be the userID that's in the httpd.conf file, right? (I don't want to change anything until I'm sure it's the right thing to change.)


Hello,

In my httpd.conf file, there are 2 lines that set the User and Group to nobody. Find out what your httpd.conf file sets the User to and make sure that user has at least read access to the Swish-E index files. I am thinking that Apache probably executes Swish-E as the "nobody" user and that user requires access to the index files.

Brian

26
MorelyDotes
Re: Document Management System (DMS) and Swish

Quote:

rifraff wrote:
In my httpd.conf file, there are 2 lines that set the User and Group to nobody. Find out what your httpd.conf file sets the User to and make sure that user has at least read access to the Swish-E index files. I am thinking that Apache probably executes Swish-E as the "nobody" user and that user requires access to the index files.

Brian

That leaves me still baffled, then. The user and group in Apache are the owner(s) of the swish-e database. I can't imagine what else can be doing this.

27
rifraff
Re: Document Management System (DMS) and Swish
  • 2005/2/17 19:12

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Quote:

MorelyDotes wrote:
Quote:

rifraff wrote:
In my httpd.conf file, there are 2 lines that set the User and Group to nobody. Find out what your httpd.conf file sets the User to and make sure that user has at least read access to the Swish-E index files. I am thinking that Apache probably executes Swish-E as the "nobody" user and that user requires access to the index files.

Brian

That leaves me still baffled, then. The user and group in Apache are the owner(s) of the swish-e database. I can't imagine what else can be doing this.


For the swish-e database files, is the everyone permission set to at least read?

Also, just to double-check, on the search configuration screen, verify that the swish-e executable is in the path you have set. If you are using windows, don't forget to use something like "c:\swish-e" or whatever your path is.

Maybe if the path is wrong, swish-e isn't running at all?

Brian

28
MorelyDotes
Re: Document Management System (DMS) and Swish

Quote:

rifraff wrote:

For the swish-e database files, is the everyone permission set to at least read?


I'll chmod them to 777, just in case.

Quote:

Also, just to double-check, on the search configuration screen, verify that the swish-e executable is in the path you have set. If you are using windows, don't forget to use something like "c:\swish-e" or whatever your path is.


Windows? Is that one of those things that virus writers use to spread their products? ;) Don't want to start an OS war here, so if anyone has strong religious convictions on the subject of MS stock and the Church of Gates, please forgive me, assume I am a Bohemian anti-capitalist or whatever suits your fancy, and don't bother to flame me, because I Just Don't Care.

This is Debian "Sarge" just for the record. It might make it easier to guess what I'm doing wrong, now that you know that. I'll see if I can find one of those "whatcha got" templates in the Help forums and fill you in completely.

Quote:

Maybe if the path is wrong, swish-e isn't running at all?


Since I can get raw data if I comment out a lot of the php IF sections, I beleive it's running.

29
MorelyDotes
Re: Document Management System (DMS) and Swish

OK, here's the data from one of the "help me! help me!" templates:

PHP Version 4.3.10-2
MySQL Client API version 3.23.56
Apache/1.3.33 (Debian GNU/Linux)
Linux XOOPS 2.4.27-1-386 #1 Fri Sep 3 06:24:46 UTC 2004 i686
Swish-E version 2.4.3
Register Globals off
DB working for everything else
cron is running Swish-e to index files hourly. The Swish-e index files are changing appropriately. The files are owned by the anonymous Apache user (www-data).

30
tedsmith
Re: Document Management System (DMS) and Swish
  • 2005/2/25 15:45

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


This is the hardest module to configure I've ever seen?

I can't even work out the templates bit? I've created a templates folder, but then the ReadMe says 'and upload document templates to it....'. ??? What templates? Another modules? I've gone to the XOOPS Templates Manager and the module 'dms' is not listed at all, so how do I create the templates for the module?


Using version 0.98 - new install.

Login

Who's Online

231 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 231


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits