Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   FreeTSP (http://www.bvlist.com/forumdisplay.php?f=120)
-   -   FreeTSP modded by - FIREFLY [RC3][Unofficial] (http://www.bvlist.com/showthread.php?t=8477)

Chez 18th November 2012 18:39

External upload error ... it show me this error

http://i.imgur.com/pCauf.png

and if i remove it, when i press UPLOAD button it show me blank page

Joco1114 19th November 2012 20:12

I made a modification for the details page: use hightslide to zoom pictures.
If any1 need I can paste the code and the method.

Bump: Did you try to upload same file again? This error will appear when the mysql insertion in the line 245 wasnt success.
Try to change the line like this to show the exact error and report here:

from: mysql_err();
to: die(mysql_error());

Sorry about my English, I'm from Hungary. :)

Quote:

Originally Posted by Chez (Post 37442)
External upload error ... it show me this error

http://i.imgur.com/pCauf.png

and if i remove it, when i press UPLOAD button it show me blank page


wMan 22nd November 2012 03:02

Quote:

Originally Posted by Tones (Post 37348)
This is modded TBDEV or what source is it??

nvm i see is modded TBDEV!!



After install i get this error on home page

Warning: fopen(/index/lastten.txt) [function.fopen]: failed to open stream: No such file or directory in /home/u899582385/public_html/index.php on line 633

Warning: fputs(): supplied argument is not a valid stream resource in /home/u899582385/public_html/index.php on line 634

Warning: fclose(): supplied argument is not a valid stream resource in /home/u899582385/public_html/index.php on line 635
Last 10 visitors



what is rong??

its a 08 TBDEV code mate needs alot of work you not much in the way of mods too mate

firefly 22nd November 2012 08:44

Quote:

Originally Posted by bill123 (Post 37502)
its a 08 TBDEV code mate needs alot of work you not much in the way of mods too mate



1) That error has nothing to do with the code and more to do with an error I made.

This is based largely on '08 but there are some alterations to the code

2)
Quote:

External upload error ... it show me this error

http://i.imgur.com/pCauf.png

and if i remove it, when i press UPLOAD button it show me blank page
The DHT mod is incomplete and not finished yet but it seemed to work for me. As I explained above , I needed to edit a lot of the code for it to work cause that mod came from old DEV source. I made that for Tones. When I get a chance I will look though it and clean it up and debug it.

You can PM your site link to me and I will check it out.

Joco1114 23rd November 2012 17:32

DHT is working, but I have issues with login. Sometimes I get errors from page_verify->check(). After sign up, I cant login, I have to ask an another password and after that I can login.

Is there any new version of it?

wMan 23rd November 2012 18:01

Quote:

Originally Posted by Joco1114 (Post 37550)
DHT is working, but I have issues with login. Sometimes I get errors from page_verify->check(). After sign up, I cant login, I have to ask an another password and after that I can login.

Is there any new version of it?

yes i have but not out for release yet

firefly 25th November 2012 05:49

Quote:

Originally Posted by Joco1114 (Post 37550)
DHT is working, but I have issues with login. Sometimes I get errors from page_verify->check(). After sign up, I cant login, I have to ask an another password and after that I can login.

Is there any new version of it?

I don't seem to have that problem, have you tried removing all cookies related to that domain name and then closing and open your browser . Ive tested it my self and it seem to be fine by the way the login and takelogin are untouched.:chch:

I am about to release a even more complete version pretty soon! I'm just finishing off a few thing:gum:

Joco1114 27th November 2012 21:16

I got the solution with login. There was the problem with mksecret() function in functions\function_main.php. It seems the genereated secret string stored in the mysql table was re-read incorrectly. That's because I use special accents (like: áűőúöüóí) and I had conflict with the codepages in PHP and in MySQL. Here is my mksecret():

PHP Code:

function mksecret($len 20)
{
    
$ret "";
    
$chars "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";

    
$size strlen$chars );
    for( 
$i 0$i $len$i++ ) {
        
$ret .= $charsrand0$size ) ];
    }
    return 
$ret;


As it seems it generated only "readable" secret string contain [a-zA-Z0-9] chars. No accents! :)

PS: I'm waiting your complete version impatiently. :)


Quote:

Originally Posted by firefly (Post 37583)
I don't seem to have that problem, have you tried removing all cookies related to that domain name and then closing and open your browser . Ive tested it my self and it seem to be fine by the way the login and takelogin are untouched.:chch:

I am about to release a even more complete version pretty soon! I'm just finishing off a few thing:gum:


firefly 28th November 2012 04:58

Quote:

Originally Posted by Joco1114 (Post 37659)
I got the solution with login. There was the problem with mksecret() function in functions\function_main.php. It seems the genereated secret string stored in the mysql table was re-read incorrectly. That's because I use special accents (like: áűőúöüóí) and I had conflict with the codepages in PHP and in MySQL. Here is my mksecret():

PHP Code:

function mksecret($len 20)
{
    
$ret "";
    
$chars "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";

    
$size strlen$chars );
    for( 
$i 0$i $len$i++ ) {
        
$ret .= $charsrand0$size ) ];
    }
    return 
$ret;


As it seems it generated only "readable" secret string contain [a-zA-Z0-9] chars. No accents! :)

PS: I'm waiting your complete version impatiently. :)

I will have a look... what is your language?

Pretty soon, I'm busy make language pack, its very time consuming ....

Joco1114 28th November 2012 07:38

I'm from Hungary. I had to change all HTMLEntities() to HTMLSpecialChars() because of accented chars. I got strange chars instead of my Hungarian chars.

Language files would be welcomed. :) I will translate it to Hungarian, if you will publish it.

Other: I "extended" this source with the HTTP download possibility. It means above a special ratio and/or for higher classes the members can download the files with HTTP protocol. I insertet into the function_config.php a new config variable:
PHP Code:

$http_upload_dir    ROOT_DIR."/tracker"

I seed my files from this folder by default and after a file_exists() inquiry I write the link for this file. Not too elegant, but I had no change torrent table with a new HTTP_URL field. :)

Other: I'm noticed an interesting thing: every leeching will start a couple of minutes after dropping into the client. It is about 4-5 minutes and the speed is not to good, about 1Mbit/sec (120kBps). Of course my inet speed is higher (20Mbits). I checked the wait time, but it is equal is 0 (for everyone). Or is there any limit of down speed in announce.php?

Sorry about my English, I learned everything from the Internet. So I speak BASIC English. :)

Quote:

Originally Posted by firefly (Post 37665)
I will have a look... what is your language?

Pretty soon, I'm busy make language pack, its very time consuming ....



All times are GMT +2. The time now is 15:03.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.