Where did you download the package from? I will get it and install it myself and see what’s going on.
-
- 93 Posts
First from your website, then from the Modx website... It acctually appears to be just loading the same (parent) page. When I open the add file link in a new window or tab it just opens the page the Docman call is in. I have tried this in both IE and FF
This is very odd; I just downloaded it and installed it fresh, and it’s working as expected. Are you sure that you created the groups and users per the readme file? (although if not you shouldn’t see the menus at all)
Can you provide a link?
Very strange. I’ve sent you a PM.
You will also need to take care of a couple of bugs in the MODx parser,
http://modxcms.com/forums/index.php/topic,1942.msg20513.html#msg20513
If you don’t want to do that, you’ll need to put a couple of lines in your template head to include the docman css file and the javascript file:
assets/snippets/docman/js/selections.js
assets/snippets/docman/style/docman.css
I would also recommend adding this:
<!--[if lte IE 6]>
<style type="text/css" media="screen, tv, projection">
body { behavior: url(assets/js/csshover.htc); }
</style>
<script type="text/javascript" src="assets/js/sleight.js"></script>
<![endif]-->
I put that last in all my templates, it make IE play nice with dropdown menus and such.
The problem turned out to be a fault in my documentation. The snippet must be uncached; either put it in an uncached page or call it with the non-caching tags:
You might want to create a few categories before uploading any files. And make sure the data folder in the docman directory has full write permissions.
-
- 93 Posts
Well, fixed one problem. Now I get this on upload.
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: move_uploaded_file(/modx/assets/snippets/docman/data7.dat): failed to open stream: No such file or directory
Error type/ Nr.: Warning - 2
File: /Users/iumcwebmaster/modx/assets/snippets/docman/includes/add.php
Line: 33
Line 33 source: if (move_uploaded_file($_FILES[’file’][’tmp_name’], $uploadfile)) {
Parser timing
MySQL: 0.0571 s s (34 Requests)
PHP: 0.1320 s s
Total: 0.1891 s s