Bravo List
Register
Go Back   > Bravo List > Source Code > Trackers > Torrent Strike
Reply
  #1  
Old 20-11-11, 15:01
accretio's Avatar
accretio accretio is offline
Senior Member
 
Join Date: Nov 2011
South Africa
Posts: 26
Exclamation 403 Forbidden on TorrentStrike
hey guys, im trying to setup TorrentStrike on a free webhost and i have the directory public_html where I upload all the files.
After uploading all the files, when i goto the site with "admincp.php" it just says "You don't have permission to access /admincp.php on this server."

How can i fix this? :unknown:
Thanks in advance...
Reply With Quote
  #2  
Old 20-11-11, 15:42
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,049
Default
What version?
__________________
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 20-11-11, 16:00
accretio's Avatar
accretio accretio is offline
Senior Member
 
Join Date: Nov 2011
South Africa
Posts: 26
Exclamation 403 Forbidden TorrentStrike
@joeroberts, im using version 0.4 and its not modded (from sourceforge). but i resolved the problem, seems i forgot to set the permissions for the actual folder.

but now i get this when i try to make a sysop account:

SQL Error

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '>= first AND <= last' at line 1in /home/accretio/public_html/include/bittorrent.php, line 93


thanks for taking interest dude, but how can i resolve this one? :unknown:

Reply With Quote
  #4  
Old 20-11-11, 22:08
Timisoreanul's Avatar
Timisoreanul Timisoreanul is offline
Senior Member
 
Join Date: Apr 2008
P2P
Posts: 208
Default
accretio hi, have you installed it from admincp?
put the detalis there click submit then you given to install the sql

Open bittorent.php with notepad++ end find that line 93 end post here the code.
Also try NOT to use a free host no good .. try localhost with xammp
Good luck
Reply With Quote
  #5  
Old 21-11-11, 14:15
accretio's Avatar
accretio accretio is offline
Senior Member
 
Join Date: Nov 2011
South Africa
Posts: 26
Unhappy
accretio hi, have you installed it from admincp?
put the detalis there click submit then you given to install the sql
---------------------------------------------------------------
yes i am using admincp.php and i do it all successfully, until im asked to make a sysop account and thats where i get an error.

---------------------------------------------------------------
Open bittorent.php with notepad++ end find that line 93 end post here the code.
Also try NOT to use a free host no good .. try localhost with xammp
Good luck[/QUOTE]
---------------------------------------------------------------
thanks for taking interest man, here's the code on line 93:

$res = mysql_query("SELECT * FROM bans WHERE $nip >= first AND $nip <= last") or sqlerr(__FILE__, __LINE__);

---------------------------------------------------------------

i'm planning on getting a paid host but i'd like to first set up the whole website on a free host beforehand so that i am prepared with advertising, etc. so that i can pay for the hosting costs, coz here in south africa, hosting isn't very cheap.
Reply With Quote
  #6  
Old 21-11-11, 23:50
Timisoreanul's Avatar
Timisoreanul Timisoreanul is offline
Senior Member
 
Join Date: Apr 2008
P2P
Posts: 208
Default
Hey accretio, i have check in bittorent that line : mine is 103 .. end the code is ok it is a match with mine so it is ok.
Try this bittorent ( make sure you back-up the old one ).
Attached Files
File Type: php bittorrent.php (31.1 KB, 7 views)
Reply With Quote
  #7  
Old 22-11-11, 13:56
accretio's Avatar
accretio accretio is offline
Senior Member
 
Join Date: Nov 2011
South Africa
Posts: 26
Unhappy 403 Forbidden TorrentStrike
thanks a lot man, will try replacing the file and see what happens. will keep you posted. thanks again

Bump: hey man, i'm getting a similar error now, i'll paste it below:

SQL Error

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '>= first AND <= last' at line 1in /home/accretio/public_html/include/bittorrent.php, line 107


please help man, i'd really like to start my own torrent tracker. :unknown:

Reply With Quote
  #8  
Old 23-11-11, 00:59
Timisoreanul's Avatar
Timisoreanul Timisoreanul is offline
Senior Member
 
Join Date: Apr 2008
P2P
Posts: 208
Default
Hey accretio i think i found your problem , here is some version's of bittorrent.
Rename 1 , 2 ,3, 4 to bittorent, end try .Good luck
Attached Files
File Type: php 1.php (31.1 KB, 1 views)
File Type: php 2.php (31.1 KB, 1 views)
File Type: php 3.php (31.1 KB, 1 views)
File Type: php 4.php (31.0 KB, 2 views)
Reply With Quote
Reply

Tags
403 , forbidden , torrentstrike

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