Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   Setup Error (http://www.bvlist.com/showthread.php?t=6260)

joeroberts 3rd April 2011 17:39

Quote:

Originally Posted by Mahmoud (Post 27453)
ok sir

this is ok
i fix language error and there is no more error

I'm happy you got it

Quote:

Originally Posted by Mahmoud (Post 27453)
i have just one question
how to enable and disable the menus
i mean main menu and new videos and information etc
how to disable it ?

This well need to be edited in the theme

Quote:

Originally Posted by Mahmoud (Post 27453)
and how to control invitations for my members ?

you can turn it on and off in admin panel to edit the amount given is done in include/cleanup.php
PHP Code:

autoinvites(10,1,4,.90,1);
autoinvites(10,4,7,.95,2);
autoinvites(10,7,10,1.00,3);
autoinvites(10,10,100000,1.05,4); 

You can also give extra invites from edit user
Quote:

Originally Posted by Mahmoud (Post 27453)
and can i use smtp server for mail service ?
thanks

You well need to set your php.ini to do this.

Mahmoud 3rd April 2011 18:06

Quote:

Originally Posted by joeroberts (Post 27454)
I'm happy you got it


This well need to be edited in the theme


you can turn it on and off in admin panel to edit the amount given is done in include/cleanup.php
PHP Code:

autoinvites(10,1,4,.90,1);
autoinvites(10,4,7,.95,2);
autoinvites(10,7,10,1.00,3);
autoinvites(10,10,100000,1.05,4); 

You can also give extra invites from edit user

You well need to set your php.ini to do this.

what a bad luck !!!
sql error while uploading torrent

Quote:

Error Executing SQL Query INSERT INTO torrent_torrents (info_hash, name, filename, save_as, md5sum, search_text, descr, size, ratiobuild, plen, category, type, numfiles, added, exeem, dht, backup_tracker, views, downloaded, completed, banned, password, visible, evidence, owner, ownertype, uploader_host, numratings, ratingsum, seeders, leechers, tot_peer, speed, comments, complaints, tracker, tracker_list, tracker_update, last_action) VALUES ('���1�[d��� !��ؓ�u', 'Wamp Server ', 'WampServer2.1a-x32.exe', 'WampServer2.1a-x32.exe', 'e701a7525271d003a9f8ae97f00e69bc', 'WampServer2.1a-x32.exe WampServer2.1a-x32.exe ********************* WampServer2.1a-x32.exe 59569116 ', '*************************', '59569116', 'yes', '65536', '5', 'single', '1', NOW(), NULL, 'no', 'false', '0', '0', '0', 'no', NULL, 'no', '1', '1', '0', '41.178.208.209', '0', '0', '0', '0', '0', '0', '0', '0,0', NULL, NULL, NOW(), NOW());
Error ID: 1364
Error Message: Field 'torrent_descr' doesn't have a default value
and thanks for ur help

joeroberts 3rd April 2011 18:20

what did you put for description?

Mahmoud 3rd April 2011 20:51

Quote:

Originally Posted by joeroberts (Post 27460)
what did you put for description?

few words about the file

joeroberts 3rd April 2011 22:58

in upload/taketorrent.php find
PHP Code:

$torrentfields[] = "descr";
$torrentvalues[] = "'".$descr."'"

and add before
PHP Code:

$torrentfields[] = "torrent_descr";
$torrentvalues[] = "'".$descr."'"


Mahmoud 4th April 2011 00:11

1 Attachment(s)
Quote:

Originally Posted by joeroberts (Post 27466)
in upload/taketorrent.php find
PHP Code:

$torrentfields[] = "descr";
$torrentvalues[] = "'".$descr."'"

and add before
PHP Code:

$torrentfields[] = "torrent_descr";
$torrentvalues[] = "'".$descr."'"


upload successfully but i got this error in torrent client :
in the log :
Quote:

[2011-04-03 23:55:37] Sent WM_SETTINGCHANGE return = 1
and this in the tracker status see the attached image
thanks

joeroberts 4th April 2011 02:08

I can not see the full sql in that pic.
in announce.php find
PHP Code:

                        $updateset[] = "leechers = leechers + 1";
                
$updateset[] = "tot_peer = tot_peer + 1";
        } else 
err("SQL Error = $sql_insert"); 

and replace it with
PHP Code:

                        $updateset[] = "leechers = leechers + 1";
                
$updateset[] = "tot_peer = tot_peer + 1";
        } else 
err(mysql_error()); 

then show me what your client says

Mahmoud 4th April 2011 20:36

Quote:

Originally Posted by joeroberts (Post 27471)
I can not see the full sql in that pic.
in announce.php find
PHP Code:

                        $updateset[] = "leechers = leechers + 1";
                
$updateset[] = "tot_peer = tot_peer + 1";
        } else 
err("SQL Error = $sql_insert"); 

and replace it with
PHP Code:

                        $updateset[] = "leechers = leechers + 1";
                
$updateset[] = "tot_peer = tot_peer + 1";
        } else 
err(mysql_error()); 

then show me what your client says

ok
i edited the announce.php file and i got this erro in my client :

Quote:

HTTP ERROR 401
and this error while sending PM :

Quote:

Warning: mail() [function.mail]: Failed to connect to mailserver at "75.126.193.146" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in G:\*******\*****.*****\*****\*******\include\class .email.php on line 69
thanks

joeroberts 5th April 2011 06:23

Please recheck the edit as it should give a sql error not a 401 and for the second one its a mail function error from the server.

Mahmoud 5th April 2011 20:07

Quote:

Originally Posted by joeroberts (Post 27481)
Please recheck the edit as it should give a sql error not a 401 and for the second one its a mail function error from the server.

that error appear suddenly before edit the announce.php file


All times are GMT +2. The time now is 12:18.

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