PDA

View Full Version : PHP error in "preparse"


g00fy
05-26-2008, 10:17 AM
Hi,


With the latest SVN version I received this error:

[to reproduce: helpdesk setup -> preparse]

Fatal error: Call to a member function MoveNext() on a non-object in /home/s3101sal/public_html/helpdesk/api/DAO.class.php on line 4971

I think it's very weird because all the other calls on that object are ok...


This also disallows me from reading any incoming mails into my system!
Will they be able to be parsed once this error has been fixed?


Thanks!

g00fy
05-26-2008, 10:24 AM
Simple bugfix (but I don't know why it came in there in the first place):
DAO.class: line 4963:
- while(!$rs->EOF)
+ while($rs && !$rs->EOF)


However, all my mails are gone which have been in there since the bug occurred... Is there some way to get them back?

dsugita
05-27-2008, 08:40 PM
You can try to check your cerb4 directory and check the /fail directory and see if the messages got stored in there when they weren't able to be parsed.