Re: Login Failed

Ramprasad A Padmanabhan <[email protected]> Mon, 10 May 2004 15:08:47 +0530
Newsgroups gmane.mail.yosucker.general
Organization Oracle India Pvt. Ltd.
Message-ID <[email protected]>
Yes this is a problem everyone is facing , just try patching your
lib/sputnik.pm file

Attaching a patch



On Mon, 2004-05-10 at 14:27, dagobert wrote:
> Hi,
> I tried various tweaks inooptions but i can't use it anymore:
> 
> YoSucker
> Using yosucker.conf
> Login... Failed!!! Check your username and password!
> 
> also changed password. etc. Any help would be nice :)
> How to debug this issue?
> 
> Regards Markus
> 
> p.s. other .de mail works.  but my .com account acting wrong
sputnik.pm.patch (text/x-patch, 911 B)
--- lib/sputnik.pm.Orig	2004-05-10 09:56:58.000000000 +0530
+++ lib/sputnik.pm	2004-05-10 10:32:05.000000000 +0530
@@ -399,20 +399,20 @@
   # STEP 3
   ##
 
-  $host = (split("\/",$location))[0];
-  $location =~ s/$host//g;
-  $what = $location;
-  chomp($what);
+  #$host = (split("\/",$location))[0];
+  #$location =~ s/$host//g;
+  #$what = $location;
+  #chomp($what);
 
   # Third login redirect
-  my $page3 = ShortPage->new(\$class->{config}, \$class->{cookiez});
+  #my $page3 = ShortPage->new(\$class->{config}, \$class->{cookiez});
   
-  $location=$page3->load($host, $what);
+  #$location=$page3->load($host, $what);
  
   # Set referer...
-  $class->{config}{REFERER} = "http://$host$what";
+  #$class->{config}{REFERER} = "http://$host$what";
 
-  print "." if $class->{config}{DEBUG};                 # DEBUG
+  #print "." if $class->{config}{DEBUG};                 # DEBUG
 
   ###
   # STEP 4