Closed GoogleCodeExporter closed 9 years ago
I am using the firefox browser to access the web ui.
Original comment by oleglelc...@gmail.com
on 18 Oct 2009 at 9:17
Do you see an issue template in edit form? For wich reason you ignore it?
Are some errors present in the web-server log?
Are some errors present in the browser console?
Original comment by novik65
on 19 Oct 2009 at 8:12
if you also have chunks installed, delete it.
this will cause geoip to not work.
Original comment by Wonslung@gmail.com
on 19 Oct 2009 at 10:55
What "edit form" and what "issue template" are you talking about?.. The
error.log
file for apache doesn't mention any errors related to geoip, but the access.log
file
has lines like this one:
"GET /rtorrent/plugins/geoip/lookup.php?action=geoip&ip=89.222.129.88&lang=en
HTTP/1.1"
As I said before, even though the country column is present, the peer list is
empty
no matter what browser I use (konqueror or firefox).
Wonslung, what do you mean by "chunks"? There is no chunks plugin available for
rutorrent, as far as I can tell by reading the rutorrent page for plugins.
Original comment by oleglelc...@gmail.com
on 19 Oct 2009 at 5:01
Oh, now I understand what you mean, novik65, by an issue template... I am sorry that
I didn't report this issue in a right way...
Original comment by oleglelc...@gmail.com
on 19 Oct 2009 at 5:46
i assure you there IS a chunks plugin, it's just not finished yet. Some people
find
it easier to install rutorrent plugins via SVN.
If you use rutorrent svn it's much easier, as all you have to do is rm -r
plugins then
svn checkout http://rutorrent.googlecode.com/svn/trunk/plugins
this gets you ALL the plugins. Some people will do this to get the entire
package,
but forget to remove the chunks plugin (which isn't done yet)
Original comment by Wonslung@gmail.com
on 20 Oct 2009 at 10:38
[deleted comment]
Well, now I have the latest svn rutorrent installed with the latest svn geoip
installed. I didn't install any other plugins, but a peer list for any torrent
is
still empty! Please help me resolve this issue. I posted one line from
access.log as
an example. It's interesting that I have the same problem either on my debian
servers
or my gentoo home computer. Maybe I didn't set some permissions correctly?
Please
help me set up all permissions correctly and maybe write for me a small php
script
that would test the functionality of the php5-geoip package (and the pecl-geoip
gentoo package).
Original comment by oleglelc...@gmail.com
on 20 Oct 2009 at 3:11
Author of this plugin is zcsala021. Wait for his reaction.
Original comment by novik65
on 20 Oct 2009 at 3:29
I have the same problem with latest svn, chunks deleted, php5-geoip installed
and
working on Ubunto 8.10.
Original comment by anlo...@gmail.com
on 21 Oct 2009 at 12:09
As I said before, I don't have chunks installed and I have php5-geoip installed.
Maybe there is something else I need to install to make this plugin work?
Original comment by oleglelc...@gmail.com
on 21 Oct 2009 at 2:04
I have read all the comments. However, at the moment I am on vacation. If you
can
wait just a bit more, until Monday. Then I will take a look at the problem
(writing
this from an Internet café - not the best location for debugging).
Original comment by zcsala...@gmail.com
on 22 Oct 2009 at 10:17
Okay.
Original comment by oleglelc...@gmail.com
on 22 Oct 2009 at 9:45
Thanks for your patience :)
@oleglelchuk: Lines that you find in your web server's log file similar to
"GET /rtorrent/plugins/geoip/lookup.php?action=geoip&ip=89.222.129.88&lang=en
HTTP/1.1"
are exactly what geoip _should_ do in order to determine country code/name for
given IP!
First, make sure GeoIP plugin is installed correctly (Maxmind GeoIP.dat
available,
permissions set correctly etc). Then paste the following line into address
field of
your web browser:
http://localhost/rtorrent/plugins/geoip/lookup.php?action=geoip&ip=89.222.129.88
&lang=en
IF (and that's first "if") php-geoip plugin is installed correctly, you will
see the
following in your browser:
ru|Russian Federation
if you _do_not_ see Russian federation, then your php-geoip plugin is installed
incorrectly and you have to resolve that problem (paths, directories,
permissions etc).
Original comment by zcsala...@gmail.com
on 26 Oct 2009 at 7:38
Okay, it looks like neither geoip-1.1 nor the latest geoip from svn has en.php
in the
lang directory. I get this error in my browser after typing the command that
you told
me to type:
Warning: include_once(lang/en.php) [function.include-once]: failed to open
stream: No
such file or directory in /var/www/rtorrent/plugins/geoip/lookup.php on line 13
Warning: include_once() [function.include]: Failed opening 'lang/en.php' for
inclusion (include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/rtorrent/plugins/geoip/lookup.php on line 13
ru|Russian Federation
However, the latest geoip from svn has ru.php in the lang directory. So, when I
type
http://localhost/rtorrent/plugins/geoip/lookup.php?action=geoip&ip=89.222.129.88
&lang=ru
, the browser simply displays ru|Россия without the errors that I get
with lang=en .
But geoip-1.1 doesn't have either en.php or ru.php, so I get the errors with
either
lang=en or lang=ru when using geoip-1.1 . So, why is en.php absent from the
latest
svn geoip and from geoip-1.1?
Original comment by oleglelc...@gmail.com
on 27 Oct 2009 at 2:04
I copied ru.php to en.php, it doesn´t affect the language which is used in
Countries
column, but helps to get rid of warnings that are mentioned above.
Original comment by shishki...@gmail.com
on 29 Oct 2009 at 2:11
Thank you shishkinvg. That was the trick that made the plugin work for me.
Original comment by anlo...@gmail.com
on 29 Oct 2009 at 3:48
Using .php files for localization is obsolete. Please pick the latest version
of the
code from SVN and try again.
Original comment by zcsala...@gmail.com
on 30 Oct 2009 at 9:06
Hello, i tried
http://localhost/rtorrent/plugins/geoip/lookup.php?action=geoip&ip=89.222.129.88
&lang=en
but all I can see is only ru not Russian Federation
You said that "if you _do_not_ see Russian federation, then your php-geoip
plugin is
installed incorrectly and you have to resolve that problem (paths, directories,
permissions etc)"
I'm not sure about install incorrectly because I just download the whole folder
geoIP
to plugins folder. Could you be more specific about this?
thank you
Original comment by hamiz...@gmail.com
on 12 Nov 2009 at 9:14
I did what shishkinvg suggested and it worked well, but the only problem left
is the
flag is not shown, only the name of the countries, like ca|Canada, etc
Original comment by hamiz...@gmail.com
on 12 Nov 2009 at 10:17
Please take geoip plugin from SVN. There were some changes.
Part about "ru|Russian Federation" no longer applies. What you get is OK.
Original comment by zcsala...@gmail.com
on 12 Nov 2009 at 10:50
I just get the plugin from SVN via svn checkout
http://rutorrent.googlecode.com/svn/trunk/plugins/geoip
Now it didn't show anything in peers
Original comment by hamiz...@gmail.com
on 12 Nov 2009 at 11:04
hamizzou, are there any errors in Javascript console? You forgot to mention
your OS
version, web server version as well as browser version. I program everything on
Mandriva Linux, lighttpd server and Firefox.
Please attach logs and screenshots.
Original comment by zcsala...@gmail.com
on 13 Nov 2009 at 12:09
Sorry, I tried on both Ubuntu and Windows 7 system, Firefox 3.5.5 as browser,
lighttpd 1.4.22 as web server. And there's no error in Javascript console.
Attach is
screenshot. I'm not sure about the logs, where can i get it from?
Original comment by hamiz...@gmail.com
on 13 Nov 2009 at 12:44
Attachments:
Updated: I remove all the plugins and only install the one i needed and it all
worked
well now.
Original comment by hamiz...@gmail.com
on 13 Nov 2009 at 3:27
Original issue reported on code.google.com by
oleglelc...@gmail.com
on 18 Oct 2009 at 9:14