待辦事項 #10333

Missing './' on install
啟用日期: 2007-04-26 13:09 最後更新: 2007-04-29 19:59

回報者:
負責人:
(del#8225)
狀態:
關閉
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:

細節

XC Legacy 2.1's installer fails with "include_path"
does not have '.'.

You'd better rewrite all paths into "absolute" paths.

eg)
line 15 of install/index.php

include_once './passwd.php';

should be

include_once dirname(__FILE__).'/passwd.php';

Ticket History (3/3 Histories)

2007-04-26 16:43 Updated by: gij
  • Summary Updated
評語
Logged In: YES
user_id=2366

It's my mistake.

The correct report is ...
'install_tpl.php' should be './install_tpl.php' in
install/class/simplewizard.php on line 125
2007-04-27 18:35 Updated by: (del#8225)
  • 負責人 Update from (無) to nobunobu
  • (群組 change on Tracker)
  • (類別 change on Tracker)
  • 處理結果 Update from to Accepted
評語
Logged In: YES
user_id=8225

There isn't exist
include 'install_tpl.php'
in install/class/simplewizard.php on line 125.

We must change index.php line 53-54
$wizard->setBaseTemplate('install_tpl.php');
$wizard->setTemplatePath('templates');

to

$wizard->setBaseTemplate('./install_tpl.php');
$wizard->setTemplatePath('./templates');

And there are many following line in wizard directory.
include 'install_tpl.php';
These should be changed into
include './install_tpl.php';
2007-04-29 19:59 Updated by: minahito
  • Ticket Close date is changed to 2007-04-29 19:59
  • 處理結果 Update from Accepted to 修正
  • 狀態 Update from 開啟 to 關閉

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入