TinyPortal
Development => Support => Topic started by: Hammer2K on November 18, 2006, 04:52:05 AM
I deleted all the category's in the download manager and now I get this error...
An Error Has Occurred!
2: Invalid argument supplied for foreach()
File: /home/content/H/a/m/Hammer2K8/html/cawdepot/Sources/TPdlmanager.php
Line: 1732
http://hmg-hg.net/cawdepot/index.php?action=tpmod;dl=admin
Anyway I can reverse the delete or fix the error?
Can you create a new category?
No, It won't let me even go to the download manager at all. When I click it, it gives me the error.
Ok, I fixed it. I dropped just the download manager in sql, unintalled tinyportal and reinstalled and it put the General Category back in.
Glad you got it sorted out.
Have another problem.
When I try to make a submission with no file uploaded, I get this error...
An Error Has Occurred!
2: filesize(): Stat failed for /home/content/H/a/m/Hammer2K8/html/cawdepot/tp-downloads/- empty item - (errno=2 - No such file or directory)
File: /home/content/H/a/m/Hammer2K8/html/cawdepot/Sources/TPdlmanager.php
Line: 1581
The submission works but I get that error.
Also what do I have to edit in the tpdlmanager.php file to remove the download button for submissions with no upload?