Re: [RC] phpBB Statistics v1.0.1
Verfasst: 24.01.2010 17:08
Wahrscheinlich erst Ende Februar, da ich jetzt dann Klausuren habe.
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
habe das gemacht und bekomme bei neu installieren diese Fehlermeldungmarc1706 hat geschrieben:Öffne install/install_functions.php
Finde:
....
Danach den Installer öffnen, und auf Uninstall klicken und das ganze durchlaufen. Danach kannst du dann die Installation noch einmal durchführen.
Code: Alles auswählen
Allgemeiner Fehler
SQL ERROR [ mysqli ]
Duplicate entry '[/size' for key 1 [1062]
SQL
INSERT INTO phpbb_stats_bbcodes (bbcode, bbcode_count) VALUES ('[/size', 237)
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()
FILE: install/install_functions.php
LINE: 414
CALL: dbal_mysqli->sql_query()
FILE: install/install_install.php
LINE: 275
CALL: overall_bbcode_smiley_count()
FILE: install/install_install.php
LINE: 77
CALL: install_install->obtain_advanced_settings()
FILE: install/index.php
LINE: 252
CALL: install_install->main()
FILE: install/index.php
LINE: 53
CALL: module->load()
Code: Alles auswählen
$bbcode_ary[] = array('bbcode' => '[/' . strtolower($bbcode_row['tag']) . ':', 'count' => 0);
Code: Alles auswählen
//Make sure we don't get any duplicates
if(!in_array(array('bbcode' => '[/' . strtolower($bbcode_row['tag']) . ':', 'count' => 0), $bbcode_ary))
{
$bbcode_ary[] = array('bbcode' => '[/' . strtolower($bbcode_row['tag']) . ':', 'count' => 0);
}
Code: Alles auswählen
$bbcode_ary[] = array('bbcode' => '[/' . strtolower($bbcode_row['tag']) . ':', 'count' => 0);
Code: Alles auswählen
//Make sure we don't get any duplicates
if(!in_array(array('bbcode' => '[/' . strtolower($bbcode_row['tag']) . ':', 'count' => 0), $bbcode_ary))
{
$bbcode_ary[] = array('bbcode' => '[/' . strtolower($bbcode_row['tag']) . ':', 'count' => 0);
}
Code: Alles auswählen
/* function get_total_members --- gets the total member count and the group membership counts.
@param $return_total --- the byref var for returning the total member count
@param $groups_data --- contains data about the groups
*/
function get_total_members(&$return_total, $groups_data)
{
global $db;
$return_total = 0;
$member_counts = array();
//populate the $return_ary with basic group_ids
foreach ($groups_data as $group_row)
{
$member_counts[$group_row['group_id']] = array();
}
//get all the users and increment the group counter
$sql = 'SELECT COUNT(ug.user_id) AS count, ug.group_id AS g_id, g.group_name AS g_name
FROM ' . USER_GROUP_TABLE . ' ug, ' . GROUPS_TABLE . ' g
WHERE ug.group_id = g.group_id
AND ug.user_id <> ' . ANONYMOUS . '
GROUP BY ug.group_id, g.group_name';
$result = $db->sql_query($sql);
while ($current_group = $db->sql_fetchrow($result))
{
$member_counts[$current_group['g_id']] = $current_group['count'];
$return_total += $current_group['count'];
}
$db->sql_freeresult($result);
return $member_counts;
}
Ich suche mir einen Wolf seit Stunden aber finde die Lösung nicht.[phpBB Debug] PHP Notice: in file /includes/functions_module.php on line 175: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/functions_module.php on line 228: array_merge() [function.array-merge]: Argument #1 is not an array
[phpBB Debug] PHP Notice: in file /includes/functions_module.php on line 237: Invalid argument supplied for foreach()
Warning: Cannot modify header information - headers already sent by (output started at /xxx/xxx/xxxx/xxxx/xx/includes/functions.php:3581) in /xxx/xxx/xxxx/xxxx/xx/includes/functions.php on line 3631
Allgemeiner Fehler
Module not accessible