UseBB Community

The official board for UseBB help and discussion

UseBB Community » Help & Support » CM2F and UseBB General Error

CM2F and UseBB General Error

Moderators: Gaia.

Page: 1

Author Post
Member
Registered: Oct 2005
Posts: 1
Hi,

i have been working on porting my CM2F ( community Mail 2 forum ) application to UseBB.
I am able to make the CM2F options appear in the ACP, but it is when the problems begins. I am unable to run any of the CM2F scripts as the UseBB engine is constantly giving me errors about almost anything, from defines that are not yet defined, to variables not instanced, passing by loops ...
I think that the check being done are too restrictive ... Is there any way to reduce the overall check being done to the php code? If not i will not be able to finish my port as i will never be able to have a clean code without testing it.

Thank you,

D.
Developer
Registered: Apr 2004
Posts: 2215
Location: Belgium
You should initialize all your variables and perform more checks in the source code i.e. for unexisting array keys. UseBB uses strict error handling as in fact all applications should, to keep them safe and more easy to debug.

If you still want to hide notices, comment out
error_reporting(E_ALL);
in sources/common.php.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog

Page: 1

UseBB Community » Help & Support » CM2F and UseBB General Error

UseBB Community is powered by UseBB 1 Forum Software