Hi Everyone,
I have been looking for a solution to this problem in the forums with no success. I did find someone in the bug report section of the DownloadManager with the same issue, but no one gave them an answer, so I am trying here myself.
I have successfully installed DownloadManager 1.3 into a clients site running on CMSMS 1.6.6. It works fine in the backend but when you look at the page with the module tag on it, it shows the list of files but has the following error message at the top:
Warning: Invalid argument supplied for foreach()in /home/kldocs/public_html/modules/DownloadManager/function.assingfiles.php on line 22The following is the code of line 22 in that particular file:
foreach( $subcategories[$row['category_id']]['items'] as $kcat => $vcat)
So please help someone, I need to get rid of this error message. I can't show you the page because it is part of CustomContent restricted page.
Chris
SOLVED: All I did was comment out Line 22 in the function.assingfiles.php file and it got rid of the error and seems to be working fine.