phpEmployment version 1.8 
 
Demo| Main Features|Advanced Features|Requirements|Installation|Download|Order| Contact us  
 
 
   Installation:  

1) Obtain phpEmployment.zip
2) unzip it into the directory you want (best way is document root 'htdocs' or 'www')
3) Make sure your directory structure is like this:
     phpEmployment/
     phpEmployment/admin
     phpEmployment/conf (chmod to 777)
     phpEmployment/img
     phpEmployment/lib
     phpEmployment/languages
     phpEmployment/photoes (chmod to 777)

Attention! Befor running Install script you need to set permissions to make 'conf' directory and it's content files writable!
This involves using the CHMOD command. If you do not understand CHMOD, there are some resources and information listed at http://www.eclecticpixels.com/tutorials/chmod/. CHMOD as follows: 
chmod 777 conf (this is a directory) 
chmod 777 all files in the conf directory
After the installation and final configuration you may chmod "conf" directory to 606 for security purposes. 


Automatic Installation
4) Run install.php in your web browser and follow the instructions. 


 



Manual Installation
4) Create a MySQL database (If you have an installed MySQL database and enough experinece in SQL you may pass this step).

The database needs a database-name, a username, and a password.
The database-name can be any name beginning with a letter, the username
should be your unix login name. The password must be different from all 
other passwords in your system for security reasons.

If you have root access to the MySQL server then you can create the
database following these instructions:

   4.1. On UNIX prompt write:

      mysqladmin -uroot -p create YourDataBaseName
      (enter MySQL root password)
	
   4.2. On UNIX prompt write:

      mysql -uroot -p
      (enter MySQL root password)
	
   4.3. On MySQL prompt write:

      grant select, insert, update, create, alter, delete, drop
      on DATABASENAME.*
      to USERNAME@localhost
      identified by 'PASSWORD' ;
      quit
	
If you don't have root access then you have to ask the webmaster to
create a database for you. Just specify the database-name, username,
and password. Remember that the database password must be different from
your normal password.

5) Create database tables
There are two ways:
  - From the command line for your operating system, type 

	% mysql YourDataBaseName < phpEmployment.sql
	
This will send the statements into the mysql client and create the tables for you. To verify that this was done correctly, go into the mysql client and see. 

	%mysql YourDataBaseName
	

You should see 

	Welcome to the MySQL monitor. Commands end with ; or \g.
	Your MySQL connection id is 2 to server version: 3.22.32
	Type 'help' for help.
	mysql>


now type 
mysql> show tables;

and you should see the next tables listed 

	+----------------------------+
	| Tables_in_YourDataBaseName |
	+----------------------------+
	|pE_city                     |
	|pE_country                  |
	|pE_employers                |
	|pE_job                      |
	|pE_jobseekers               |
	|pE_resume                   |
	+----------------------------+

pE_city // the cities list
pE_country // the countries list
pE_employers // Registered employers
pE_job // for jobs records
pE_jobseekers // Registered jobseekers
pE_resume // for resume records

   - use phpMyAdmin or similar DataBase Web Administration tools to run the SQL requests from phpEmployment.sql file 

6) Make changes to the conf/conf.inc file. This file is well documented, so you should be able to pick out what you need to change fairly easily.


	########### MySQL DataBase Setting ####################
	$dbname = "yourDBName"; //DataBase Name
	$hostname = "mysql.yourdomain.comm:64366"; //Host Name:PORT
	$username = "yourDBUserName"; //DataBase Access UserName
	$password = "yourDBPassword"; //DataBase Access Password
	
	########### WebDocs real path #################
	$path="/usr/local/apache/htdocs/phpEmployment"; //real path
	$catalogurl="http://localhost/phpEmployment"; //Your Site URL
	$sp="/"; //Windows System '\\'
	$admin="admin@demo.com"; //Admin email

	$site_url="http://www.w2b.ru/";

	############## Color configuration for the default HTML table layout 
	$design["tab_color"]="#d4d5c2"; //HTML Table background color tag setting 
	$design["tr_color"]="#E4E5D2"; //HTML Table <tr> tag background color setting 
	$design["td_color"]="white"; //HTML Table <td> tag background color setting 

	include("../languages/lang_eng.inc"); choose Interface Language

7) Customize next Arrays values in languages/lang_yourlanguage.inc file if you need more custom structure for your data. 
$category; 
$education, 
$schedule, 
$experience, 
$employment 
REMEMBER! The basic changes are possible only during first installation. Then it is not allowable to change array keys and values meaning. You may only edit entries in the context of their basic meaning. For example it not correctly change "Student (High School)" entry from $education array to "Retired" or reorder array keys. It threatens to break posting ad data. 
Similarly you may change countries and cities entries in 'ecountries', 'ecities' tables keeping the uniqueness of 'cid' fields. Remember also that each cid value meets flag image name in img/flags directory
It is easy to do this simply editing phpEmployment.sql file befor running of the SQL requestes. Otherwise use MySQL database tools or phpEmployment Admin Module(if you registerd user) for editing.


8) Once all this has been done, you should protect the conf/conf.inc file (that contains
your login/password for db access). Look at your server documentation to find out
how to do this.
For the Apache server, you'll need to create an ".htaccess" file (without quotes) in
the conf subdir that contains:

      <files conf.inc>
          Order Deny,Allow
          Deny From All
      </files>

You may create your own language interface simply translating the message variables in the lang_eng.inc.


9) To customize page layout you may edit next two files in 'templetes' folder: 
templetes/header.inc 
templetes/footer.inc 

 
 
   Contact us:  
e-mail: development@w2bpm.com 
support: support@w2bpm.com 
 

