Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   phpMyBitTorrent (BT.Manager) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   i have error login (http://www.bvlist.com/showthread.php?t=10319)

vlady100 22-03-15 14:34

i have error login
 
error login:

HTML Code:

Fatal error: Call to a member function sql_query() on a non-object in /home/..../public_html/tracker/include/forum_settings.php on line 47
http://c4strike.ro/tracker/

user: HeCt0r
pass: stefania


login...

joeroberts 22-03-15 15:50

In includes/functions.php find
PHP Code:

function userlogin($username, &$cookiedata) {
include_once(
'include/forum_settings.php');
global 
$db$db_prefix$cookiedomain$cookiepath$logintime

and make it
PHP Code:

function userlogin($username, &$cookiedata) {
global 
$db$db_prefix$cookiedomain$cookiepath$logintime;
include_once(
'include/forum_settings.php'); 


vlady100 22-03-15 15:58

Quote:

Originally Posted by joeroberts (Post 46694)
In includes/functions.php find
PHP Code:

function userlogin($username, &$cookiedata) {
include_once(
'include/forum_settings.php');
global 
$db$db_prefix$cookiedomain$cookiepath$logintime

and make it
PHP Code:

function userlogin($username, &$cookiedata) {
global 
$db$db_prefix$cookiedomain$cookiepath$logintime;
include_once(
'include/forum_settings.php'); 


thenks :X, you have a theme good for phpmybittorrent?

joeroberts 22-03-15 15:59

http://www.bvlist.com/sourcecode/php...r/mods-themes/

vlady100 22-03-15 17:25

1 Attachment(s)
a next error x_x

Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of ip_valid(). in /home/areascripters/public_html/include/functions.php on line 159

line 159: if (ip_valid(&$_SERVER[$c])) {

if you go if (ip_valid(localhost)) {

screen:

joeroberts 22-03-15 17:31

why are you trying to use mysql 4?

change
PHP Code:

if (ip_valid(&$_SERVER[$c])) { 

to
PHP Code:

if (ip_valid($_SERVER[$c])) { 


vlady100 22-03-15 17:37

http://area-scripters.com/index.php error....what is the problem?

joeroberts 22-03-15 17:42

because in setup you are trying to use MySQL < 4.1 which is mysql 4.0 or less
when you should be using MySQL >= 4.1 which is mysql 4.1 or greater
in the file includes/configdata.php change MySQL4 to MySQL

vlady100 22-03-15 17:45

1 Attachment(s)
I reinstalled and I put MySQL> = 4.1
gives me error:

joeroberts 22-03-15 17:53

http://btmanager.org/index.php?topic=6.msg1608#msg1608


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

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