| View previous topic :: View next topic |
| Author |
Message |
idupload
Joined: 04 Jun 2010 Posts: 97 Location: Indonesia
|
Posted: Aug 16, 2010 4:29 pm Post subject: Re: limitation issue |
|
|
| PilgrimX182 wrote: |
Here goes quick hack for ya: in index.cgi find
| Code: | #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: | | 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: | | 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
| Quote: |
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. |
|
|
| Back to top |
|
 |
idupload
Joined: 04 Jun 2010 Posts: 97 Location: Indonesia
|
Posted: Aug 16, 2010 5:06 pm Post subject: |
|
|
| 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: | | http://www.filesonic.com/file/16384883/Winamp Pro v5.581 Multilingual.www.4-bang.co.cc.rar |
| Quote: | 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
| Quote: | Premium Membership Valid Until:
2011-08-01 19:58:54 |
|
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2109 Location: UFO Lab
|
Posted: Aug 19, 2010 9:22 am Post subject: |
|
|
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: | | alter table IP2Files add column referer varchar(255) not null default ''; |
|
|
| Back to top |
|
 |
idupload
Joined: 04 Jun 2010 Posts: 97 Location: Indonesia
|
Posted: Aug 19, 2010 9:57 am Post subject: |
|
|
| 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: | | 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 |
|
| Back to top |
|
 |
nik0la
Joined: 30 Dec 2009 Posts: 102
|
Posted: Aug 19, 2010 12:22 pm Post subject: |
|
|
| traffic bandwith is not working for me to..i think its because the complete download mod..so i just set next download delay higher.. |
|
| Back to top |
|
 |
idupload
Joined: 04 Jun 2010 Posts: 97 Location: Indonesia
|
Posted: Aug 19, 2010 4:49 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
mastypk
Joined: 04 Apr 2010 Posts: 124
|
Posted: Aug 20, 2010 1:25 pm Post subject: |
|
|
| Same issue here, look like they have fixed for me. Checking. |
|
| Back to top |
|
 |
nik0la
Joined: 30 Dec 2009 Posts: 102
|
Posted: Aug 20, 2010 7:14 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
gembels
Joined: 21 May 2010 Posts: 23
|
|
| Back to top |
|
 |
hti
Joined: 06 Feb 2010 Posts: 11
|
Posted: Sep 03, 2010 5:17 am Post subject: |
|
|
| 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: | | 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 |
|
| Back to top |
|
 |
hornet
Joined: 20 Jul 2008 Posts: 52
|
Posted: Sep 18, 2010 1:34 am Post subject: Re: More Group |
|
|
| 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 |
|
| Back to top |
|
 |
michael24179
Joined: 12 Aug 2010 Posts: 15
|
Posted: Sep 25, 2010 7:43 pm Post subject: RAR archives |
|
|
| RAR archives My mod does not work. Is there a fix for this |
|
| Back to top |
|
 |
|