Fix for myAlbum-P blank index.php page after loading pictures
- You cannot open a new topic into this forum
- Guests cannot post into this forum
msg# 1
Previous post
-
Next post
|
Parent
-
No child
|
Posted on 2005/10/26 10:28
The following code change works for me, it might be due to incompatibility with latest version of php
Change the following code in the myAlbum-P index.php
while( $fetched_result_array = $xoopsDB->fetchArray( $prs ) ) {
$xoopsTpl->append_by_ref( 'photos' , myalbum_get_array_for_photo_assign( $fetched_result_array , true ) ) ;
}
to
while( $fetched_result_array = $xoopsDB->fetchArray( $prs ) ) {
$photo_assign_array = myalbum_get_array_for_photo_assign( $fetched_result_array , true );
$xoopsTpl->append_by_ref( 'photos' , $photo_assign_array ) ;
}
Votes:1
Average:10.00