XFileSharing Pro - XFileSharing 1.8 thread - Page 9

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

#121 Postby idupload » Jul 31, 2010 9:31 am

there is error bug, when free-users want to download with files from button premium access but users do not have login premium

error bugs like this:
Software error:
Undefined subroutine &main::LoginPage called at index_dl.cgi line 248.
For help, please send mail to the webmaster (webmaster@domain), giving this error message and the time and date of the error.
Need support for this
Last edited by idupload on Jul 31, 2010 10:50 am, edited 2 times in total.

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#122 Postby ankurs » Jul 31, 2010 10:00 am

idupload wrote:there is error bug admin when users want to download with files from premium but users not login into his account.
didnt get a single bit , what are you trying to say ?

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

#123 Postby idupload » Jul 31, 2010 10:46 am

ankurs wrote:
idupload wrote:there is error bug admin when users want to download with files from premium but users not login into his account.
didnt get a single bit , what are you trying to say ?
there is error bug, when free-users want to download with files from button premium access but users do not have login premium

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#124 Postby ankurs » Jul 31, 2010 12:07 pm

idupload wrote:
ankurs wrote:
idupload wrote:there is error bug admin when users want to download with files from premium but users not login into his account.
didnt get a single bit , what are you trying to say ?
there is error bug, when free-users want to download with files from button premium access but users do not have login premium
yes , was able to replicate on upload-pro too

when unregistered user clicks premium download button, it gives this error

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

#125 Postby gembels » Jul 31, 2010 6:43 pm

/me watching and waiting for stable version before upgrade :)

greats change log..

sherayusuf3
Posts: 94
Joined: Jan 18, 2009 4:29 am

#126 Postby sherayusuf3 » Aug 02, 2010 6:49 am

idupload wrote:Report for 4shared.com can not leech files this :
Filename: Anang_Krisdayanti_-_Berartinya.htm
Error: Can not leech 4shared file

Code: Select all

http://www.4shared.com/audio/Sy-EAoLK/Anang_Krisdayanti_-_Berartinya.htm
or this

Code: Select all

http://www.4shared.com/audio/Sy-EAoLK/Anang_Krisdayanti_-_Berartinya.html
coba donlotnya ariel dan BCL pasti bisa

my account 4shared.com is still valid until next year and I already check up direct download inside

please check this picture
Image


Guys do you had any trouble like me too?
and traffic bandwidth is not running as well admin...
all my clients downloading traffic bandwidth doesn't running....

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

#127 Postby mastypk » Aug 02, 2010 3:03 pm

Any chance for offering commission to site owners?

PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

#128 Postby PowerChaos » Aug 02, 2010 8:08 pm

here is a quick fix for it
not sure if it is the right way to fix it , but atleast it does again what it need to do

find

Code: Select all

&LoginPage($ENV{HTTP_REFERER}) if $f->{method_premium} && !$ses->getUser;

return $ses->redirect("$c->{site_url}/?op=payments") if $f->{method_premium} && !$premium;
it should be located at line 266

change it to

Code: Select all

#&LoginPage($ENV{HTTP_REFERER}) if $f->{method_premium} && !$ses->getUser;

 return $ses->redirect("$c->{site_url}/?op=payments") if $f->{method_premium} && !$premium;
please note the # , thats to comment out that line
after that , it should work (atleast for me)

hopely this can help as a temporary fix until a better fix is released

Greetings From PowerChaos

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

#129 Postby idupload » Aug 03, 2010 3:32 am

I found anothers bug mate.... Power Chaose, Admin, etc..
When we want to used leech upload, sometime we got trouble error leech to upload even the files is still exist....

let say files with size under bellow 5MB can not be leech and files with size more bigger can leech....

How bout you Guys? do you found any trouble like me too?

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

#130 Postby idupload » Aug 03, 2010 3:45 am

PowerChaos wrote:here is a quick fix for it
not sure if it is the right way to fix it , but atleast it does again what it need to do

find

Code: Select all

&LoginPage($ENV{HTTP_REFERER}) if $f->{method_premium} && !$ses->getUser;

return $ses->redirect("$c->{site_url}/?op=payments") if $f->{method_premium} && !$premium;
it should be located at line 266

change it to

Code: Select all

#&LoginPage($ENV{HTTP_REFERER}) if $f->{method_premium} && !$ses->getUser;

 return $ses->redirect("$c->{site_url}/?op=payments") if $f->{method_premium} && !$premium;
please note the # , thats to comment out that line
after that , it should work (atleast for me)

hopely this can help as a temporary fix until a better fix is released

Greetings From PowerChaos
I should edit in index_dl.cgi or which files power chaos? Thank you before for your respond

PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

#131 Postby PowerChaos » Aug 03, 2010 4:57 am

sorry forgot to say that

its in index_dl.pm

Greetings From PowerChaos

adiga
Posts: 177
Joined: Jul 23, 2009 2:27 am

#132 Postby adiga » Aug 03, 2010 11:32 am

thanks PowerChaos

This fix will redirect to payments page
The right to redirect to login page

find:

Code: Select all

return $ses->redirect("$c->{site_url}/?op=payments") if $f->{method_premium} && !$premium;
Replaced by

Code: Select all

return $ses->redirect("$c->{site_url}/login.html") if $f->{method_premium} && !$premium;

PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

#133 Postby PowerChaos » Aug 03, 2010 2:54 pm

not for 1 of other reason

but why would a guest/registered user needed to be redirected to the login page if they want to buy a premium ??

if a premium logins , then he wont get that screen to choose from , so he dont need to login

if you redirect to login , how can he buy it then ?
how does the persones know what they need to pay to become premium if it only redirects to login ?

i am not sure , but i do not think that that was the thing that this creator got in mind :D

anyway , Thank you for the small change , it can be usefull for other persones ^^

Greetings From PowerChaos

PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

#134 Postby PowerChaos » Aug 03, 2010 3:00 pm

idupload wrote:I found anothers bug mate.... Power Chaose, Admin, etc..
When we want to used leech upload, sometime we got trouble error leech to upload even the files is still exist....

let say files with size under bellow 5MB can not be leech and files with size more bigger can leech....

How bout you Guys? do you found any trouble like me too?
it is working fine for me
exept a non existing page give this error

Code: Select all

Filename:	ipboys.zip
Error: File download failed:500 Can't locate object method &quote;new&quote; via package &quote;LWP::Protocol::https::Socket&quote;
but those others are working fine

this are the pages i gave a try

Code: Select all

http://powerchaos.com/index.html (complete index page = 4kb and it suceeded)

Code: Select all

http://demonpower.com/Navicat.rar  ( rarfile of 12mb and it suceeded with out any errors )
so far i tested it with 2 differend files and they are working fine
maybe the file you tryed is protected by leeching ??

Greetings From PowerChaos

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

#135 Postby PilgrimX182 » Aug 04, 2010 1:47 pm

Fixed "Premium" button for anonymous users. index_dl.pm updated.
Also updated comparison table on payments page with correct file expire values: updated comparison.html + index.cgi