Community Support for OpenDocMan (Deprecated)

Full Version: filesize problem...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
p-r-lemos
2005-07-20 12:41:58 PDT
We need help with configuration... When try view files this message appears:
-------
Warning: filesize(): Stat failed for /var/www/opendocman/data1.dat (errno=2 - No such file or directory) in /var/www/opendocman/view_file.php on line 98

Warning: Cannot modify header information - headers already sent by (output started at /var/www/opendocman/view_file.php:98) in /var/www/opendocman/view_file.php on line 98

Warning: Cannot modify header information - headers already sent by (output started at /var/www/opendocman/view_file.php:98) in /var/www/opendocman/view_file.php on line 100

Warning: Cannot modify header information - headers already sent by (output started at /var/www/opendocman/view_file.php:98) in /var/www/opendocman/view_file.php on line 101

Warning: Cannot modify header information - headers already sent by (output started at /var/www/opendocman/view_file.php:98) in /var/www/opendocman/view_file.php on line 102

Warning: filemtime(): Stat failed for /var/www/opendocman/data1.dat (errno=2 - No such file or directory) in /var/www/opendocman/view_file.php on line 104

Warning: Cannot modify header information - headers already sent by (output started at /var/www/opendocman/view_file.php:98) in /var/www/opendocman/view_file.php on line 105

Warning: readfile(/var/www/opendocman/data1.dat): failed to open stream: No such file or directory in /var/www/opendocman/view_file.php on line 106

This is a problem with file size detection, we believe, but not know reconfigure...

Thanks for help...


logart
2005-07-20 12:51:08 PDT
The part that reads "No such file or directory" tells me you have a configuration issue.

Make sure you set the dataDir value in the config.php file.
Make sure that directory is writeable by the web server.
The dataDir should be "outside" of the web servers document root.

steve


p-r-lemos
2005-07-21 10:10:05 PDT
Thanks Steve...