coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Andy_Swe on October 24, 2003, 03:38:27 AM

Title: Error message
Post 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
Title: Error message
Post by: Zarsky on October 24, 2003, 03:53:14 AM
have you tried editing the theme.php file?  If so try restoring the original theme files.
Title: Error message
Post by: Andy_Swe on October 24, 2003, 05:09:41 AM
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 ??
Title: Error message
Post by: kegobeer on October 24, 2003, 01:42:30 PM
QuoteFatal 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?
Title: Error message
Post by: deckhead on October 24, 2003, 04:34:27 PM
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();
 }