Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Revision History not working
#1
I created a WAMP server & installed OpenDocMan "community" 1.3.4, database version 1.3.0

All is basically working execpet I'm now attempting to retrieve prior versions.
I have 3 versions of the same document, but can't check out prior versions.

From "History", the URL is this:
http://192.168.33.11/opendocman/history....=1&state=3

When I click at "1", the URL is this:
http://192.168.33.11/opendocman/details...._0&state=2

When I click "view", the URL is this:
http://192.168.33.11/opendocman/view_fil..._0&state=3

"To view your file in the new window Click Here", the copied link address is this:
http://192.168.33.11/opendocman/view_fil...esentation

That link seems to regularly provide me with the "latest version".
The Download button provides the same latest version

In my data folder:
C:\Files\OpenDocManData\revisionDir\1

I can see there are 1_0.dat and 1_1.data files, which when renamed w/ a proper extension are the proper versions.


///If I use this workaround & copy the pasted link into my browser, I download get the proper file

Copy Link from: "To view your file in the new window Click Here"
and retrieve this link:
http://192.168.33.11/opendocman/view_fil...esentation

Edit that link to replace id=1 with this:
*&id=1_0&*

Then the first revision of the file downloads.

Any thoughts on whether I need to edit PHP to fix this or if I'm just missing something?


Forum Jump:


Users browsing this thread: 1 Guest(s)