Bravo List
Register
Go Back   > Bravo List > Source Code > Active Trackers > Torrent Trader > Mods & Themes
Reply
  #1  
Old 23rd August 2011, 20:18
xDev xDev is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 158
Question tt206 Access denied
hello all need a bit of help here please i car`nt put this code out on here till i get this fixed been at it all day lol

this is what im getting on sign up

Access denied for user 'apache'@'localhost' (using password: NO)

now the backend config is ok with all the needer info and the backend mysql as all the needer infoin it go to sign up get this Access denied for user 'apache'@'localhost' (using password: NO)

any idear why and where to fix this i think its in the host server on the domain not on the code at all
Reply With Quote
  #2  
Old 24th August 2011, 14:28
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
need to see the code your using to help you!
__________________
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
  #3  
Old 24th August 2011, 19:07
xDev xDev is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 158
Question
Quote:
Originally Posted by joeroberts View Post
need to see the code your using to help you!
torranttrader206
Reply With Quote
  #4  
Old 24th August 2011, 20:10
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 984
Default
i think by "need to see the code" joe meant you should post backend.php

and usually Access denied for user 'apache'@'localhost' (using password: NO) means it`s your mistake, you didn`t set the right name/pass somewhere
Reply With Quote
  #5  
Old 24th August 2011, 22:07
xDev xDev is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 158
Question
Quote:
Originally Posted by Fynnon View Post
i think by "need to see the code" joe meant you should post backend.php

and usually Access denied for user 'apache'@'localhost' (using password: NO) means it`s your mistake, you didn`t set the right name/pass somewhere
this is what i mean the proper name/pass are there lol
you have to set it in the backend ----->mysql

PHP Code:
<?
//
//  H-Tracker v0.2
//    http://h-tracker.org
//    Based on TorrentTrader (http://www.torrenttrader.org)
//
//

//Access Security check
if (eregi('mysql.php',$_SERVER['PHP_SELF'])) {
    die;
}

//Change the settings below to match your MYSQL server connection settings
$mysql_host "localhost";  //leave this as localhost if you are unsure
$mysql_user "user_here";  //Username to connect
$mysql_pass "pass_here"//Password to connect
$mysql_db "db_here";  //Database name
?>
backend------>config


PHP Code:
<?
//
//  H-Tracker v0.2
//    http://h-tracker.org
//    Based on TorrentTrader (http://www.torrenttrader.org)
//
//


// Main Site Settings
$site_config['SITENAME'] = 'SITENAME';                     //Site Name
$site_config['SITEEMAIL'] = 'noreply@SITEEMAIL';        //Emails will be sent from this address
$site_config['SITEURL'] = 'http://SITEURL';    //Main Site URL
$site_config['default_language'] = "1";                        //DEFAULT LANGUAGE ID
$site_config['default_theme'] = "1";                        //DEFAULT THEME ID
$site_config['CHARSET'] = "iso-8859-1";                        //Site Charset
$site_config['announce_list'] = "http://announce/announce"//seperate via comma
$site_config['MEMBERSONLY'] = true;                            //MAKE MEMBERS SIGNUP
$site_config['MEMBERSONLY_WAIT'] = false;                    //ENABLE WAIT TIMES FOR BAD RATIO
$site_config['ALLOWEXTERNAL'] = true;        //Enable Uploading of external tracked torrents
$site_config['UPLOADERSONLY'] = false;        //Limit uploading to uploader group only
$site_config['ENABLEINVITES'] = false;
$site_config['INVITEONLY'] = false;            //Only allow signups via invite
$site_config['CONFIRMEMAIL'] = false;        //Enable / Disable Signup confirmation email
$site_config['ACONFIRM'] = false;            //Enable / Disable ADMIN CONFIRM ACCOUNT SIGNUP
$site_config['ANONYMOUSUPLOAD'] = true;        //Enable / Disable anonymous uploads
$site_config['UPLOADAPP'] = true;               //Enable / Disable "Request to be uploader"   
$site_config['AVATARUPLOAD'] = true;


// Paypal Settings
$site_config['PAYPALEMAIL'] = 'noreplyPAYPALEMAIL';   //Your paypal email
$site_config['CURRENCYTYPE'] = 'GBP'#For Fonts
$site_config['CURRENCYTYPE2'] = 'GBP'#For Sign
$site_config['CURRENCYTYPE3'] = 'GBP'#Main Currency for Donations

//AGENT BANS (MUST BE AGENT ID, USE FULL ID FOR SPECIFIC VERSIONS)
$site_config['BANNED_AGENTS'] = "-AZ21, -BC, LIME";

//PATHS, ENSURE THESE ARE CORRECT AND CHMOD TO 777 (ALSO ENSURE TORRENT_DIR/images is CHMOD 777)
$site_config['torrent_dir'] = str_replace('\\''/'getcwd()).'/uploads';
$site_config['nfo_dir'] = str_replace('\\''/'getcwd()).'/uploads';
$site_config['cache_dir'] = str_replace('\\''/'getcwd()).'/cache';
$site_config['blocks_dir'] = str_replace('\\''/'getcwd()).'/blocks'
$site_config['subs_dir'] = str_replace('\\''/'getcwd()).'/uploads/subs';
$site_config['avatar_dir'] = "/images/avatars";

$site_config['SITE_ONLINE'] = true;                                    //Turn Site on/off
$site_config['OFFLINEMSG'] = 'Site is down for a little while';

$site_config['WELCOMEPMON'] = true;            //Auto PM New members
$site_config['WELCOMEPMMSG'] = 'Thank you for registering at our tracker! Please remember to keep your ratio at 1.00 or greater :)';
$site_config['UPLOADRULES'] = 'You should also include a .nfo file wherever possible<BR>Try to make sure your torrents are well-seeded for at least 24 hours<BR>Do not re-release material that is still active';

//Setup Site Blocks
$site_config['LEFTNAV'] = true//Left Column Enable/Disable
$site_config['RIGHTNAV'] = true// Right Column Enable/Disable
$site_config['MIDDLENAV'] = true// Middle Column Enable/Disable
$site_config['SHOUTBOX'] = true//enable/disable shoutbox
$site_config['NEWSON'] = true;
$site_config['CAPTCHAON'] = true;  //enable/disable confirmation security code
$site_config['AGEON'] = true;  //enable/disable torrent age
$site_config['CTRACKER'] = true;  //enable/disable security of your tracker
$site_config['RELEASESON'] = false;  //enable/disable releases on index page
$site_config['REQUESTSON'] = true//enable/disable Requests for torrents on your tracker
$site_config['DONATEON'] = true;
$site_config['DISCLAIMERON'] = true;
$site_config['DISCLAIMERTXT'] = 'None of the files shown here are actually hosted on this server.
The links are provided solely by users.
These BitTorrent files are meant for the distribution of backup files.
By downloading the BitTorrent file, you are claiming that you own the original file.

The administrator of this site  holds NO RESPONSIBILITY if these files are misused in any way and
cannot be held responsible for what its users post, or any other actions of its users.. For controversial reasons,
if you are affiliated with any government, ANTI-Piracy group or any other related group,
or were formally a worker of one you CANNOT download any of these BitTorrent files.

If you download these files you are not agreeing to these terms and you are violating code 431.322.12 of the Internet Privacy Act
signed by Bill Clinton in 1995 and that means that you CANNOT threaten our ISP(s) or any person(s) or company storing these files,
and cannot prosecute any person(s) affiliated with this page which includes family, friends or individuals who run or enter this web site.
If you do not agree to these terms, please do not use this service or you will face consequences.
You may not use this site to distribute or download any material when you do not have the legal rights to do so.
It is your own responsibility.'
;


//setup IRC Chat
$site_config['IRCCHAT'] = false//Enable/Disable irc chat
$site_config['IRCCHANNEL'] = "#site_irc";   //Your irc channel
$site_config['IRCSERVER'] = "irc.p2p-irc.net";

//WAIT TIME VARS
$site_config['WAIT_CLASS'] = '1,2';        //Classes wait time applies to, comma seperated
$site_config['GIGSA'] = '1';            //Minimum gigs
$site_config['RATIOA'] = '0.50';        //Minimum ratio
$site_config['WAITA'] = '24';            //If neither are met, wait time in hours

$site_config['GIGSB'] = '3';            //Minimum gigs
$site_config['RATIOB'] = '0.65';        //Minimum ratio
$site_config['WAITB'] = '12';            //If neither are met, wait time in hours

$site_config['GIGSC'] = '5';            //Minimum gigs
$site_config['RATIOC'] = '0.80';        //Minimum ratio
$site_config['WAITC'] = '6';            //If neither are met, wait time in hours

$site_config['GIGSD'] = '7';            //Minimum gigs
$site_config['RATIOD'] = '0.95';        //Minimum ratio
$site_config['WAITD'] = '2';            //If neither are met, wait time in hours

$site_config['FORUMS'] = true// Enable / Disable Forums
$site_config['FORUMS_GUESTREAD'] = true// Allow / Disallow Guests To Read Forums


$site_config['STAFFSHOUTBOX'] = true//enable/disable staff shoutbox



//CLEANUP AND ANNOUNCE SETTINGS
$site_config['PEERLIMIT'] = '10000';            //LIMIT NUMBER OF PEERS GIVEN IN EACH ANNOUNCE
$site_config['autoclean_interval'] = '600';        //Time between each auto cleanup (Seconds)
$site_config['announce_interval'] = '1800';        //Announce Interval (Seconds)
$site_config['signup_timeout'] = '259200';        //Time a user stays as pending before being deleted(Seconds)
$site_config['maxsiteusers'] = '10000';            //Maximum site members
$site_config['max_dead_torrent_time'] = '21600';//Time until torrents that are dead are set invisible (Seconds)
$site_config["ipcheck"] = true//  Enable/disable          
$site_config["accountmax"] = 1// max number of accounts
$site_config['points_per_hour'] =  5// How much points add to bonus per hour, if the user seeding.
$site_config['points_per_cleanup'] =  $site_config['points_per_hour']*($site_config['autoclean_interval']/3600); // Don't change it!

//AUTO RATIO WARNING
$site_config["ratiowarn_enable"] = true//Enable/Disable auto ratio warning
$site_config["ratiowarn_minratio"] = 0.4//Min Ratio
$site_config["ratiowarn_mingigs"] = 4;  //Min GB Downloaded
$site_config["ratiowarn_daystowarn"] = 14//Days to ban

// category = Category Image/Name, name = Torrent Name, dl = Download Link, uploader, comments = # of comments, completed = times completed, size, seeders, leechers, health = seeder/leecher ratio, external, wait = Wait Time (if enabled), rating = Torrent Rating, added = Date Added, nfo = link to nfo (if exists)
$site_config["torrenttable_columns"] = "category,name,size,dl,nfo,youtube,completed,comments,seeders,leechers,rating,added,health,uploader,wait,external";
// size, speed, added = Date Added, tracker, completed = times completed
$site_config["torrenttable_expand"] = "";
?>
now ive took out my info what im trying to say all is done as it should be done now sign up at said url it gives me Access denied for user 'apache'@'localhost' (using password: NO)
Reply With Quote
  #6  
Old 25th August 2011, 06:59
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
I was refering to the login page
__________________
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
  #7  
Old 25th August 2011, 12:17
xDev xDev is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 158
Thumbs up
Quote:
Originally Posted by joeroberts View Post
I was refering to the login page
its ok ive dumped the code but ill put it on here for download its a fully mod tt206 with everything you could want on it ive done
Reply With Quote
Reply

Tags
access , denied , tt206

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 10:57. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.