Photo Album won't load pics or thumbnails (Contains Debug)

Support for IntegraMOD 141

Moderator: Integra Moderator

Photo Album won't load pics or thumbnails (Contains Debug)

PostAuthor: spaniel » Tue Jan 01, 2008 8:16 pm

Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: [url]http://[/url]

PHP Version: 4.4.7 (changed from 5.5.2)
MySQL Version:


What was done before the problem appeared?
* switched on GD2,
* in thumbnail tab increased file sizes/dimensions & enabled "View full pic as a popup"
* cleared cache
* a route file may hav been deleted by accident (so uploaded them again)



What was done to try to solve the problem?
switched debug on and uploaded all the album files again as one might have been deleted by accident also checked chmod.



De.scription and Message

Pix don't show and when I click on one I get the following debug info, which i do not understand, above the top menu:

Code: Select all
----------------------------------------------------album_permissions ] => 1,         ['upload'] => 1     )    ----------------------------------------------------DEBUG :----------------------------------------------------$album_config['personal_gallery'] = 0----------------------------------------------------DEBUG :----------------------------------------------------final : $album_permission =  array = (         ['view'] => 1,         ['upload'] => 1,         ['manage'] => 1,         ['rate'] => 1,         ['edit'] => 1,         ['delete'] => 1,         ['comment'] => 1,         ['moderator'] => 1     )    ----------------------------------------------------  Warning: Cannot modify header information - headers already sent by (output started at /home/forum/album_mod/album_hierarchy_debug.php:77) in /home/forum/includes/page_header.php on line 1152  Warning: Cannot modify header information - headers already sent by (output started at /home/forum/album_mod/album_hierarchy_debug.php:77) in /home/forum/includes/page_header.php on line 1158  Warning: Cannot modify header information - headers already sent by (output started at /home/forum/album_mod/album_hierarchy_debug.php:77) in /home/forum/includes/page_header.php on line 1159



In a user gallery I get the debug:

Code: Select all
    DEBUG ] => array = (             [1] => 0         ),         ['id'] => array = (             [0] => '1'         ),         ['real_level'] => array = (             [0] => -1         ),         ['level'] => array = (             [0] => -1         ),         ['idx'] => array = (             [0] => 0         )     )    ----------------------------------------------------DEBUG :----------------------------------------------------album_get_auth_keys =  array = (         ['keys'] => array = (             [1] => 0         ),         ['id'] => array = (             [0] => '1'         ),         ['real_level'] => array = (             [0] => -1         ),         ['level'] => array = (             [0] => -1         ),         ['idx'] => array = (             [0] => 0         )     )    ----------------------------------------------------DEBUG :----------------------------------------------------album_no_newest_pictures sql = 'SELECT c.cat_id, p.pic_id, COUNT(p.pic_id) AS pic_total FROM phpbb_album AS p, phpbb_album_cat AS c WHERE c.cat_id IN (1) AND p.pic_cat_id = c.cat_id AND p.pic_time >= 1196651393 GROUP BY c.cat_id'----------------------------------------------------DEBUG :----------------------------------------------------$pictotalrows =  array = (         [1] => '1'     )    ----------------------------------------------------DEBUG :----------------------------------------------------$user_id = 3$cur_cat_id = 0$display = 0album data =  array = (         ['sub'] => array = (             [-1] => array = (                 [0] => '1'             )         ),         ['keys'] => array = (             [1] => 0         ),         ['parent'] => array = (             [0] => -1         ),         ['id'] => array = (             [0] => '1'         ),         ['data'] => array = (             [0] => array = (                 ['cat_id'] => '1',                 ['cat_title'] => 'Personal Gallery Of Gx1',                 ['cat_desc'] => 'Personal Gallery Of Gx1',                 ['cat_order'] => '0',                 ['cat_view_level'] => '0',                 ['cat_upload_level'] => '3',                 ['cat_rate_level'] => '0',                 ['cat_comment_level'] => '0',                 ['cat_edit_level'] => '3',                 ['cat_delete_level'] => '3',                 ['cat_view_groups'] => NULL,                 ['cat_upload_groups'] => NULL,                 ['cat_rate_groups'] => NULL,                 ['cat_comment_groups'] => NULL,                 ['cat_edit_groups'] => NULL,                 ['cat_delete_groups'] => NULL,                 ['cat_moderator_groups'] => NULL,                 ['cat_approval'] => '0',                 ['cat_parent'] => '0',                 ['cat_user_id'] => '3',                 ['count'] => '1',                 ['username'] => 'Gx1',                 ['parent'] => -1             )         ),         ['personal'] => array = (             [1] => 1         ),         ['auth'] => array = (             [1] => array = (                 ['view'] => 1,                 ['upload'] => 1,                 ['rate'] => 1,                 ['comment'] => 1,                 ['edit'] => 1,                 ['delete'] => 1,                 ['moderator'] => 1,                 ['manage'] => 1             )         )     )    authentication keys =  array = (         ['keys'] => array = (             [1] => 0         ),         ['id'] => array = (             [0] => '1'         ),         ['real_level'] => array = (             [0] => -1         ),         ['level'] => array = (             [0] => -1         ),         ['idx'] => array = (             [0] => 0         )     )    



Also in ACP > PhotoAlbum > Permissions there is also :

Code: Select all
DEBUG ] => array = (             [-1] => 0         ),         ['id'] => array = (             [0] => -1         ),         ['real_level'] => array = (             [0] => -1         ),         ['level'] => array = (             [0] => -1         ),         ['idx'] => array = (             [0] => -1         )     )




To someone who doesn't speak the debug language this is scary stuff. What hav i done wrong and how can i fix it?


Much appreciated and happy new year <img>
Last edited by spaniel on Fri Jan 04, 2008 7:44 am, edited 1 time in total.

spaniel
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 4:29 pm
Cash on hand: 0.00

PostAuthor: spaniel » Wed Jan 02, 2008 12:19 am

I may be dreaming but I did all I said above to solve the problem and just switched off the debug and everything is working again.

What was all that about? <img>
Last edited by spaniel on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

spaniel
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 4:29 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]