Installation Manual
Script installation using CPanel provided by Avahost hosting company
Log in to CPanel using the address sent to you by Avahost hosting company. Usually this address has the form of http://yourdomain.com:2082/. Enter the login and password given to you by the hosting provider in the login form:

After you have successfully logged in:

find and click the database icon below as shown in the picture.

A window will open with an input field where you should type the name of your new database. Choose any name in Latin characters. In our example, we use the database name “example”

Now press the “Create database” button.
If everything is correct, you will see the following window, meaning that the database has been created successfully and there are only a few steps left before we start installing the script

Click “Go back” in this window.
Now you see that the new database appears on the server.

Let’s create a user of this database who will be able to put data into it — in other words, the database administrator. The convenient CPanel used by Avahost makes this process very easy. On the same page where you have created a database, find the following input fields:

Here you should enter a username; in our case we choose just “user”, but we recommend to enter more complex names or combinations of letters and numbers.
You should also provide a password for the user being created. We recommend to use the “Generate password” tool. Click the button and then accept to assign the generated password to the user. After you’ve finished, click “Create user”. The next window

will tell you that the user is now created; click “Go back”.
Now add the newly created user to our database

You will be prompted about this user’s privileges. Check the “all privileges” checkbox. Database setup is now completed and we can proceed to installing the script.
You may use FileZilla to upload the script to the server.
Type your FTP access credentials in FileZilla settings. Then connect to your Plus Plan account on Avahost server. Access credentials have been sent to your email when you have signed up for hosting services.
How do I connect?
1. Click “Site Manager”
2. Click “New site” and type the name of your website, e.g. www.example.com
3. Type the FTP address of your website, e.g. ftp.example.com
4. Click “Normal”
5. Enter your FTP login and password sent to your email
6. Click “Connect”

When you connect to your server using FTP protocol, you will see the list of folders. Avahost requires your website files to be uploaded into public_html folder in order to be processed correctly.

To upload the script on your server, highlight the unzipped folder with its files and select upload mode.

The instructions given here can be applied to almost any FTP manager, e.g. Total Commander etc.
Now you should set permissions for each folder on the server.
Set permissions chmod 777 for the folder admin/temp/ (read, write and execute for everyone)
Set permissions chmod 777 for the folder pixels/ (read, write and execute for everyone)
Set permissions chmod 666 for config.php (read and write for everyone)
Set permissions chmod 666 for lang/english.php (read and write for everyone)
In case you use the latest version of the script, we recommend to set permissions chmod 777 (read, write and execute for everyone) for the folders upload_files/images/ and upload_files/docs/.
Permissions can be set with all popular FTP clients.
Now we need to connect the script to the database we created, as described below:
Go to script installation page in your browser:
http://www.yourdomain.com/admin/install.php
Enter the same data we used while creating the database and user in CPanel on Avahost.
When you have entered all the data, click “Install Database”.
The database will be set up and you will only have to delete the file admin/install.php from your server.


Now go to the address where the configuration and administration script is installed: http://www.yourdomain.com/admin/
Default password: ok
For detailed settings go to the section “Main configuration”:

1. Enter the URL where your script will be available.
2. Enter the path to administration panel.

3. In “SMTP Settings”, enter your email that will be shown in outgoing email. Here is an example:

4. You may add a custom logo to the script. Upload your logo to the server and enter the path to the logo file in “Main Config”. The logo must be 350 by 50 pixels in size.
5. Activate payment options. At least one payment option must be activated. If necessary, use the helpful information in README.txt to set up such payment options as PayPal and 2CO.
6. If necessary, configure the image and prices for ad blocks. Go to “Manage Images” and then to “Pixel Inventory”.
7. Change any other options as necessary, e.g. website name and administrator email.
If you can’t see your page, rename example.html to index.html so that it was the main page of your website. In any other case, go to www.yourdomain.com/demo/script/example.html.