Community Support for OpenDocMan (Deprecated)
File does not exist - Printable Version

+- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com)
+-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html)
+--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html)
+--- Thread: File does not exist (/thread-500.html)

Pages: 1 2


File does not exist - russ668 - 03-15-2012

I successfully got a file uploaded into a department, assigned to a category, all details look great. Once I click on "View" or go in and try and download or open I get the following error, "File does not exist or there is a problem with the file".

I've checked my dataDir for the 1.dat file, renamed it to 1.pdf and tried to open it. It opened just fine. Permissions seem fine on the file and directory.

I checked the weblog and didn't see any php errors. I'll attach a snippet from it in case I'm missing something:
Code:
2012-03-15 22:54:33 10.3.100.221 GET /forms/images/edit.png - 80 - 10.3.3.5 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/5.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E;+MS-RTC+LM+8) http://bert.redcanoecu.com/forms/details.php?id=1&state=2 200 0 0 203
2012-03-15 22:54:33 10.3.100.221 GET /forms/images/check-out.png - 80 - 10.3.3.5 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/5.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E;+MS-RTC+LM+8) http://bert.redcanoecu.com/forms/details.php?id=1&state=2 200 0 0 218
2012-03-15 22:54:33 10.3.100.221 GET /forms/images/delete.png - 80 - 10.3.3.5 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/5.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E;+MS-RTC+LM+8) http://bert.redcanoecu.com/forms/details.php?id=1&state=2 200 0 0 203
2012-03-15 22:54:33 10.3.100.221 GET /forms/images/history.png - 80 - 10.3.3.5 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/5.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E;+MS-RTC+LM+8) http://bert.redcanoecu.com/forms/details.php?id=1&state=2 200 0 0 203
2012-03-15 22:54:33 10.3.100.221 GET /forms/images/view.png - 80 - 10.3.3.5 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/5.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E;+MS-RTC+LM+8) http://bert.redcanoecu.com/forms/details.php?id=1&state=2 200 0 0 218
2012-03-15 22:54:38 10.3.100.221 GET /forms/view_file.php id=1&state=3 80 - 10.3.3.5 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/5.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E;+MS-RTC+LM+8) http://bert.redcanoecu.com/forms/details.php?id=1&state=2 200 0 0 1109
2012-03-15 22:54:42 10.3.100.221 GET /forms/view_file.php id=1&mimetype=application%2Fpdf&submit=Download 80 - 10.3.3.5 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/5.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E;+MS-RTC+LM+8) http://bert.redcanoecu.com/forms/view_file.php?id=1&state=3 200 0 0 1265
2012-03-15 22:54:45 10.3.100.221 GET /forms/details.php id=1&state=2 80 - 10.3.3.5 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/5.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E;+MS-RTC+LM+8) http://bert.redcanoecu.com/forms/out.php 200 0 0 1078
2012-03-15 22:54:48 10.3.100.221 GET /index.php/feed/ - 80 - 10.3.100.215 - - 200 0 0 1343



Re: File does not exist - russ668 - 03-21-2012

<!-- m --><a class="postlink" href="http://bert.redcanoecu.com/forms/view_file.php?submit=view&id=1&mimetype=application%2Fpdf">http://bert.redcanoecu.com/forms/view_f ... tion%2Fpdf</a><!-- m -->

This is the url that it's trying to use when opening the file. Does this look correct?


Re: File does not exist - Stephen - 03-24-2012

Yes, mine looks something like this:

view_file.php?submit=view&id=1&mimetype=text%2Fplain


Re: File does not exist - Stephen - 03-24-2012

You should check the web server error log, not the access log.


Re: File does not exist - russ668 - 03-26-2012

Can't find any errors in the php-errors.log. Looks good there. I also couldn't find anything specific in the Event Viewer for the web server as it relates to this issue. Any particular log file that you want me to check?


Re: File does not exist - kwseow - 03-28-2012

I have exactly the same issue. Any advice?

Tried a couple of re-install, changing permission... all did not help.

Thanks in advance.


Re: File does not exist - Stephen - 03-28-2012

Please contact me through the contact-us form at opendocman.com so I can schedule a time to troubleshoot your issue with you. I would like to know if this is a bug, or a configuration issue.

steve


Re: File does not exist - Stephen - 03-28-2012

Issue Created: <!-- m --><a class="postlink" href="https://www.logicalartsinc.com/mantis/view.php?id=445">https://www.logicalartsinc.com/mantis/view.php?id=445</a><!-- m -->

After troubleshooting on russ's machine, the dataDir is writeable, but the files saved inside it are not readable by the web server. I am going to be installing IIS on my windows VM and doing some testing to see if I can duplicate it.

Steve


Re: File does not exist - kwseow - 03-28-2012

Steve,

I solved my issue... the problem is the trailing slash at the end of dataDir in the config.php. Once I add that in, everything else is smooth.

Thanks for a great apps.

Cheers
KW


Re: File does not exist - Stephen - 03-28-2012

Hrmm, the installer is supposed to add the slash if you are missing it.

You are using 1.2.6 right?