This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
Hi, Joe:
Below code in file mojoPortal.Business\Module.cs
////////////////////////////////////////////////////////////
public static void DeletePageModules(int pageId) { ......
while (result.Read()) { Module m = new Module(); m.ModuleId = (int)result["ModuleID"];
......
}
//////////////////////////
m.ModuleId = (int)result["ModuleID"];
shoule be
m.ModuleId = Convert.ToInt32(result["ModuleID"]);
All other lines with (int) should be Convert.ToInt32() too.
Otherwise I can't delete a page in "Add/Edit Pages":
Thanks!
Thanks! I will make the same changes here.
Best,
Joe