<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://doc-en-mirror.openflyers.com/index.php?action=history&amp;feed=atom&amp;title=Install1.3</id>
	<title>Install1.3 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://doc-en-mirror.openflyers.com/index.php?action=history&amp;feed=atom&amp;title=Install1.3"/>
	<link rel="alternate" type="text/html" href="https://doc-en-mirror.openflyers.com/index.php?title=Install1.3&amp;action=history"/>
	<updated>2026-05-01T17:30:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://doc-en-mirror.openflyers.com/index.php?title=Install1.3&amp;diff=186&amp;oldid=prev</id>
		<title>imported&gt;Najoc: /* Installation on &quot;FREE&quot; web hosted account */</title>
		<link rel="alternate" type="text/html" href="https://doc-en-mirror.openflyers.com/index.php?title=Install1.3&amp;diff=186&amp;oldid=prev"/>
		<updated>2007-01-04T18:49:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Installation on &amp;quot;FREE&amp;quot; web hosted account&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Introduction=&lt;br /&gt;
You should find here every thing you need to install OpenFlyers.&lt;br /&gt;
&lt;br /&gt;
If you don't find the answer to your question, ask us in the [http://forums.openflyers.org/ forum].&lt;br /&gt;
&lt;br /&gt;
=Installation on &amp;quot;FREE&amp;quot; web hosted account=&lt;br /&gt;
&lt;br /&gt;
*unzip the freshly downloaded OpenFlyers archive in any folder. A new folder named ''''openflyers_v1_3_0'''' will be created&lt;br /&gt;
*unzip the freshly downloaded PearPool archive in the ''''openflyers_v1_3_0''''  folder. A new folder will be created named ''''pearPool_v1_3''''.&lt;br /&gt;
*rename that folder as ''''include'''';&lt;br /&gt;
*in the ''''openflyers_v1_3_0''''  folder, create a new folder named ''''sessions''''.&lt;br /&gt;
*in the ''''conf'''' folder, open the file named config.php and make the following changes :&lt;br /&gt;
      - '''define ('DEFAULT_LANG','francais');'''&lt;br /&gt;
      - '''define ('PEAR_DIRECTORY',ROOT_PATH.'/include');'''&lt;br /&gt;
Save your changes.&lt;br /&gt;
*in the same folder open the file named connect.php and fill the following fields :&lt;br /&gt;
 define ('HOST','&amp;quot;your login&amp;quot;.free.fr');&lt;br /&gt;
 define ('BASE','&amp;quot;your login or your MYSQL database name&amp;quot;');&lt;br /&gt;
 define ('VISITOR','&amp;quot;your login or your specific database login&amp;quot;');&lt;br /&gt;
 define ('PASSWORD_VISITOR','your password or your specific database password');&lt;br /&gt;
&lt;br /&gt;
*in the ''''install'''' folder, open the file named install.php and replace the following paragraph :&lt;br /&gt;
    foreach ($pearRequiredPacks as $pearFile) {&lt;br /&gt;
    foreach ($explosedPaths as currentPath) {&lt;br /&gt;
        if (substr ($currentPath, strlen($currentPath)-1, 1) != '/') $currentPath .= '/';&lt;br /&gt;
        if ($handler=file_exists($currentPath.$pearFile)) {&lt;br /&gt;
            $openedPacks[] = $pearFile;&lt;br /&gt;
         } &lt;br /&gt;
       }&lt;br /&gt;
    }&lt;br /&gt;
by&lt;br /&gt;
&lt;br /&gt;
    foreach ($pearRequiredPacks as $pearFile) {&lt;br /&gt;
    $currentPath=$explosedPaths[0];&lt;br /&gt;
        if (substr ($currentPath, strlen($currentPath)-1, 1) != '/') $currentPath .= '/';&lt;br /&gt;
        if ($handler=file_exists($currentPath.$pearFile)) {&lt;br /&gt;
            $openedPacks[] = $pearFile;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
*it is almost done. We must now remove the lock table request in two files located in the ''''includes'''' folder. The first one is named recordBooking.php. Delete lines 225 to 228 :&lt;br /&gt;
&lt;br /&gt;
 if (!$database-&amp;gt;query('lock tables aircrafts as reference read, member_qualif read, &lt;br /&gt;
 qualification read, aircraft_qualif read, authentication as real_auth read, &lt;br /&gt;
 authentication as inst_auth read, aircrafts read,clubs read, members read, profiles read, &lt;br /&gt;
 instructors read, authentication read, exceptionnal_inst_dates read, regular_presence_inst_dates read,&lt;br /&gt;
 booking write, logs write'))&lt;br /&gt;
 {&lt;br /&gt;
   displayBadRequest($lang['BOOK_UNABLE_LOCK']);&lt;br /&gt;
 }&lt;br /&gt;
The second is named recordInstructorsRests.php. Delete lines 90, 91 and 195 :&lt;br /&gt;
 ////////////////////////////// Main code start here /////////////////////////////////&lt;br /&gt;
 90  if($database-&amp;gt;query('lock tables instructors read, profiles read, authentication read,&lt;br /&gt;
    exceptionnal_inst_dates write, regular_presence_inst_dates write'))&lt;br /&gt;
 91  {&lt;br /&gt;
 195 }&lt;br /&gt;
* then you must transfer all files contained in the ''''openflyers_v1_3_0'''' folder to your remote location (do not tranfer the ''''openflyers_v1_3_0'''' folder, only what resides in this folder.&lt;br /&gt;
*finally type in your web browser http://&amp;quot;your login&amp;quot;.free.fr/install/install.php.&lt;br /&gt;
&lt;br /&gt;
If an error occurs about mails, then edit the config.php file and replace the following :&lt;br /&gt;
 define ('MAIL_FACTORY','@MAIL_FACTORY@');&lt;br /&gt;
 define ('MAIL_HOST','@MAIL_HOST@');      // should be change : with localhost you don't send mail far  away !&lt;br /&gt;
 define ('MAIL_AUTH_NAME','@MAIL_AUTH_NAME@');        // if you have authentication with smtp fill this.&lt;br /&gt;
                                                         Work only with smtp factory&lt;br /&gt;
 define ('MAIL_AUTH_PASSWORD','@MAIL_AUTH_PASSWORD@');       // if you have authentication with smtp fill   &lt;br /&gt;
                                                                this. Work only with smtp factory&lt;br /&gt;
by&lt;br /&gt;
&lt;br /&gt;
 define ('MAIL_FACTORY','MAIL');&lt;br /&gt;
 define ('MAIL_HOST','LOCALHOST');        // should be change : with localhost you don't send mail far away !&lt;br /&gt;
 define ('MAIL_AUTH_NAME',' ');           // if you have authentication with smtp fill this. Work only with  &lt;br /&gt;
                                           smtp factory&lt;br /&gt;
 define ('MAIL_AUTH_PASSWORD',' ');&lt;br /&gt;
&lt;br /&gt;
=Mail configuration=&lt;br /&gt;
During the install, it will be ask you which mail send method shoud be used.&lt;br /&gt;
&lt;br /&gt;
You have the choice between :&lt;br /&gt;
*null (no mail management)&lt;br /&gt;
*mail (use internal PHP Mail)&lt;br /&gt;
*smtp (use the PEAR::Net_SMTP package)&lt;br /&gt;
*sendmail (use sendmail generally located in the usr/sbin/ directory but you can change this (read the PEAR/Mail/sendmail.php file))&lt;br /&gt;
&lt;br /&gt;
If you choose smtp, you can also specify an authentication and password couple.&lt;br /&gt;
&lt;br /&gt;
The most used are &amp;quot;mail&amp;quot; and &amp;quot;smtp&amp;quot;. Try and test !&lt;br /&gt;
&lt;br /&gt;
To change your mail configuration after complete installation, you just have to edit the conf/config.php file. Mail parameters are :&lt;br /&gt;
*MAIL_FACTORY&lt;br /&gt;
*MAIL_HOST&lt;br /&gt;
*MAIL_AUTH_NAME&lt;br /&gt;
*MAIL_AUTH_PASSWORD&lt;/div&gt;</summary>
		<author><name>imported&gt;Najoc</name></author>
	</entry>
</feed>