Members   Search      Help    Register    Login    Home
Home » Support Forums for PMBT 1.X » Development » Merge tags in file and another problem
Merge tags in file and another problem [message #1106] Sun, 17 June 2007 19:07 Go to next message
marting is currently offline marting  Sweden
Messages: 1
Registered: June 2007
Leecher
I just downloaded ver-1.2beta. In the file include/bittorent.php there are merge annotations on row 102:

<<<<<<< bittorrent.php
echo "\" title=\"".$dispname."\">".((strlen($dispname) <= 27) ? $dispname: substr($dispname,0,26)."...")."</a></p>\n";
=======
echo "\" title=\"".$dispname."\">".((strlen($dispname) <= 30) ? $dispname: substr($dispname,0,34)."...")."</a></p>\n";
>>>>>>> 1.68

Once I fixed that I got it up and running. However when I tried to login, it was redirected to http://127.0.0.1/user.php?op=loginconfirm

But since phpMyBitTorrent isn't installed in the htdocs root, the script failed at that point (it should have been http://127.0.0.1/pmb/html/user.php?op=loginconfirm
Re: Merge tags in file and another problem [message #1107 is a reply to message #1106] Sun, 17 June 2007 19:12 Go to previous messageGo to next message
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
this has been reported and fix is listed in the forum at http://phpmybittorrent.com/forum/index.php/t/194/6/

Quote:


Once I fixed that I got it up and running. However when I tried to login, it was redirected to http://127.0.0.1/user.php?op=loginconfirm

But since phpMyBitTorrent isn't installed in the htdocs root, the script failed at that point (it should have been http://127.0.0.1/pmb/html/user.php?op=loginconfirm

You need to fix this in your configs set your site url as 127.0.0.1/pmb/html


http://a.imageshack.us/img831/5562/mybikes.png

[Updated on: Sun, 17 June 2007 19:15]

Report message to a moderator

Re: Merge tags in file and another problem [message #1137 is a reply to message #1107] Fri, 22 June 2007 00:43 Go to previous messageGo to next message
djechelon is currently offline djechelon  Italy
Messages: 207
Registered: June 2006
Location: Ercolano, NA
Releaser
Administrator

You should actually never use localhost for logging in. [add: because we found the tracker is unable to properly handle cookies] However, I have made a hack for solving every login problem on localhost. This hack works easy: if you enable the "Auto Admin login from localhost", the tracker will always and automatically log you in as user no. 1 (usually the admin who installed the tracker). But keep in mind that everyone sharing your server will be able to be admin without logging in so use this feature with caution.

I was unable to commit the files to CVS.
Here's a quick summary:

I added a configuration variable $localhost_autologin in config.php. It's boolean. If it's true, the feature is enabled.

Joeroberts, after finding out what happened to my CVS privileges, should edit the installation program in order to create a config.php file containing the appropriate section, which is inside configdata.tmpl.php.

I will help with Italian translation of installer


Unfortunately, no one can be told what the Matrix is. You have to see it for yourself.

[Updated on: Fri, 22 June 2007 00:45]

Report message to a moderator

Re: Merge tags in file and another problem [message #1138 is a reply to message #1137] Fri, 22 June 2007 11:05 Go to previous message
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
Ok I well make the changes

OH and I fixed Class.user.php



http://a.imageshack.us/img831/5562/mybikes.png
Previous Topic:V1.2
Next Topic:Comfortable
Goto Forum:
  


Current Time: Wed Feb 08 05:54:32 GMT 2012

Total time taken to generate the page: 0.00716 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software