Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Strike (http://www.bvlist.com/forumdisplay.php?f=21)
-   -   403 Forbidden on TorrentStrike (http://www.bvlist.com/showthread.php?t=7235)

accretio 20th November 2011 15:01

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...

joeroberts 20th November 2011 15:42

What version?

accretio 20th November 2011 16:00

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:


Timisoreanul 20th November 2011 22:08

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

accretio 21st November 2011 14:15

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.

Timisoreanul 21st November 2011 23:50

1 Attachment(s)
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 ).

accretio 22nd November 2011 13:56

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:


Timisoreanul 23rd November 2011 00:59

4 Attachment(s)
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


All times are GMT +2. The time now is 13:56.

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