31
rifraff
Re: Document Management System (DMS) and Swish
  • 2005/2/4 14:02

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Quote:


However, I still have the problem of a lack of printed results. I uncommented the line (somewhere around line 171) in search_ft.php which prints the number of results retrieved, but there are still no actual results listed below the "Document(s) - Version" header.

Is there something I can do to fix this? I don't understand enough PHP yet to find the problem myself.

Incidentally, except for this (and the total lack of "lifecycles" definitions that make any sense to me), this module is ideal for my company's need to manage documents.


Hello,

The line you uncommented was debugging code. (There are many commented-out print statements that I left in to make it easier for me to debug. I usually remove them after several releases where I didn't use them.) Assuming that everything is configured correctly. The reason you should be not be seeing any results below the "Document(s) - Version" header is because you don't have the permissions to see them. The reason that it works like this (at this time) is because doing a full text search works backwards. In other words, the program determines what documents are available before it determines if you have the permissions to view the documents. If it determines that documents are available, then it displays the header. Only after the header is displayed does it determine if you can see them or not. I need to fix that.

I'll see if I can find the description I wrote regarding lifecycles and add it to the next readme.txt file.

Regards,

Brian Reifsnyder



32
rifraff
Re: Document Management System (DMS) and Swish
  • 2005/2/3 16:49

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Hello,

There are two files, _binfilter.sh and swish-e.conf, that will need to be copied to the top level of your repository. (The top level of your repository being the directory you configured for the repository.) You will then need to configure the swish-e.conf file as per the following example:

IndexDir /var/www/xoops/modules/dms/repository/
IndexFile /var/www/xoops/modules/dms/repository/index.swish-e
TruncateDocSize 100000
IndexReport 1
FileFilter .dat "/var/www/xoops/modules/dms/repository/_binfilter.sh" "'%p'"

Once that is done, you will be able to create the index with the following command:

swish-e -c /var/www/xoops/modules/dms/repository/swish-e.conf

The next release (0.98) will create both the _binfilter.sh and swish-e.conf files for you. I hope to be releasing the next version tomorrow.

Regards,

Brian Reifsnyder



33
rifraff
Re: Import Prob with DMS mod
  • 2005/2/2 13:48

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Hello,

1. Does Apache have read/write permissions to /var/tmp/upload?
2. Is the php.ini configured to accept uploads?
3. Are you able to upload smaller documents? If so, increase the upload file size in the php.ini file.
4. Is the repository path /www/xoops/modules/dms/repository? On my Linux boxes it is /var/www/xoops/modules/dms/repository. Double check this path.


Please let me know if any of these suggestions worked. I'll try to think of some more.

Regards,

Brian Reifsnyder



34
rifraff
Re: Please help DMS .097 import file error
  • 2005/1/31 17:51

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Hello,

The next release, version 0.98 will contain some troubleshooting information in the readme.txt file. However, looking at your error message, it appears that you have a trailing "/" in your repository path. That trailing slash is showing up in the "DP:" part of the error message between "repository" and "1". Your repository path should be: "/www/xoops/modules/dms/repository" not "/www/xoops/modules/dms/repository/".

Regards,

Brian Reifsnyder



35
rifraff
Re: My Document Mgt System module/script Quest
  • 2005/1/31 17:49

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Hello,

The next release, version 0.98 will contain some troubleshooting information in the readme.txt file. However, looking at your error message, it appears that you have a trailing "/" in your repository path. That trailing slash is showing up in the "DP:" part of the error message between "repository" and "1". Your repository path should be: "/www/xoops/modules/dms/repository" not "/www/xoops/modules/dms/repository/".

Regards,

Brian Reifsnyder



36
rifraff
Re: Please help DMS .097 import file error
  • 2005/1/19 16:14

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Hello,

The problem is most likely one of two things:

1. The repository path. Did you configure the repository path after installing the module?

2. Permissions. Does Apache have read/write permissions to the repository path?

If the repository path has been configured and Apache can read and write to the repository, then the problem is most likely with your configuration in the php.ini file.

Regards,

Brian Reifsnyder



37
rifraff
Re: Support for DMS anywhere?
  • 2004/12/19 0:12

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Hello,

The purpose of document routing is to route a link to a document to a user or users. To route a document, the receiving user must have an inbox created within the DMS. To create an inbox, first create a folder, apply owner permissions of that folder to the user who will be the owner of the inbox, and finally, click on the command button to convert the folder to an inbox. Then, documents can be routed to the user who owns the inbox that you just created.

Please do a search on both this web site andhttp://dev.xoops.org for an explanation of the lifecycle system.

Checked-out documents can be viewed, this is normal. But, a checked-out document cannot be modified in the DMS until the user who checked-out the document either checks in a new version or cancels the checked-out status of the document. It is possible, of course, to change the code such that checked-out documents cannot be viewed at all; but why would anyone want to?

It is probably better to post questions athttp://dev.xoops.org because I check that more frequently.

Regards,

Brian Reifsnyder



38
rifraff
Re: Support for DMS anywhere?
  • 2004/12/17 18:56

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Hello,

How can I help you with DMS? You can also go tohttp://dev.xoops.org and post a request for help in the forums.

Regards,

Brian Reifsnyder
DMS Developer



39
rifraff
Re: How i can use xoops as intranet system ?
  • 2004/12/7 19:31

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Ok, I installed MySQL 4.0.22, PHP 4.3.9, XOOPS 3.0.7.3, and DMS 0.97 and was able to import a document into the DMS. This is running on a slow Win 2K Prof. SP4 laptop with IIS 5.0. I also was able to create a document by using a template. So, all of the current file system php functions appear to be working successfully. I also installed the repository under c:\documents to ensure that it was outside of IIS's control. I guess it does work with Windows, after all.

Regards,

Brian Reifsnyder



40
rifraff
Re: How i can use xoops as intranet system ?
  • 2004/12/7 18:03

  • rifraff

  • Just popping in

  • Posts: 67

  • Since: 2003/4/16


Hello,

I just uploaded a .zip file of the latest release. Since filesystem paths are utilized when accessing the repository, the most likely problem I can think of would be the use of the "/" in the *nix world as opposed to the "\" in the MS world. Though, it is possible that PHP translates the slashes in the paths. I don't know. I have also seen some people state that it works on a Windows server.

I just downloaded the PHP modules, a .zip of Xoops, and the zip file I just uploaded. I will try it out myself on an Windows 2K/IIS/PHP/MySQL box and see what happens.

Regards,

Brian




TopTop
« 1 2 3 (4) 5 6 7 »



Login

Who's Online

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


Members: 0


Guests: 131


more...

Donat-O-Meter

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

Latest GitHub Commits