No Images displayed after reload

Hi

I've recently had to rebuild my hard drive. My phpAlbum is on a second drive so there has been no changes to that drive, just the OS drive was rebuilt. Since then i've not been able to view any images. In the log I get the following errors:

Warning
11/02/12 23:33:00 array_slice() expects parameter 1 to be array, null given
/main.php (Line:981)
Warning
11/02/12 23:33:00 Invalid argument supplied for foreach()
/main.php (Line:982)

and these are the corresponding lines in the main.php file.

line 981: $fl=array_slice($filelist,$start_with,$number_of_thmbs);
line 982: foreach($fl as $key => $record){

I found that someone else has suffered a similar issue and was advised to:

in your php.ini, set:

gd.jpeg_ignore_warning = 0

in the [gd] block the restart apache.

I tried this but it made no difference. Please help.

Cheers
Jon


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">