forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Andy_Swe on October 24, 2003, 03:38:27 am
-
Hello guys I get this error messages while clicking on a thumnail on the index.php page
Warning: in_array(): Wrong datatype for second argument in D:\Apache2\htdocs\foto\displayimage.php on line 278
Fatal error: Call to undefined function: display_film_strip() in D:\Apache2\htdocs\foto\displayimage.php on line 607
What is your quick response to this matter ? What could be wrong .... it works for me to upload pictures etc.....
Thanks in advance any help is higly appriciated // Andy
-
have you tried editing the theme.php file? If so try restoring the original theme files.
-
it is the default Im using ... just newly installed this version .... had the older one before and that version is running smoth hmmmm ... do u guys think it can have anything to do with chmod ??
-
Fatal error: Call to undefined function: display_film_strip() in D:\Apache2\htdocs\foto\displayimage.php on line 607
Take a look in function.inc.php and search for function display_film_strip. Is it there?
-
Hi,
i fixed the problem by changing the source of the php file "displayimage.php".
It's at the end of the file..
I just commented the source out... it works fine for me...
// Display Filmstrip if the album is not search
// if ($album != 'search') {
//$film_strip = display_film_strip($album, (isset($cat) ? $cat : 0), $pos, true);
//}
theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip);
pagefooter();
ob_end_flush();
}