When viewing a node or at other odd (seemingly random) times like manually forcing a cron run I get this:
Please correct these errors:
* 'max_msg' parameter must be a positive numberI turn off phpfreechat and I don't get the error. :-\
When viewing a node or at other odd (seemingly random) times like manually forcing a cron run I get this:
Please correct these errors:
* 'max_msg' parameter must be a positive numberI turn off phpfreechat and I don't get the error. :-\
Comments
Comment #1
jonahan commentedHa! Ok, I figured out that if you have anything set for "Message History Length:" (in the phpfreechat settings) it will give you this error. I took out the number I had in there ('5') and it now works.
----
Ok, this is weird. I put the value 5 back into the "Message History Length:" and reloaded the node and it still works (I can't break it now to replicate it again). Perhaps this is just a weird Drupal issue - I know that sometimes if you change a setting or just save the settings it will fix whatever's wrong.
Very stupid little issue, but hopefully this helps someone.....
:)
Comment #2
permutations commentedThis is because of an incompatibility between Drupal forms and some strong type-checking in phpFreeChat. I tried to fix this from within the Drupal module, but it didn't work. The easiest solution is to fix it within phpFreeChat. There's info on how to do this here:
http://drupal.org/node/255702
Comment #3
permutations commentedFixed within the current version of the Drupal module (1.2 - just uploaded). No need to edit phpFreeChat code.