Community Support for OpenDocMan (Deprecated)

Full Version: Please upload a valid document
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
fabiomonster
2005-09-16 07:31:35 PDT
hi,
i'm new to opendocman. I've done a new installation but i've got some problems uploading files.

I logged in as administrator account(but with a common account is the samething)
I've clicked ADD button
browse
selected the file (a simple txt)
I've filled all fields n the add page
when I click on confirmation button it returned an error "Please upload a valid document."

now, if I try to upload the same document using the demo on the website, it says everything is allright, so I think it's not a document related problem.
so...why I can't upload any kind of file?
someone have retrieved the same error?

thanks

P.S. I'm sorry for my bad english


fabiomonster
2005-09-16 07:37:34 PDT
as server, I use a redhat9 with installed php 4.2.2 and mysql 3.23.54a.

as client I've tryed to do uploads from mozzilla-firefox(win & lnx), conqueror(suse 9.2), IE 6 (lynk not yet tyed Big Grin)


znoobz
2006-08-15 16:47:06 PDT
I get the same error as fabio reported.
Please help someone.


jonathanwminer
2006-08-16 07:20:05 PDT
Things to check:

1) webserver logs; both access and error logs

2) php.ini (post_max_size)

3) httpd/php configuration (LimitRequestBody)

4) OpenDocMan config.php (max_filesize)

I've done several installs and don't recall any problems until someone tried to upload a large file.


znoobz
2006-08-19 11:38:59 PDT
Thanks for the tips. The php.ini had file.uploads=Off so I changed it to On.

Now i am onto second issue when Adding a doc. Here is what is says when I add a document.

Folder Error. Check Last Message in status bar for details

Please help, I know it is very close to working.

znoobz
2006-08-19 12:59:27 PDT
The status bar says

Last Message: /repos missing!

I checked php.ini and it says
Datadir = '/repos/'
The folder exists at root and has 777 permissions.


znoobz
2006-08-19 14:17:17 PDT
Wahooo it works.
There was another glitch in the php.ini

Change

safemode=On
to
safemode=Off

That php.ini is a real bug nest when doing PHP.

Thanks for you help and quick response.
Is there an prefered method for reading the log files. I found a log /var/log/httpd/error_log but it was no help at all.