| View previous topic :: View next topic |
| Author |
Message |
Chillem
Joined: 04 Sep 2002 Posts: 6

Hlp* 0.10
|
Posted: Wed Sep 04, 2002 2:35 am Post subject: Fatal error: Call to undefined function!!!!!!!!!!!! |
 |
|
hi i am a newbie with php.
but i can do some things. so i downloaded calender 1.2.2k and install them.
now i get the Fatal error:
Fatal error: Call to undefined function: language_include() in /www.mypage.com/chillem/phpBB2/includes/functions.php on line 245
the code before i installd calender in functions.php was:
| Code: | {
$board_config['board_timezone'] = $userdata['user_timezone'];
}
}
if ( !file_exists($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.'.$phpEx) )
{
$board_config['default_lang'] = 'english';
}
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx);
if ( defined('IN_ADMIN') )
{
if( !file_exists($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.'.$phpEx) )
{
$board_config['default_lang'] = 'english';
}
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx);
}
//
// Set up style
//
if ( !$board_config['override_user_style'] )
{
|
and everything was working fine.(without calender.)
later when i had installd calender. the code is like this:
| Code: | {
$board_config['board_timezone'] = $userdata['user_timezone'];
}
}
if ( !file_exists($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.'.$phpEx) )
{
$board_config['default_lang'] = 'english';
}
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx);
if ( defined('IN_ADMIN') )
{
if( !file_exists($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.'.$phpEx) )
{
$board_config['default_lang'] = 'english';
}
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin.' . $phpEx);
}
if ( !file_exists($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_calendar.'.$phpEx) )
{
$board_config['default_lang'] = 'english';
}
language_include('calendar');
//
// Set up style
//
if ( !$board_config['override_user_style'] )
{
if ( $userdata['user_id'] != ANONYMOUS && $userdata['user_style'] > 0 )
{
|
and then i get the error.
can somebody help me please??
ps: sorry for my bad english. |
|
| Back to top |
|
 |
Chillem
Joined: 04 Sep 2002 Posts: 6

Hlp* 0.10
|
|
| Back to top |
|
 |
Martin Site Admin

Joined: 24 Mar 2002 Posts: 8176

Hlp* 3650.72
|
Posted: Wed Sep 04, 2002 9:16 am Post subject: |
 |
|
That's ok... you looked around for a solution and found it...
Glad you are up and running properly now
 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|