Closed (fixed)
Project:
BitTorrent
Version:
6.x-9.0-beta1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
22 Mar 2009 at 21:43 UTC
Updated:
31 Mar 2009 at 02:45 UTC
Drupal version is 6.1, although it did the same thing in the 6.9 release I had installed before I upgraded.
I activate the modules, and my entire site errors out to this:
Fatal error: require_once() [function.require]: Failed opening required './bt_common.inc' (include_path='.:/usr/local/php5/lib/php') in /home/content/d/a/v/davidhojak/html/modules/bittorrent/bt_torrent/bt_torrent.module on line 14
Why am I getting this?!?!
Comments
Comment #1
bradfordcp commentedDid you follow the instructions in INSTALL.txt? The file bt_common.inc needs to be in the drupal root directory.
Comment #2
bradfordcp commentedComment #3
DavidHojak commentedI will attempt to reinstall, now that this has been pointed out to me.
I failed completely to see this in the install.txt document. I suck.
Will report back on how this goes
Comment #4
DavidHojak commentedInstalled following the instructions explicitly, and it does not crash the site when enabled as it did before.
Edited .htaccess via Dreamweaver without issue.
Thank you for your guidance in identifying my oversight.
Comment #5
DavidHojak commentedComment #6
DavidHojak commentedReturns error when opening announce.php =
d14:failure reason22:Missing Key: info_hashe
Comment #7
DavidHojak commentedComment #8
bradfordcp commentedWhen accessing announce.php directly verify that you are passing all required variables in.
Are you seeing this in your browser or torrent client?
Comment #9
DavidHojak commentedWhen attempting to access announce.php via my browser, the error that returns is:
d14:failure reason22:Missing Key: info_hashe
View source shows only this error, no other returned output.
When you say to make sure that I'm passing all required variables in, what exactly are you suggesting I check or modify?
Are these changes to files or hard code that you're going to be suggesting?
Comment #10
DavidHojak commentedReturns error when opening announce.php =
d14:failure reason22:Missing Key: info_hashe
In the announce.php file itself, I do see this line, near the top of the document.
Comment #11
DavidHojak commentedOops... accidentally changed title
Comment #12
bradfordcp commentedAnnounce.php is not meant to be accessed by the browser. This URL is called by the BitTorrent Client to look for peers. If you would like to see the output, pass in the required values as GET parameters. For example, if announce.php is complaining about a missing info_hash add it to the URL.
http://www.example.com/announce.php
would become
http://www.example.com/announce.php?info_hash=
be sure to include a valid info_hash after the '='. Again this is meant for the torrent client and as such it is encoded in such a way for the client to read. Please let me know if you have any more questions or concerns.
Comment #13
DavidHojak commentedThank you for all your support. In this sense, I suppose that the client is functioning in some way.
Now that I have it installed and not erroring the site out, I suppose my challenge will be integrating the Bittorrent feature into my site. It is not apparent to me how to activate the tracker for use on my site, how end-user functionality is configured, or what interfaces exist within this module for customizing the user experience as far as displaying the section of the site the torrent tracker would appear in.
How does one go about configuring the end-user interface? Does one exist? Surely, it must!
Is there a block to add? Is there a section to activate? What controls I've found so far via the two configuration menus in the BitTorrent section of my admin panel do not refer to anything other than tracker settings. I see others have suggested some kind of how-to here.... I must say, the provided instructions leave a lot to the imagination.
Kudos for converting this over from 5 to 6, either way, and again, thank you for ALL of your support. I appreciate this level of assistance.
Comment #14
bradfordcp commentedThe torrent module adds a node type. A user with the appropriate permission can navigate to "create content" or http://example.com/node/add and select torrent. From here the user enters a title and description as well as uploads a .torrent file. This creates a node with a link to download the torrent. The tracker will automatically track all torrents that are pointed at it, and Drupal will keep track of all uploaded torrents regardless of whether or not they are being tracked by the site.
I realize now that this module is not as straightforward as I think it is (heck I wrote it :)). After this D6 port is complete I will work on comprehensive documentation that will encompass all of the various module aspects.
Comment #15
DavidHojak commentedThank you for your assistance.
I effectively seeded and and sending my first torrent this evening. Although there is some kind of passkey error on the torrent I've posted so far, I do not see that it's influencing my ability to send, or the abilities of others to receive it.
Thank you, Bradford!