I just installed the latest 1.0.1 version of phpWSbb on my existing phpWS 9.3-4 installation. For some reason the following error displays at the top of my screen whenever I post or reply to posts:
Warning: Missing argument 2 for setid() in /home/username/public_html/phpwsdir/core/EZform.php on line 198
Anyone have any ideas on this one? You can post and reply fine (it works) but the error at the top never goes away. I tried un-installing and re-installing but that didn't seem to help. Any thoughts?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I do not know, if this is still pending...
But as i see the problem, EZform.php from 0.9.3-4 is not fully compatible with the updated phpwsbb.
From 0.9.3-4
[code]function setId($name, $id){[/code]
From 0.10.1
[code]function setId($name, $id=null){[/code]
That means, $id is set to NULL, if not set by calling the function...
...Seems phpwsbb is not setting $id and the older function fails
Yves
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I just installed the latest 1.0.1 version of phpWSbb on my existing phpWS 9.3-4 installation. For some reason the following error displays at the top of my screen whenever I post or reply to posts:
Warning: Missing argument 2 for setid() in /home/username/public_html/phpwsdir/core/EZform.php on line 198
Anyone have any ideas on this one? You can post and reply fine (it works) but the error at the top never goes away. I tried un-installing and re-installing but that didn't seem to help. Any thoughts?
I have the exact same problem, core9.3-4 and bb1.0.1. Pleasse help.
I do not know, if this is still pending...
But as i see the problem, EZform.php from 0.9.3-4 is not fully compatible with the updated phpwsbb.
From 0.9.3-4
[code]function setId($name, $id){[/code]
From 0.10.1
[code]function setId($name, $id=null){[/code]
That means, $id is set to NULL, if not set by calling the function...
...Seems phpwsbb is not setting $id and the older function fails
Yves
Thanks Yves, modifying /core/EZform.php with the code from 0.10.1 worked great.