How to Install a local Web server and WebTrack - Version: 3.5.11 (22-08-09) Author: Snille
What you need:

1. MovieTracks databases. Basically, install MovieTrack, Enter all your movies and you are all set to continue to the next step. :)

2. You need to download the XAMPP install packet for your system (Linux, Windows or Solaris). I will explain later how to install. (It’s very easy.) You can download it here. (The XAMPP Lite works fine to. I will use the XAMPP Lite (26 MB Selfextracting RAR archive for windows) in this install instructions.

3. Some space on your hard drive of course. :)

Also, the "clients" web browser need to have Cookies enabled.

What you have to do:

Start the self extracting rar EXE file.
Select a place to unpack it to. It has to be in a ROOT somewhere, like C: or D: or what ever drive you want. Just make sure it’s in the ROOT. If you do not unpack in a root, it will not work.

When unpacked you will have a folder called "xampplite" in the root. Ex: c:\xampplite Go in to that folder and run “setup_xampp.bat”. A black box will appear informing some, and you will have to "Press any key to continue..."

Now, run the "apache_start.bat" and a black box will appear again letting you know that "Apache 2" is starting... (Has started and is running). :) If you want to "shutdown" your web server just close the black box. You will not for WebTracks needs have to start MySQL at all. If you run the "xampp_start.exe", both Apache and MySQL will start, and that of course works as well.

Now, in the "xampplite" folder you will find another folder called "htdocs". If you type in your browser the following: http://localhost/ you will find the "start" page of XAMPP. The "htdocs" is the "root" of your web server. If you do not see the start page, something went wrong when installing. Go back and do it again. :) If you DO see the page. Go to your "htdocs" folder again and copy the content of my archive (The complete "webtrack" directory) in to the "htdocs".

Select your database type:
MovieTrack

If you are using MovieTrack.
Copy all the database files (.dat) in to the "db" directory. These files are located in the ex: "C:\Program Files\MovieTrack\Profiles\name of your profile\ ".
The files you shall copy are:

Comments.dat (Only if you are still using MovieTrack 3.2)
History.dat
IMDb.dat
Media.dat
MovieTrack.dat

Copy your "Covers" directory from your profile in MovieTrack directory (ex: "C:\Program Files\MovieTrack\Profiles\name of your profile\Covers") to the "webtrack" (overwriting the one already there), and copy the "Trailers" directory (ex: "C:\Program Files\MovieTrack\Profiles\name of your profile\Trailers") in to the "webtrack" directory (overwrite).

Ant Movie Catalog

If you are using Ant Movie Catalog.
Save your database as XML and copy the file to the db directory.
Remeber to enter the name of the database file in the config later on.
If you want to use a separate folder for your cover pictures copy all pictures to the Covers folder. If not, remember to change the default "Covers" directory in the config when updating your configuration.

Remember to set the webtrack folder to 777 using "CHMOD" (give the web server write and create rights in the folders). And if you want to update your movies "online" also set your "Covers" and "db" folders to 777. If this is not done, WebTrack cannot save the settings, users or updates to your system. If you are about to create or update a language file the "language" folder also need to have 777.

Now type http://yoursite/webtrack and follow the instructions, follow the link to the update page and change the values for your needs. If you are using a MovieTrack database the only things you REALLY have to change to just test it is the site URL, owners name and Email address. If you are using a Ant Movie Catalog XML database you also need to change the database type to "AntMovieCatalog", the databasefilename has to be filled in and if you have all your covers pictures in another folder then the "Covers", you need to change that as well. Press the "Save config.php file!" and you are all set to go! :) When you have created your config.php file using the http://yoursite/webtrack/update don’t forget to RENAME the “update” directory to something that no one knows about. You can still use the update tool with the new folder name to changes settings. If you don’t rename it, anyone who has read the “install” instructions can download your “config.php” file and there by get all the information inside. That is NOT a good idea if you are running a “login” based WebTrack. :)

Updating the language file is done by using the http://yoursite/webtrack/language page. On this pages you see all the "in code" text that can be displayed in the WebTrack system. You also see a short description of where and/or when the message may appear and you see the default english message. You can now translate all the text if you want, when you press the save button at the end of the page your "language file" in the currently selected style profile will be updated with your changes. This way you can have different style profiles on different languages. Remember, if you select another name of your language file in the update page, WebTrack will try to find that language file in all style profiles. It is a good idea to use the same name for all language files in all style profiles, so when you switch style profile the language file will always be found without needing to use the update page. If however the selected style profile language file is missing, the default english language file will be used. Also, if you don't want people to mess up your language files. Rename the index.php file in the language folder to something else that only you know about. :)

If indeed you are running a Login based WebTracker, you will have to add, edit and remove users from time to time. This is all done from http://yoursite/webtrack/manageusers.php. To login to the management page you will have to use the username and password that you defined in the config.php file earlier. It's VERY important that you change this information to your liking. The default username is "admin" and password is "1234". Users can "add" them self via the "request membership page" that can be reached from the login page. You will then get a mail letting you know that a new user has requested access. Login to the http://yoursite/webtrack/manageusers.php and select the new user, give him the appropriate access and check the "Send verify mail to user". Then click "Update / Save". The user now gets a mail with he's username and password for entering your WebTrack system.

After this just type the url to your site http://yousite/webtrack Hopefully your list will appear... :)

Notes:

You can if you want rename the "webtrack" folder to whatever you want. :)

Remember to always use slash (/) when typing paths! Not backslash (\). If you use backslash the search engine will have trouble finding your data if you are not using Microsoft IIS.

Inside the "xampplite\apache" folder there is an "apache_installservice.bat" file. If you run that one the Apache web server will install as a service and will always start when you start your computer. And this way you will not have the annoying black box up all the time. :)

The same goes for "xampplite\mysql". In there you will find a "mysql_installservice.bat". This one installs MyQSL as a service. How ever. MySQL is NOT required so far for WebTrack to work.

Now, if you have a small network at home. You CAN use WebTrack from any other computer in your network when you have installed the “xampplite” packet. You just need to know the IP address of your “xampplite” machine. This can be done in many ways. One of the ways are just to go to Start -> Run -> Type “CMD” and press enter. A black box will show up. And now type “ipconfig” and press enter. Your IP-Address is shown among with your Subnet mask and gateway. After you have the IP-Address for you “xampplite” installed machine, just type http://the-ip-address/webtrack and your list will appear! :)

Mail me at: master_snille@hotmail.com
WWW: www.snille.net
The forum: WebTrack support forum
License: GNU General Public License