Hello there.
I've a problem with the update from 1.0.4 to 1.0.5 with the follow file edit:
Find:
Code: Select all
$user->add_lang(array('mods/lang_portal', 'mods/additional_blocks'));
if (!function_exists('obtain_portal_config'))
{
include($phpbb_root_path . 'portal/includes/functions.' . $phpEx);
}
$portal_config = obtain_portal_config();
Replace with:
Code: Select all
$user->add_lang(array('mods/lang_portal', 'mods/additional_blocks'));
if (!function_exists('obtain_portal_config'))
{
include($phpbb_root_path . 'portal/includes/functions.' . $phpEx);
}
if(sql_table_exists(PORTAL_CONFIG_TABLE) == true)
{
$portal_config = obtain_portal_config();
}
After this I've got this error:
Code: Select all
Fatal error: Call to undefined function sql_table_exists() in /home/******/public_html/forum/includes/functions.php on line 4109
Any idea how can I fix this? If I dont do this change the forum turn it online again.
P.S. At localhost I havent this issue, cant understand why it's only happen in online forum!
Edit: includes/functions.php, line 4109:
Code: Select all
if(sql_table_exists(PORTAL_CONFIG_TABLE) == true)