Loading...
 
Architecture / Installation

Architecture / Installation


Some installation problem in WIndows 2000

posts: 18 China

Here are some error information from users,what's wrong with it ?

Warning: tempnam() function.tempnam: open_basedir restriction in effect. File(C:\WINNT\TEMP\) is not within the allowed path(s): (D:/APM/APMServ5.2.0/www/htdocs/BRANCH-1-9/;D:/APM/APMServ5.2.0/PHP/uploadtemp/;D:/APM/APMServ5.2.0/PHP/sessiondata/) in D:\APM\APMServ5.2.0\www\htdocs\BRANCH-1-9\lib\init\initlib.php on line 101
db/local.php not found.

Need help...cry

posts: 3631 United States

> Here are some error information from users,what's wrong with it ?
>
> Warning: tempnam() function.tempnam: open_basedir restriction in effect. File(C:\WINNT\TEMP\) is not within the allowed path(s): (D:/APM/APMServ5.2.0/www/htdocs/BRANCH-1-9/;D:/APM/APMServ5.2.0/PHP/uploadtemp/;D:/APM/APMServ5.2.0/PHP/sessiondata/) in D:\APM\APMServ5.2.0\www\htdocs\BRANCH-1-9\lib\init\initlib.php on line 101
> db/local.php not found.
>
> Need help...cry


Two things I see here:

  1. Your TEMP folder is not in your Tiki path. When defining the Temporary Directory (from the Administration: General page), do not include the absolute path (i.e., C:\WINNT\TEMP\) — the directory should be relative to your Tiki install. Please see this doc page for details.

  2. You're missing the local.php file. This should have been created automatically when you ran the tiki-install.php. Did you complete the installation process?
    You can always create the file by hand, if needed:
    <?php
    $db_tiki='mysql';
    $dbversion_tiki='1.9';
    $host_tiki='localhost';
    $user_tiki='YOUR DB USER NAME';
    $pass_tiki='YOUR DB PASSWORD';
    $dbs_tiki='YOUR DB NAME';
    ?>


HTH,

-Rick
Coming soon: TikiWiki for Dummies Smarties — A beginner's guide to using ))TikiWiki((.
Coming soon: TikiWiki for Smarties


posts: 18 China
He still got now perssion of write tiki folders.Howvere,he has set permission of it.....