View Single Post
  #13  
Old 18th May 2020, 21:26
fireknight's Avatar
fireknight fireknight is offline
Administrator
 
Join Date: Aug 2010
Australia
Posts: 173
Default
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))."'";
}
Attached Files
File Type: rar BTITFM14_PB_Edition_1.5.2.rar (2.08 MB, 63 views)

Last edited by fireknight; 19th May 2020 at 13:19. Reason: updated post
Reply With Quote
The Following 2 Users Say Thank You to fireknight For This Useful Post:
papad (19th May 2020), soneigr (13th April 2024)