Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   xBTiT (http://www.bvlist.com/forumdisplay.php?f=30)
-   -   Btit Full Modded (http://www.bvlist.com/showthread.php?t=10285)

firefly007 19th January 2020 15:36

On behalf of all the staff and members of BVLIST I would like to thank u fireknight for taking the time to find and re-upload this source.

fanson 18th May 2020 17:38

The installer has detected some problems with your server environment, which will not allow BTI Tracker 1.4.X, PB Edition 1.5.3 to operate correctly. Please correct these issues and then refresh the page to re-check your environment.


My server uses the lowest php
php 5.6


Bump: Processing file: ../sql/database.sql
Starting at the line: 1
Error at the line 27: ) TYPE=MyISAM AUTO_INCREMENT=1 ;
Query: CREATE TABLE `addedrequests` ( `id` int(10) unsigned NOT NULL auto_increment, `requestid` int(10) unsigned NOT NULL default '0', `userid` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `pollid` (`id`), KEY `userid` (`userid`) ) TYPE=MyISAM AUTO_INCREMENT=1 ;
MySQL: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE=MyISAM AUTO_INCREMENT=1' at line 8
Stopped on error

fireknight 18th May 2020 21:26

1 Attachment(s)
Go through the database file and change all the parts



Code:

TYPE=MyISAM

To
Code:

ENGINE=MyISAM

Bump:

Okay the version 1.53 requires a license.

So I have gone through my HDD and found BTITFM14_PB_Edition_1.5.2 ( requires no license )
I have updated the data base sql to work with PHP version: 5.6.30
I have also corrected a few small bits of code - so you should have a smooth install.

Once you have uploaded to code to your root folder, and go to your home page.

Example

www.your_domain.com/
localhost/index.php
127.0.0.1/index.php

It should take you to the install process.

Don't Forget To Create Your Data Base Before You Start To Install The Source Code

During the install page 1 / 5

It will show a blinking ! on the PHP 5 compatibility mode:

At the bottom of the page press skip errors
At the time when the code was written - PHP 5 - was not around, so it has no idea what it is. ( hence the error )

Once the install has been completed, an install.lock file will be created in the install folder.
This will stop some one trying to re install again over the top of existing code.


I would recommend either renaming the install folder for security reasons.
Better still delete the folder.

If you do either of them.

Find

index.php
Code:

if (!file_exists("install/install.lock"))
  {
  if (dirname($_SERVER["PHP_SELF"])=="/" || dirname($_SERVER["PHP_SELF"])=="\\")
      header("Location: http://".$_SERVER["HTTP_HOST"]."/install/");
  else
      header("Location: http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/install/");
  exit;
}

Comment out the code like below - or remove the code ( your call )
Code:

/*
if (!file_exists("install/install.lock"))
  {
  if (dirname($_SERVER["PHP_SELF"])=="/" || dirname($_SERVER["PHP_SELF"])=="\\")
      header("Location: http://".$_SERVER["HTTP_HOST"]."/install/");
  else
      header("Location: http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/install/");
  exit;
}
*/

//==================================================//

Update

For PHP version: 5.6.30

include/ functions.php

Find ( around line 1204 )
Code:

function sqlesc($x) {
    return "'".mysql_escape_string(unesc($x))."'";
}

Replace With
Code:

function sqlesc($x) {
    return "'".mysql_real_escape_string(unesc($x))."'";
}



All times are GMT +2. The time now is 10:29.

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