Witam wszystkich
Wczoraj zachciało mi się robić forum nie mając o tym zielonego pojęcia... Dzisiaj znalazłem helpmoda i postanowiłem go zainstałować...
Po godzinie zmieniania wszystkiego co potrzeba, nadszedł czas aby uruchomić instalacje, niestety bez powodzenia... przy uruchomieniu install/index.php wyskakują takie błedy:
Kod:
Warning: include(./../language/pl/common.php) [function.include]: failed to open stream: No such file or directory in /home/itbusiness/domains/it-business.pl/public_html/forum/installa/index.php on line 227
Warning: include() [function.include]: Failed opening './../language/pl/common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/itbusiness/domains/it-business.pl/public_html/forum/installa/index.php on line 227
[color=red]Wyciełem to co się powtarzało w następnych liniach[/color]
[phpBB Debug] PHP Notice: in file /installa/index.php on line 437: Cannot modify header information - headers already sent by (output started at /installa/index.php:227)
Kod:
index.php
// No appropriate language found ... so let's use the first one in the language
// dir, this may or may not be English
if (!$language)
{
$dir = @opendir($phpbb_root_path . 'language');
if (!$dir)
{
die('Unable to access the language directory');
exit;
}
while (($file = readdir($dir)) !== false)
{
$path = $phpbb_root_path . 'language/' . $file;
if (!is_file($path) && !is_link($path) && file_exists($path . '/iso.txt'))
{
$language = $file;
break;
}
}
closedir($dir);
}
if (!file_exists($phpbb_root_path . 'language/' . $language))
{
die('No language found!');
}
// And finally, load the relevant language files
[color=red]//pod spodem linia 227[/color]
include($phpbb_root_path . 'language/' . $language . '/common.' . $phpEx);
include($phpbb_root_path . 'language/' . $language . '/acp/common.' . $phpEx);
include($phpbb_root_path . 'language/' . $language . '/acp/board.' . $phpEx);
include($phpbb_root_path . 'language/' . $language . '/install.' . $phpEx);
include($phpbb_root_path . 'language/' . $language . '/posting.' . $phpEx);
$mode = request_var('mode', 'overview');
$sub = request_var('sub', '');
Próbowałem przed tymi includami do zmiennej language przypisywać wartość 'en' (nie mam jezyka polskiego, tylko en) wtedy nie ma błędów, ale wtedy mam biały ekran i żadnego info czy instalacja zrobiona czy nie nie wyświetla się...
Forum to phpbb 3.0.3, może na tym
w ogóle //ort nie da się tego zainstalować??
Dzięki za wszystkie podpowiedzi
Pozdrawiam
Krzysiek
edit: zmieniłem nazwę pliku z instal.php na /install/index.php
Uwagi moderatora Kris82 (dodane 19 Gru 2008, 20:47):
Ostatnio edytowany przez Kris82, 19 Gru 2008, 20:47, edytowano w sumie 1 raz