Я уж и .htaccess весь поудалял из папки upload (как там рекомендуется), а толку ноль...
В дебаговом режиме выкидывает вот такую портянку.
Это значит, что проблема в page_header.php ? А ежели и так, то что с этой байдой подскажете делать?
Код: Выделить всё
DEBUG :
----------------------------------------------------
album_permissions : before album_user_access : 'Personal Gallery Of ad'(id=0), $album_permission = NULL
----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : after album_user_access : 'Personal Gallery Of ad'(id=0), $album_permission =
array = (
['view'] => 1,
['upload'] => 1,
['rate'] => 1,
['comment'] => 1,
['edit'] => 1,
['delete'] => 1,
['moderator'] => 1
)
----------------------------------------------------
DEBUG :
----------------------------------------------------
$album_config['personal_gallery'] = 0
----------------------------------------------------
DEBUG :
----------------------------------------------------
final : $album_permission =
array = (
['view'] => 1,
['upload'] => 1,
['rate'] => 1,
['comment'] => 1,
['edit'] => 1,
['delete'] => 1,
['moderator'] => 1,
['manage'] => 1
)
----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : before album_user_access : 'Personal Gallery Of ad'(id=0), $album_permission = NULL
----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : after album_user_access : 'Personal Gallery Of ad'(id=0), $album_permission =
array = (
['view'] => 1,
['upload'] => 1,
['rate'] => 1,
['comment'] => 1,
['edit'] => 1,
['delete'] => 1,
['moderator'] => 1
)
----------------------------------------------------
DEBUG :
----------------------------------------------------
$album_config['personal_gallery'] = 0
----------------------------------------------------
DEBUG :
----------------------------------------------------
final : $album_permission =
array = (
['view'] => 1,
['upload'] => 1,
['rate'] => 1,
['comment'] => 1,
['edit'] => 1,
['delete'] => 1,
['moderator'] => 1,
['manage'] => 1
)
----------------------------------------------------
DEBUG :
----------------------------------------------------
album_read_tree : user id = 0, $album_data['auth'] =
array = (
[1] => array = (
['view'] => 1,
['upload'] => 1,
['rate'] => 1,
['comment'] => 1,
['edit'] => 1,
['delete'] => 1,
['moderator'] => 1,
['manage'] => 1
)
)
----------------------------------------------------
DEBUG :
----------------------------------------------------
album_read_tree : $cats =
array = (
[0] => array = (
[0] => '1',
['cat_id'] => '1',
[1] => 'Personal Gallery Of ad',
['cat_title'] => 'Personal Gallery Of ad',
[2] => 'Personal Gallery Of ad',
['cat_desc'] => 'Personal Gallery Of ad',
[3] => NULL,
['cat_wm'] => NULL,
[4] => '0',
['cat_order'] => '0',
[5] => '0',
['cat_view_level'] => '0',
[6] => '3',
['cat_upload_level'] => '3',
[7] => '0',
['cat_rate_level'] => '0',
[8] => '0',
['cat_comment_level'] => '0',
[9] => '3',
['cat_edit_level'] => '3',
[10] => '3',
['cat_delete_level'] => '3',
[11] => '',
['cat_view_groups'] => '',
[12] => '',
['cat_upload_groups'] => '',
[13] => '',
['cat_rate_groups'] => '',
[14] => '',
['cat_comment_groups'] => '',
[15] => '',
['cat_edit_groups'] => '',
[16] => '',
['cat_delete_groups'] => '',
[17] => '',
['cat_moderator_groups'] => '',
[18] => '0',
['cat_approval'] => '0',
[19] => '0',
['cat_parent'] => '0',
[20] => '2',
['cat_user_id'] => '2',
[21] => '3',
['count'] => '3',
[22] => 'ad',
['username'] => 'ad',
['parent'] => -1
)
)
----------------------------------------------------
Warning: Cannot modify header information - headers already sent by (output started at d:\hst\tourlove-ru_671fece6\http\forum\album_mod\album_hierarchy_debug.php:77) in d:\hst\tourlove-ru_671fece6\http\forum\includes\page_header.php on line 493
Warning: Cannot modify header information - headers already sent by (output started at d:\hst\tourlove-ru_671fece6\http\forum\album_mod\album_hierarchy_debug.php:77) in d:\hst\tourlove-ru_671fece6\http\forum\includes\page_header.php on line 495
Warning: Cannot modify header information - headers already sent by (output started at d:\hst\tourlove-ru_671fece6\http\forum\album_mod\album_hierarchy_debug.php:77) in d:\hst\tourlove-ru_671fece6\http\forum\includes\page_header.php on line 496