Mambo + G2 error with random image block
|
sgm251070
Joined: 2005-06-15
Posts: 11 |
Posted: Mon, 2005-06-27 01:21
|
|
Gallery 2 is fine, so is mambo, however when using image block (latest release nightly build 15th/june 05), I get the following error "Notice: Undefined index: debug in c:\program files\easyphp\www\mambo\modules\mod_gallery_block.php on line 80 Steve SP, URL's to gallery 2 and mambo |
|

Posts: 11
Updated to latest version (latest today), of gallery2 integration, and image block, now i get the following error "Notice: Undefined index: debug in c:\program files\easyphp\www\mambo\modules\mod_gallery_block.php on line 66
" However, the random image still works, and everything else is fine! This warning message is really ugly, if i could turn it off in some way, that would be a good start!
Steve
Posts: 430
to remove this error msg, just remove these lines of codes:
//debug function if($_GET['debug']==1){ print '<strong>Debug info</strong><br />'; print_r($array); print '<br />'; print '$align:'.$align; print '<br />$block:'.$block; print '<br />$header:'.$header; print '<br />$title:'.$title; print '<br />$date:'.$date; print '<br />$views:'.$views; print '<br />$owner:'.$owner; print '<br />$number:'.$number; print '<br />$max_size:'.$max_size; print '<br />$link_target:'.$link_target; print '<br />$moduleclass_sfx:'.$moduleclass_sfx; print '<br />$itemframe:'.$itemframe; print '<br />$albumframe:'.$albumframe; print '<br />$user_id:'.$user_id; print '<br />$lang:'.$lang; }//end debugPosts: 11
You little BEAUTY! Great, thanks again Michiel, that's great!!!!!!!!!!!!