XFileSharing Pro - XFileSharing 1.8 thread - Page 12

Message
Author
idupload
Posts: 97
Joined: Jun 04, 2010 7:46 am

Re: limitation issue

#166 Postby idupload » Aug 16, 2010 4:29 pm

PilgrimX182 wrote:
Here goes quick hack for ya: in index.cgi find

Code: Select all

#my $cond = $ses->getUser ? "usr_id=".$ses->getUserId : "ip=INET_ATON('".$ses->getIP."')";
my $bw = $db->SelectOne("SELECT SUM(size) FROM IP2Files WHERE ip=INET_ATON(?) AND created > NOW()-INTERVAL ? DAY",$ses->getIP,$c->{bw_limit_days});
then uncomment 1st line and replace 2nd line with

Code: Select all

my $bw = $db->SelectOne("SELECT SUM(size) FROM IP2Files WHERE $cond AND created > NOW()-INTERVAL ? DAY",$ses->getIP,$c->{bw_limit_days});
I already try to setup update index.cgi and index_dl.pm

with this code

Code: Select all

my $bw = $db->SelectOne("SELECT SUM(size) FROM IP2Files WHERE $cond AND created > NOW()-INTERVAL ? DAY",$ses->getIP,$c->{bw_limit_days});


and the result still error

Software error:
Global symbol "$cond" requires explicit package name at index.cgi line 2229.
BEGIN not safe after errors--compilation aborted at index.cgi line 2932.

For help, please send mail to the webmaster (webmaster@yourdomain), giving this error message and the time and date of the error.

idupload
Posts: 97
Joined: Jun 04, 2010 7:46 am

#167 Postby idupload » Aug 16, 2010 5:06 pm

PilgrimX182 wrote:idupload, first make sure you have 1.8 version, then update upload.cgi on your fileserver. It was updated recently for filesonic.com instead of sharingmatrix.com
I already Updated all version .cgi and index_dl.pm with my old files.
but when I want to upload files from filesonic.com, the reaction is hang for couple second and then result error again.

this is link I was try to upload from filesonic.com

Code: Select all

http://www.filesonic.com/file/16384883/Winamp Pro v5.581 Multilingual.www.4-bang.co.cc.rar
Image
Files Uploaded
Filename: Winamp Pro v5.581 Multilingual.www.4-bang.co.cc.rar
Error: Received HTML page instead of file
status my premium account still valid until
Premium Membership Valid Until:
2011-08-01 19:58:54

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#168 Postby PilgrimX182 » Aug 19, 2010 9:22 am

Ok, everybody wants REFERER field back and here it goes :)
Updated latest ZIP release with referer field. You'll have to update index.cgi, index_dl.pm, Templates/admin_downloads.html, Templates/admin_downloads_all.html
and you have to execute this SQL query:

Code: Select all

alter table IP2Files add column referer varchar(255) not null default '';

idupload
Posts: 97
Joined: Jun 04, 2010 7:46 am

#169 Postby idupload » Aug 19, 2010 9:57 am

PilgrimX182 wrote:Ok, everybody wants REFERER field back and here it goes :)
Updated latest ZIP release with referer field. You'll have to update index.cgi, index_dl.pm, Templates/admin_downloads.html, Templates/admin_downloads_all.html
and you have to execute this SQL query:

Code: Select all

alter table IP2Files add column referer varchar(255) not null default '';
admin I already sent mail to art to have access my ftp to check my index.cgi, it seems trouble to set traffic bandwidth.
Traffic bandwidth is not working, the system only read only by default from setting administrator.

Need your support

nik0la
Posts: 102
Joined: Dec 30, 2009 1:50 pm

#170 Postby nik0la » Aug 19, 2010 12:22 pm

traffic bandwith is not working for me to..i think its because the complete download mod..so i just set next download delay higher..

idupload
Posts: 97
Joined: Jun 04, 2010 7:46 am

#171 Postby idupload » Aug 19, 2010 4:49 pm

nik0la wrote:traffic bandwith is not working for me to..i think its because the complete download mod..so i just set next download delay higher..
admin we need you could help new update to this issue error trouble bandwidth limitation. Thank you

mastypk
Posts: 123
Joined: Apr 04, 2010 11:49 am

#172 Postby mastypk » Aug 20, 2010 1:25 pm

Same issue here, look like they have fixed for me. Checking.

nik0la
Posts: 102
Joined: Dec 30, 2009 1:50 pm

#173 Postby nik0la » Aug 20, 2010 7:14 pm

it would be great if admins find solution for the this problem because our premium sales will be increased. This was problem and on 1.7 when complete download mod was added

gembels
Posts: 24
Joined: May 21, 2010 6:53 am

#174 Postby gembels » Sep 02, 2010 11:02 am

what is NGINX mod.. no info.. 404 on http://www.sibsoft.net/xfs-mod-n.html

hti
Posts: 11
Joined: Feb 06, 2010 2:25 am

#175 Postby hti » Sep 03, 2010 5:17 am

PilgrimX182 wrote:Ok, everybody wants REFERER field back and here it goes :)
Updated latest ZIP release with referer field. You'll have to update index.cgi, index_dl.pm, Templates/admin_downloads.html, Templates/admin_downloads_all.html
and you have to execute this SQL query:

Code: Select all

alter table IP2Files add column referer varchar(255) not null default '';
Hello,


I want to know what I change in this files ( index.cgi, index_dl.pm )

So I can REFERER field back

hornet
Posts: 52
Joined: Jul 20, 2008 11:33 pm

Re: More Group

#176 Postby hornet » Sep 18, 2010 1:34 am

gembels wrote:More group like Exclusive VIP where VIP never expired, or Silver package amd Gold package where different set for expired, speed and more expandable group.


Thanks
nice idea , i hope see soon

michael24179
Posts: 15
Joined: Aug 12, 2010 11:41 am

RAR archives

#177 Postby michael24179 » Sep 25, 2010 7:43 pm

RAR archives My mod does not work. Is there a fix for this