Welcome to Geeklog Saturday, November 27 2021 @ 01:28 pm EST

Geeklog Forums

Easyfile warning


Status: offline

knuckles

Forum User
Chatty
Registered: 17/12/01
Posts: 35
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?).
 Quote

Status: offline

Kelvin

Forum User
Chatty
Registered: 08/10/02
Posts: 50
Strange. Does your server still have read/write access to your filestore? /home/slord/vhosts/toxikfiles/20050707111025452

According to the error message, there's no such file.
 Quote

Status: offline

knuckles

Forum User
Chatty
Registered: 17/12/01
Posts: 35
The server is mine so it's not as if I got screwed over by some admin. As I mentioned, the uploads work fine for a few weeks then simply stop working. The directory is owned by me and has had full 777 sprinkled on it since day one.

/home/slord/vhosts/toxikfiles/20050707111025452

Right, that file is *not* there. Anything *older* than the 14days is simply *not* there. The oldest files I have in there are from Aug 17th, 19th and 20th, everything I posted in the month of Jun/July is gone (longer than 14days which is why I'm concerned easyfile is wiping the files afer 14days). I'm trying to relink all the downloads but it's a painful process since we can't edit a file and swap out the archive, I need to delete file via easyfil, create a new one and upload which gives me a new file link which I then must go through all my posts to update those links *manually*. Razz

Something really odd is going on, I'll need to backup this directory and see what happens. But I've changed my settings to keep the files tagged as *new* for 9999 days to be safe.

I'll have to look and see if my brother-in-law did anything, but he has no access to my directory so I don't immediately see what he could have done.
 Quote

All times are EST. The time is now 01:28 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content