I have Easyfile 0.7.6 installed and wanted to see if anyone is having problems with the following (I've gone through the forums and updated some code as per recommendations but this one is new).
When I post a file to easyfile it works great for the duration that the file is tagged as "NEW". However, once the file loses it's status as "NEW" after 14days (or whatever your default is) my files simply get corrupted. I'm not a coder so I *say* corrupted but I'm not sure, what I am sure about is that the files that get downloaded to my disk are completely worthless.
I finally opened one of these zip files downloaded from easyfile in a text editor an here's what I found (I continue at the end of this paste):
PHP Formatted Code
<b
>Warning
</b
>: fopen(/home
/slord
/vhosts
/toxikfiles
/20050707111025452): failed to open stream
: No such
file or directory in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>95</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<b
>Warning
</b
>: fread(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>97</b
>
<b
>Warning
</b
>: feof(): supplied argument is not a valid stream resource in
<b
>/home
/slord
/vhosts
/www
.mysite
.com
/blog
/easyfile
/file.php
</b
> on line
<b
>96</b
>
<br
>
I swapped out my domain for "mysite.com" but nothing else.
Interestingly, the file name that gets downloaded is correct, and the filesize is also correct, but the data of the file is consistently the same as what you see above. If the file was original 2k like the one above, then I'll see 2k of warnings. If the file was 5MB then I see 5MB worth of the repeated warnings above.
I went to line 96/97 of file.php and couldn't see anything obvious for a noob like me to fix. I'd appreciate any insight into this error because I'm looking at days of work trying to reupload all the files. In the meantime for the remaining ones that still work I've simply extended the number of days to tag them as new to 9999 (if that's even the problem).
The error above starts out looking for /home/slord/vhosts/toxikfiles/20050707111025452.
That file does NOT exist, there are only 5 files that barely add up in KB's to total 1/1000 of the files I've uploaded. I have no idea where it keeps the actual zips I'm uploading (the database?).