PDA

Zobacz pełną wersję : Błąd CB - może ktoś wyjaśnić ??



kosmity
09-12-2005, 18:50
Na początku powiem, że komponent z dobrego źródła - PCJ.
Wersja PHP i MySQL OK
SAFE MODE = OFF

2 problemy:
1. Zintegrowane forum joomlaboard w profilu uzytkownika wyskakuja bledy:
Warning: in_array(): Wrong datatype for second argument in /usr/home/.../components/com_comprofiler/comprofiler.php on line 1086

Warning: in_array(): Wrong datatype for second argument in /usr/home/lzpn/.../components/com_comprofiler/comprofiler.php on line 1086

2 . W panelu administracyjnym przyu próbie obejrzenia menu "USER MANAG..." wyskakują cuda:

MA DB function failed with error number 2002
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61) SQL=SELECT id, title, module, position, content, showtitle, params FROM jos_modules AS m WHERE m.published = 1 AND m.position = 'header' AND m.client_id = 1 ORDER BY m.ordering
SQL = SELECT id, title, module, position, content, showtitle, params
FROM jos_modules AS m
WHERE m.published = 1
AND m.position = 'header'
AND m.client_id = 1
ORDER BY m.ordering Warning: asort() expects parameter 1 to be array, string given in /usr/home/.../includes/joomla.php on line 4220

DB function failed with error number 2013
Lost connection to MySQL server during query SQL=SELECT DISTINCT a.*, g.name AS groupname, s.userid AS loggedin,ue.approved,ue.confirmed FROM jos_users AS a LEFT JOIN jos_comprofiler AS ue ON a.id = ue.id INNER JOIN jos_core_acl_aro AS aro ON aro.value = a.id INNER JOIN jos_core_acl_groups_aro_map AS gm ON gm.aro_id = aro.aro_id INNER JOIN jos_core_acl_aro_groups AS g ON g.group_id = gm.group_id LEFT JOIN jos_session AS s ON s.userid = a.id LIMIT 0, 30

MA DB function failed with error number 2002
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61) SQL=SELECT id, title, module, position, content, showtitle, params FROM jos_modules AS m WHERE m.published = 1 AND m.position = 'debug' AND m.client_id = 1 ORDER BY m.ordering
SQL = SELECT id, title, module, position, content, showtitle, params
FROM jos_modules AS m
WHERE m.published = 1
AND m.position = 'debug'
AND m.client_id = 1

Nadmienię, że problem nie występuje gdy jedynym użytkownikiem w bazie jest Administrator serwisu.
ORDER BY m.ordering