Thank you for purchasing Freelance Cockpit 2. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form. Thanks so much!
Your server need to meet the following requirements in order to run Freelance Cockpit 2.
Connect to your web server using any FTP program (ie. FileZilla) or the webinterface of your webhost and upload all files and folders which are inside the "FC2 Application" folder from the .zip file you have downloaded from Codecanyon. If you like to install Freelance Cockpit 2 on your local computer using WAMP, make sure you first read Local Server Installation
The folder "files" and it's subfolders must have write permissions, so just give the folder write permissions (777).
Go to your web browser and enter your domain plus "/install" i.e. http://www.your-domain.com/install
Your System will now be checked. If your server meets all requirements, go ahead to the next step. If you have warning messages go to FAQ.
Enter your item purchase code. Click on the blue icon to get an idea where you can find your item purchase code.
Enter your MYSQL configuration. If the database you entered does not exist, the system will try to create it. This might not work when your webhost does not allow to create new databases. Please use an existing database in this case or create the database using the web interface of your webhost.
Fill the form with your details.
That's it! Now go to the login page and log yourself in.
If you get an error 404 or 500 page after clicking on "Login", means that you need to change your .htaccess file.
Just search for your error on the FAQ page and change the .htaccess file as descried. Feel free to contact me via my profile page if you are not sure which .htaccess configuration you need to use.
If you like to install Freelance Cockpit 2 on your local machine using WAMP Server you need to make sure to enable the apache rewrite_module. Click on the WAMP icon in your taskbar and click on Apache -> Apache modules -> rewrite_module
When the rewrite_module is not active you will get the following error message if you try to access the Freelance Cockpit installation tool.
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
You also need to make sure that the Curl extention is loaded. Just open your php.ini (...wamp\bin\apache\apache2.2.22\bin\php.ini) and remove the semicolon in front of the following extention: extension=php_curl.dll
The basic cronjob should run at least once a day and is used in order to activate automated tasks like recurring invoices (subscriptions) and automatic database backup. Please refer to your web host providers FAQ in order to find out how to setup a cronjob/crontab (if your hosting package includes cronjobs).
The command should look like this: wget http://www.your-domain.com/cronjob
Your hosting package does not include cronjob/crontab? No problem! There are many websites who offer free cronjob services. One of them is www.setcronjob.com.
The email ticket cronjob should run every 10 minutes and is used in order to activate email tickets.
The command should look like this (you can find your cronjob command in Settings->Ticket->Postmaster cronjob link): wget http://www.your-domain.com/postmaster -O /dev/null
If your web server is running Plesk you can check out the following instruction:
1. Go to Tools and Settings -> Scheduled Tasks
2. Click on Add new Task
3. Enter all the details like on the screenshot below. Important - change the cronjob link (Command) to your personal one. You can find it in Freelance Cockpit 2 under Settings -> Cronjob
Note that you have to enter "wget" in front of the command link.
Video by SiteServing
If you like to use the Paypal IPN feature make sure you have added the IPN link (can be found in Settings -> Paypal) to your Paypal account. Here is a short Youtube video which explains how to set the IPN link to your Paypal account
Video by WebifyWs
If you get 404 page not found error after installation.
RewriteBase /
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] RewriteBase /
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] RewriteBase /your_sub_folder/
On Dreamhost you have to amend the .htaccess. If you get a “No Input File” error.
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/?$1 [L] RewriteBase /
If you get “no input file specified” error on goDaddy web host
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond $1 !\.(gif|jpe?g|png)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?/$1 [L] </IfModule>
The following error message comes up:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /FreelanceCockpit/sparks/php-activerecord/0.0.2/libraries/phpactiverecord.php on line 48
Parse error: syntax error, unexpected T_STRING in /FreelanceCockpit/sparks/php-activerecord/0.0.2/libraries/phpactiverecord.php on line 48
If you get a 500 Error after the installation try the following as .htaccess
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php|robots\.txt) RewriteRule ^(.*)$ /index.php?/$1 [L]
The "System Check" returns that the database file is not writable.
The database file contains your database configuraion and it is located under "application/config/database.php". This file must be writeable during the installation process so give the file write permission 775 using your FTP application or the web interface of your webhost. Make shure you change the permissions back to 644 once the installation is completed.
The "System Check" returns that one or more PHP extentions are not loaded.
Make sure you have all required PHP extentions activated. You may have to contact your web host in order to activate the missing extentions.
How can I change the invoice layout?
You can change the layout by changing the file called "preview.php" which is located under "appliaction/views/blackline/invoices/". Only change this file if you have further HTML and PHP knowledge!
I've used the following images, icons or other files as listed.
Once again, thank you so much for purchasing Freelance Cockpit 2. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist.
Luxsys