Hi Kaloyan,
 
 Thanks, that was very helpful. I finally managed to install care2x 2.1.6.
 
...a note to those who came for the care2x workshop at University Computing Centre and left with xampp,  they should switch PHP to 4 as the installer won't complete with unless the php version is less than 5.0 and greater than php 4.3  (the xampp distributed with the cd has php 4.4).
 
 Godfrey Kapinga
University Computing Centre
Dar es Salaam, Tanzania

 
On 5/5/06, Kaloyan Raev <[EMAIL PROTECTED]> wrote:
Hi Godfrey,

The problem is that for some reason Smarty cannot write compiled
template files in the temporary directory.

The temporary directory is defined in the /installer/config.php file:

/*
* Writable directory for smarty compile dir
*/
$writable_dir = '/tmp';
if (!file_exists($writable_dir)) {
       $writable_dir = realpath(dirname(__FILE__).'/tmp');
}

If there is no '/tmp' dir present on the system (as Windows) the
directory should be resolved to /installer/tmp, which does not happen in
your case.

Try the following: open the /installer/config.php file and replace the
above code snippet with:

/*
* Writable directory for smarty compile dir
*/
$writable_dir = realpath(dirname(__FILE__).'/tmp');

Greetings
Kaloyan


On Thu, 2006-05-04 at 01:07 -0700, Godfrey Kapinga wrote:
> Hello Kaloyan,
>
>  i have downloaded the new beta 2.1.6  and extracted it but I couldn't
> even start the installation. After I typed the url
> ( http://localhost/care216/installer/)  First I got this error:
>
> Warning: Smarty error: problem writing temporary file '/tmp\%%438\%%
> 438461667\445a3dab2cc12' in C:\Program Files\xampp\htdocs\care216
> \classes\smarty\libs\Smarty.class.php on line 1144
>
> Smarty error: problem writing temporary file '/tmp\%%438\%%438461667
> \445a3dab2cc12', 512
>
> Then I refreshed the page and got this error:
>
> FATAL: InstallerEngine: Invalid configuration object passed in!
>
>
> Help!
>   Godfrey Kapinga
> University Computing Centre
> Dar-es Salaam, Tanzania
>
>



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to