error remaking thumbnails

adpowers

Joined: 2003-03-25
Posts: 17
Posted: Mon, 2003-04-14 19:38

I was playing around with the latest CVS code and I used the test harness to create 50 pictures in the root directory. However, I hadn't activated any image modules yet, so none of the pictures had thumbnails. I tried using the "Recreate Thumbnails" command in the Item Administration page for the root gallery, but I got the following error:

<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>Notice: Undefined offset: 214 in /home/andrew_hitchcock/test/modules/core/ItemEditAlbum.inc on line 139

Fatal error: Call to a member function on a non-object in /home/andrew_hitchcock/test/modules/core/ItemEditAlbum.inc on line 145 </TD></TR></TABLE><!-- BBCode End -->

Thanks,
Andrew

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2003-04-15 08:58

Ok, I checked in a fix for this. It's not a perfect fix in that it doesn't create the missing thumbnails/resizes, but it no longer crashes. We'll fix it to recreate the thumbnails/resizes later on.

 
adpowers

Joined: 2003-03-25
Posts: 17
Posted: Tue, 2003-04-15 09:49

Awesome, thanks. I just subscribed to the devel and checkins mailing lists today and I saw the latest message that described my error and I was like, "Hey, I found that!" :smile:. Anyway, glad I could help, keep up the good work.

Andrew