RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

File sharing script

File mirror script
Send deleted files reports

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
Stefanzm



Joined: 08 Apr 2012
Posts: 81

PostPosted: Apr 12, 2012 1:52 pm    Post subject: Send deleted files reports Reply with quote

Heyas , today did some tests on 1.9 version. On my server deleted files (that was owned by the admin user) , however nowhere in my account , my files or e-mail (different from the e-mail address added to the script in settings) i got notification about file being deleted.

So quickly did the same test but with file from another user. Still the thing , no reports what so ever.

Anyone got any ideas ?

(Searched thru the forum and on another issue asked before that from PowerChaos (but no reply how to be solved).
In admin area when viewing all files , if you click the X button pop-up window opens for reason. If you write something , or leave it blank and press OK , the file gets deleted , however if you press Cancel , the file again gets deleted. Is there anyway or to be added in 2.0 the file actually to stay if admin press Cancel ?
Back to top
View user's profile Send private message
verzing



Joined: 02 Mar 2011
Posts: 141

PostPosted: Apr 13, 2012 5:48 am    Post subject: Reply with quote

set cron job for file cron_deleted_email.pl , email will send after deleted file when cron job run.
Back to top
View user's profile Send private message
Stefanzm



Joined: 08 Apr 2012
Posts: 81

PostPosted: Apr 13, 2012 7:42 am    Post subject: Reply with quote

Thanks verzing Smile
Back to top
View user's profile Send private message
Stefanzm



Joined: 08 Apr 2012
Posts: 81

PostPosted: Apr 13, 2012 8:35 am    Post subject: Reply with quote

Well the idea was good , even with my limited knowledge about crons and stuff got it to run , however cpanel cron sended me this e-mail when the deleted_cron tryed to execute:


Can't locate XFileConfig.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /home/******/cgi-bin/cron_deleted_email.pl line 4.
BEGIN failed--compilation aborted at /home/****/cgi-bin/cron_deleted_email.pl line 4.



The hosting is shared for now , in the next few days will transfer to own rented machine with root access. But anyone have an idea where to modify that @INC or whatever to can point to XfileConfig ? (even that the deleted cron and the config is in same dir)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Copyright © 2003-2013 Sibsoft Ltd