Welcome, Guest. Please login or register.
Did you miss your activation email?
18 Mar 2010, 09:17

Login with username, password and session length
Home Chat Help Search Calendar Login Register
Pages: [1]
Print
Author Topic: [SOLVED] DownloadManager PHP Error  (Read 108 times)
0 Members and 1 Guest are viewing this topic.
cspan26
Forum Members
**

Karma: 0
Offline Offline

Posts: 27



« on: 08 Feb 2010, 13:22 »

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 22

The following is the code of line 22 in that particular file:

Code:
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.
« Last Edit: 08 Feb 2010, 16:47 by cspan26 » Logged
Pages: [1]
Print
Jump to: