Bravo List
Register
Go Back   > Bravo List > Sourcecode > phpMyBitTorrent (BT.Manager)
Reply
  #1  
Old 22-03-15, 14:34
vlady100's Avatar
vlady100 vlady100 is offline
Senior Member
 
Join Date: Mar 2015
Posts: 18
Default 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...
Reply With Quote
  #2  
Old 22-03-15, 15:50
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 1,988
Default
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'); 
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Managerô forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
vlady100 (22-03-15)
  #3  
Old 22-03-15, 15:58
vlady100's Avatar
vlady100 vlady100 is offline
Senior Member
 
Join Date: Mar 2015
Posts: 18
Default
Quote:
Originally Posted by joeroberts View Post
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?
Reply With Quote
  #4  
Old 22-03-15, 15:59
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 1,988
Default
http://www.bvlist.com/sourcecode/php...r/mods-themes/
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Managerô forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #5  
Old 22-03-15, 17:25
vlady100's Avatar
vlady100 vlady100 is offline
Senior Member
 
Join Date: Mar 2015
Posts: 18
Default
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:
Attached Thumbnails
Snapshot_2015-03-22_172446.png  
Reply With Quote
  #6  
Old 22-03-15, 17:31
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 1,988
Default
why are you trying to use mysql 4?

change
PHP Code:
if (ip_valid(&$_SERVER[$c])) { 
to
PHP Code:
if (ip_valid($_SERVER[$c])) { 
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Managerô forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
vlady100 (22-03-15)
  #7  
Old 22-03-15, 17:37
vlady100's Avatar
vlady100 vlady100 is offline
Senior Member
 
Join Date: Mar 2015
Posts: 18
Default
http://area-scripters.com/index.php error....what is the problem?
Reply With Quote
  #8  
Old 22-03-15, 17:42
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 1,988
Default
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
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Managerô forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #9  
Old 22-03-15, 17:45
vlady100's Avatar
vlady100 vlady100 is offline
Senior Member
 
Join Date: Mar 2015
Posts: 18
Default
I reinstalled and I put MySQL> = 4.1
gives me error:
Attached Thumbnails
Snapshot_2015-03-22_174518.png  
Reply With Quote
  #10  
Old 22-03-15, 17:53
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 1,988
Default
http://btmanager.org/index.php?topic=6.msg1608#msg1608
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Managerô forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
Reply

Tags
error , login

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 19:25. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2017, vBulletin Solutions Inc.