Nájdi:
Kód: Vybrat vše
'allow_pm' => 0,
)):
Kód: Vybrat vše
'allow_pm' => 0,
);
Kód: Vybrat vše
'allow_pm' => 0,
)):
Kód: Vybrat vše
'allow_pm' => 0,
);
Kód: Vybrat vše
Parse error: syntax error, unexpected T_IF in /domains1/do540400/public/www_root/forum/adm/index.php on line 32
Kód: Vybrat vše
Parse error: syntax error, unexpected ':' in /domains1/do540400/public/www_root/forum/viewtopic.php on line 1007
Kód: Vybrat vše
http://www.donkeykong.sk/index.php
http://www.donkeykong.sk/viewtopic.php
Kód: Vybrat vše
http://www.donkeykong.sk/cash_mod_0.3.2.7z
Kód: Vybrat vše
class cache extends acm
{
/**
* Get config values
*/
function obtain_config()
{
global $db;
if (($config = $this->get('config')) !== false)
{
$sql = 'SELECT config_name, config_value
FROM ' . CONFIG_TABLE . '
WHERE is_dynamic = 1';
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))
{
$config[$row['config_name']] = $row['config_value'];
}
$db->sql_freeresult($result);
}
else
{
$config = $cached_config = array();
$sql = 'SELECT config_name, config_value, is_dynamic
FROM ' . CONFIG_TABLE;
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))
{
if (!$row['is_dynamic'])
{
$cached_config[$row['config_name']] = $row['config_value'];
}
$config[$row['config_name']] = $row['config_value'];
}
$db->sql_freeresult($result);
$this->put('config', $cached_config);
}
return $config;
}
Kód: Vybrat vše
SQL ERROR [ mysqli ]
Table 'ws455601db.phpbb3_moderator_cache' doesn't exist [1146]
SQL
SELECT m.*, u.user_colour, g.group_colour, g.group_type FROM (phpbb3_moderator_cache m) LEFT JOIN phpbb3_users u ON (m.user_id = u.user_id) LEFT JOIN phpbb3_groups g ON (m.group_id = g.group_id) WHERE m.display_on_index = 1 AND m.forum_id IN (1, 2, 74, 3, 34, 67, 68, 69, 70, 71, 72, 73, 43, 45, 39, 62, 61, 60, 46, 47, 48, 40, 42, 49)
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()
FILE: includes/functions_display.php
LINE: 682
CALL: dbal_mysqli->sql_query()
FILE: includes/functions_display.php
LINE: 260
CALL: get_moderators()
FILE: index.php
LINE: 32
CALL: display_forums()