Free Arcade Script
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Demo
Help
Search
Store
Gallery
Contact
Login
Register
Free Arcade Script
»
Forum
»
FAS Help
»
V3.x
»
How to set up your arcade on a free hosting account
Recent
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to set up your arcade on a free hosting account (Read 4896 times)
am-fs
Owner
Developer
Full Member
Posts: 228
Force: +1/-0
How to set up your arcade on a free hosting account
«
on:
October 23, 2014, 06:23:21 PM »
This tutorial will show you how to set up your arcade on a free hosting account.
I'm using
http://2freehosting.com
Sign up and activate your account on the free hosting of your choice.
Create New Account
Select Hosting Plan => Free Hosting
You can add your domain or create a sub-domain from the dropdown list.
Account Created
Now Select Cpanel from the top nav bar.
Select your account or switch to your account.
Find Advance and select => MySQL Databases
Create your Database and save your info, you will need this info to edit your config.php file.
Download the latest version of Free Arcade Script if you have not. =>
Download FAS
Extract the zip and open it up and find the file config.php in the includes folder.
The info you set up your database will be needed here.
includes/config.php
$dbhost = 'localhost'; // Database host usually localhost
$dbuser = 'DBUSER'; // Database user
$dbpass = 'DBPASS'; // Database password
$dbname = 'DBNAME'; // Database name
$cachepath = '';
Insert your info in the correct path, $dbhost is the tricky part, on cpanel accounts you will have to enter the MySQL Host name.
To find you host name, look in the database
To find your Directory path, look in your cpanel in Account Information => Home Root => /home/youraccountid
Insert this info in the $cachepath like => /home/youraccountid/public_html/cache/
Save file
Now your ready to upload your files.
Get your FTP account access in your cpanel select => Files => FTP Access
This will give you your info to upload files to your server.
Connect using SmartFTP, FileZilla or program of your choice.
Upload your files and run yourdomain.com/install.php
Enter your details and select = > Update.
Directory Path need to be correct or your site will not work correctly
In most cases it will be => /home/youraccountID/public_html/
*The Path must end with the slash /
Delete the install.php and upgrade.php from your server and log in
Using name => admin and password => admin
Go into "My Account" and change your password.
Now your ready to go into admin and set your site up.
To check if your directory path is correct.
create an new file => path.php
Insert this info
Code:
[Select]
<?php
echo
getcwd
();
// Short for `Get Current Working Directory`
?>
Now run yourdomain.com/path.php
Copy the path and correct it if needed in the includes/config.php and in the admin control panel of your arcade => admin => settings
Logged
Arcade SEO
Print
Pages: [
1
]
« previous
next »
Free Arcade Script
»
Forum
»
FAS Help
»
V3.x
»
How to set up your arcade on a free hosting account