How to Install Tribiq CMS

1. Place the files on your server

Put the CMS files onto the machine where you wish to run your site.

You can unpack the Tribiq CMS package (e.g. the .tar.gz or .zip file) on to your local machine then upload everything using an FTP program.

Alternatively you can download the Tribiq CMS package onto your server directly, then unpack it, in a different location from your live site. For example on a Linux server the following command unpacks the .tar.gz package:

tar xvfz community-6.0.3a.tar.gz

If you want to run Tribiq CMS in the root of a domain (e.g. http://yourtribiqsite.com/), you should copy all of the package's files into your public HTML directory, for example:

cd public_html
mv ../community-6.0.3a/*.* .

Alternatively if you want to run Tribiq CMS in a subdirectory (e.g. http://yourtribiqsite.com/cms/), and then you should move and rename the package, for example, the following renames the package to "cms" and places it in your public_html directory:

cd public_html
mv ../community-6.0.3 cms

2. Prepare your MySQL Database

Create your MySQL database and a MySQL user account. (You may have a control panel in which you can do this, or you may need to ask for these things to be created for you.)

If you have MySQL command-line console access, you can create a database and a database user like this:

CREATE DATABASE tribiqdb;
GRANT ALL ON tribiqdb.* TO tribiqcms@locahost IDENTIFIED BY 'password';

3. Create the Docstore, Dropbox and Backup directories

Your CMS needs:

  • a Backup directory
  • a Docstore directory
  • a Dropbox directory

We recommend that the Backup, Docstore and Dropbox directories be kept outside of your webserver's web directory (Document Root). This prevents visitors from accessing files via a URL to the file directly. This is essential if you want to password-protect your Documents.

4. Set permissions

The Docstore, Dropbox and Backup directories that you created above need to be writeable by the webserver so you may need to set their permissions, for example on a UN*X server:

chmod 777 docstore
chmod 777 dropbox
chmod 777 backup

The cache directory in the CMS also needs to be writeable by the webserver so you should also set the permission for it as well, for example on a UN*X server:

chmod 777 cache

Finally, to make your installation process smoother we recommend we you make the tribiq_siteconfig.php file writeable, for example on a UN*X server:

chmod 666 tribiq_siteconfig.php

5. Run the Installer

Use your browser to go to the Tribiq CMS directory, e.g. http://yourtribiqsite.com, or http://yourtribiqsite.com/cms/ if you are installing to a subdirectory, to launch the Installer.

The installer will then:

  • Ask you to accept the software license.
  • Check to see if your server meets the requirements to run Tribiq CMS.
  • Ask you to provide the information on the database and database user that you created in step 2.
  • Ask you for your name and email to create your Admin account.
  • Write to your tribiq_siteconfig.php file, or ask you to copy and paste some code into it if it is not writeable by the webserver.
  • Create the database tables needed for the CMS, and populate them with initial data.

6. Enable a Language

After the installer has finished, you will be directed to Storekeeper (the Administrative back-end) and will be prompted to enable at least one Language for your site.

If you wish for your site to be multilingual you may enable additional Languages by clicking on the green plus icon after you have enabled your first Language.

When you have enabled at least one Language, you will then be able to start creating Content on your site!

7. Enable more Modules (optional)

By default a minimal set of Modules are enabled. You can enable more by going to "Modules" in Storekeeper.

8. Enable mod_rewrite functionality (optional)

If mod_rewrite is enabled in your server's Apache installation, and Apache is configured to read directives from .htaccess files in your web directory, you should rename the htaccess.txt file in the Tribiq CMS directory to .htaccess, for example on a UN*X server:

mv htaccess.txt .htaccess

9. Enable your site

Visitors will not be able to actually see your site until you enable it. To enable your site:

  • Go to "Content" in Storekeeper, then go to "Special Pages" in the second level of navigation, then ensure that all of the Content Items shown are published.
  • Go to "Administration" in Storekeeper, then go to "Site Disabled" in the main panel, then click on the toolbar button above to enable your site.

 

Thank you for using Tribiq CMS!

Friday 11th September 2009 09:16

Please note, we are soon going to do away with the CREATE VIEW requirement, as we are going to get rid of MySQL Views from Tribiq CMS.

This will be as of Tribiq CMS 5.1.1. The reason is that MySQL Views currently appear to be inefficiently handled, compared to other MySQL queries which get well optimized.

Thursday 6th January 2011 12:31

Hi,

[s]I was trying to install software[/s] but message

"

Deprecated: Call-time pass-by-reference has been deprecated in C:\wamp\www\community-5.2.6b\documentation_for_developers\helper_functions.inc.php on line 26



Deprecated: Call-time pass-by-reference has been deprecated in C:\wamp\www\community-5.2.6b\documentation_for_developers\helper_functions.inc.php on line 63



Deprecated: Call-time pass-by-reference has been deprecated in C:\wamp\www\community-5.2.6b\cmsincludes\welcome.inc.php on line 977"

Show up. Please help.

Thank you

Monday 10th January 2011 18:05

Hi there!
Thanks for letting us know about this issue.

I would suggest that you change the level of errors that your installation of PHP displays.
We recommend E_ALL & ~E_NOTICE.
You can see PHP: Runtime Configuration - Manual and PHP: Predefined Constants - Manual for more information.

Otherwise, we'll try to get these warnings in our next release, which should be available in the next 1 - 2 weeks.

Wednesday 26th January 2011 14:20

Hi thank you very much for clarifiying the issue of Tribiq CMS installation. why can't you create an automatic installation wizard to simplify the instalation process, some users are a bit slow to understand installation procedures like these, so if u create an installation wizard it would be more suitible for everyone.

Thursday 3rd February 2011 01:36

I'm using Wampserver and I had the same errors as above: Deprecated: Call-time pass-by-reference has been deprecated in C:\wamp.... I did turned off the errors in the PHP. But still I'm unable to launch the installation. The page is blank and I see in the tab "Welcome to Tribiq CMS" in the corner IE is showing errors :
Webpage error details

Message: Syntax error
Line: 1
Char: 1
Code: 0
URI: http://localhost/tribiq/community-5.2.6b/cmsjs/inc-admin.js.php?v=13501&gz=0

Message: 'tribiqA' is undefined
Line: 45
Char: 2
Code: 0
URI: http://localhost/tribiq/community-5.2.6b/admin/welcome.php

Message: 'tribiqAB' is undefined
Line: 50
Char: 2
Code: 0
URI: http://localhost/tribiq/community-5.2.6b/admin/welcome.php

Message: 'tribiqA' is undefined
Line: 170
Char: 4
Code: 0
URI: http://localhost/tribiq/community-5.2.6b/admin/welcome.php

any idea why ? It would be great to have a tutorial how to install tribiq and Wampserver

thx

Thursday 3rd February 2011 09:52

Hi there Gasma!

If you have just downloaded Wamp from this page then I'm assuming that it means you're running version 5.3.5 of PHP.

Version 5.3.5 of PHP contains some small changes to how Notices work, which version 5.2.6 of Tribiq CMS doesn't support. In order to run it, you will need to follow these instructions to disable displaying of Notices:

  • Edit your php.ini, find the line that mentions error reporting, and change it to: "error_reporting = E_ALL & ~E_NOTICE"
  • Restart your Apache Server


Alternately you can wait a few days for us to release version 5.2.7 of the CMS, which should run on your version of PHP without you needing to make this change.

Wednesday 30th November 2011 13:02

specifically from what part do we need to edit the site config? a little bit confusing...
here is the sample config you have attached in the directory!

/* Database host (often localhost) */
define('DBHOST', '[[DBHOST]]' );
/* Database name */
define('DBNAME', '[[DBNAME]]' );
/* MySQL Database username */
define('DBUSER', '[[DBUSER]]' );
/* Database password */
define('DBPASS', '[[DBPASS]]' );
/* Prefix for all table names to keep them distinct from other apps */
define('DB_NAME_PREFIX', '[[DB_NAME_PREFIX]]');

Wednesday 30th November 2011 13:18

I figured it out but I'll always get this error "69.170.135.91 not valid "

Wednesday 30th November 2011 13:38

Hi there Wakarooh!

May I ask, are you using the installer? For most people, there shouldn't be any need to manually edit your tribiq_siteconfig.php file.

Regarding the error that you mentioned, would it be possible for you to give us some more information about what you did and where you are seeing it? A screenshot would be quite nice as well, as it would let us see it in context.

Wednesday 30th November 2011 15:18

will you please provide me a sample config file with some sample data... i have already chmod the config into 666 but error still exist:
Could not write to file tribiq_siteconfig.php
To correct the file permissions: chmod 666 tribiq_siteconfig.php

You can add a comment here