Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 16th September 2015, 19:17
codreanuionut's Avatar
codreanuionut codreanuionut is offline
Senior Member
 
Join Date: Sep 2015
Posts: 15
Default Install.php problem
Hi, i was installing the ExtremeTracker.be source founded on this forum, but the installation php file it's not working.. like when i press the button install, nothing happens.. some help?


here is the install.php

PHP Code:
<html><head>
<title>TBsource Installer</title>
<link rel="stylesheet" href="../styles/default.css" type="text/css">
</head>
<body>




<? 
require "functions.php";  

// Form
function step_1()
{
    echo
'
    <form method="post" action="index.php">
    <p class="big">&nbsp;</p>
  <table width="80%" border="0" align="center">
    <tr align="center" valign="middle" bgcolor="#FFFFFF">
      <th height="100" colspan="2" class="colhead"><p class="title big">Post install instructions:</p>
      <p class="title big"> 1) Create the database. </p>
      <p class="title big"> 2) Chmod the /include/secrets.php to 666 if using unix/linux </p></th>
    </tr>
    <tr>
      <td colspan="2" class="colhead">Database Configuration </td>
    </tr>
    <tr>
      <td>Database Server (use localhost if not sure) </td>
      <td><input name="server2" type="text" id="server" value="localhost" size="40" maxlength="40" /></td>
    </tr>
    <tr>
      <td>Database Name</td>
      <td><input name="dbname" type="text" id="dbname" value="tbsource" size="40" maxlength="40" /></td>
    </tr>
    <tr>
      <td>Database User </td>
      <td><input name="dbuser" type="text" id="dbuser" size="40" maxlength="40" /></td>
    </tr>
    <tr>
      <td>Database Password </td>
      <td><input name="dbpass" type="text" id="dbpass" size="40" maxlength="40" /></td>
    </tr>

    <tr>
      <td colspan="2" class="colhead">Sysop User Configuration </td>
    </tr>
    <tr>
      <td>Sysop Username </td>
      <td><input name="sysopuser" type="text" id="sysopuser" size="40" maxlength="40" /></td>
    </tr>
    <tr>
      <td>Sysop Password </td>
      <td><input name="sysoppass" type="text" id="sysoppass" size="40" maxlength="40" /></td>
    </tr>
    <tr>
      <td>Sysop Password Confirm </td>
      <td><input name="sysoppass2" type="text" id="sysoppass2" size="40" maxlength="40" /></td>
    </tr>
    <tr>
      <td>Sysop Email </td>
      <td><input name="sysopmail" type="text" id="sysopmail" size="40" maxlength="40" /></td>
    </tr>

    <tr>
      <td colspan="2" class="colhead">Basic Site Configuration </td>
    </tr>
    <tr>
      <td>Site Name </td>
      <td><input name="sitename" type="text" id="sitename" value="TBsource" size="40" maxlength="40" /></td>
    </tr>


    <tr>
      <td>Domain (no ending slash) </td>
      <td><input name="domain" type="text" id="domain" value="http://tbsource.info" size="40" maxlength="40" /></td>
    </tr>
    <tr>
      <td>Site Email Address </td>
      <td><input name="siteemail" type="text" id="siteemail" value="noreply@tbsource.info" size="40" maxlength="40" /></td>
    </tr>
    <tr>
      <td>Announce Url ( ..../announce.php) </td>
      <td><input name="announce" type="text" id="announce" value="http://tbsource.info/announce.php" size="40" maxlength="40" /></td>
    </tr>
    <tr>
      <td colspan="2">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="2"><div align="center">
        <input name="install" type="submit" class="red" value="Install" />
      </div></td>
    </tr>
  </table>
  <p>&nbsp;</p>
</form>
    '
;  
}

?></table><?php



include('../include/secrets.php');
if( 
defined("TB_INSTALLED") )
{
    die(
'Already installed <a href="../index.php">INDEX</a>');
    exit;
}    
if (isset(
$_POST['install'])) { 
if( 
$_POST['install'] || $_GET['install'] )
{
    
update_config();
    
basic_query();
    
insert_sysop();
    
config();
    
finale();
}
}
else
{
    
step_1();
}
?>
Reply With Quote
  #2  
Old 16th September 2015, 20:12
DND's Avatar
DND DND is offline
VIP
 
Join Date: Dec 2008
Posts: 1,237
Default
what error did you get? you must provide an error so that there can be a fix.
__________________
Need HELP!? I can install:

  1. Server/VPS (Debian,CentOS,Ubuntu,Fedora, FreeBSD) Optimization and ... + Modules
  2. Webserver Windows/Linux (Apache/Lighttpd/Nginx/Mysql/PhpMyAdmin/SSL) Optimization and ... + Modules
  3. Seedbox Windows/Linux (uTorrent,rTorrent,libTorrent,ruTorrent) + Modules
  4. Multiple source code engines
  5. Linux Server Administration (security, cryptography/encryption, proxy, load balancer, custom ddos firewall)
Reply With Quote
  #3  
Old 16th September 2015, 21:02
codreanuionut's Avatar
codreanuionut codreanuionut is offline
Senior Member
 
Join Date: Sep 2015
Posts: 15
Default
Quote:
Originally Posted by DND View Post
what error did you get? you must provide an error so that there can be a fix.
here ya go.
Attached Thumbnails
eye.png  
Reply With Quote
  #4  
Old 16th September 2015, 23:06
Yupy's Avatar
Yupy Yupy is offline
Senior Member
 
Join Date: Nov 2008
P2P
Posts: 36
Default
You must have short_open_tags enabled from php.ini or change <? to <?php
Reply With Quote
  #5  
Old 17th September 2015, 14:02
codreanuionut's Avatar
codreanuionut codreanuionut is offline
Senior Member
 
Join Date: Sep 2015
Posts: 15
Default
Thank's man, i did install the source.. but it's not working..
Reply With Quote
  #6  
Old 17th September 2015, 14:43
ArcticWolf's Avatar
ArcticWolf ArcticWolf is offline
Senior Member
 
Join Date: Oct 2008
Posts: 41
Lightbulb
Most of the old tb-dev stuff not designed to work under windows (wamp).
you will have to do alot of changes like changing ALL <? to <?php in every file or just plain enabling php_short_tag support in php.ini.
Plus most of the installers designed for linux so stuff will not work under windows unless you know what you are doing.

Tb-Dev stuff is so old anyway and prob highly unsecure to good luck.
Reply With Quote
Reply

Tags
installphp , problem

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