Thumbnail Regeneration Error

We've duplicated and restored our current store onto another domain successfully, however, thumbnail images are all broken. We tried regenerating the thumbnails from products > global update, but we get errors on all products on these two lines in the /controllers/admin/products.php file:



Warning: filesize() [function.filesize]: stat failed for [removed for security]/images/detailed/[filename].jpg in [removed for security]/controllers/admin/products.php on line 1475



Warning: filesize() [function.filesize]: stat failed for [removed for security]/images/detailed/[filename].jpg in [removed for security]/controllers/admin/products.php on line 1499



Any help would be greatly appreciated!



Update: In addition to the above, we've also commented out this line in the config.local.php file:



// Set maximum memory limit

// ini_set('memory_limit', '48M');

check all your image and upload folders exist and in the right place.

check folder permissions.

[quote name='Topduck' timestamp='1322333524' post='126785']

check all your image and upload folders exist and in the right place.

check folder permissions.

[/quote]



Yep, they exist and they are in the right place. The folder permissions are also correct. I saw that there was a thumbs.db file in the folder, is there anything I can do with this file?