Closed (fixed)
Project:
Shoutbox
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 May 2008 at 00:56 UTC
Updated:
24 Jul 2008 at 08:02 UTC
Got the following after installing updated module dated 05-20-2008.
warning: Missing argument 2 for _shoutbox_user_access(), called in /var/www/html/modules/shoutbox/shoutbox.module on line 792 and defined in /var/www/html/modules/shoutbox/shoutbox.module on line 935.
Comments
Comment #1
tonnyl commentedI get the same error.
If I click "Edit shout" I also get:
* warning: Missing argument 2 for _shoutbox_user_access(), called in /Library/WebServer/Documents/aocfan.dk/modules/shoutbox/shoutbox.module on line 792 and defined in /Library/WebServer/Documents/aocfan.dk/modules/shoutbox/shoutbox.module on line 935.
* warning: Missing argument 2 for _shoutbox_user_access(), called in /Library/WebServer/Documents/aocfan.dk/modules/shoutbox/shoutbox.module on line 624 and defined in /Library/WebServer/Documents/aocfan.dk/modules/shoutbox/shoutbox.module on line 935.
* warning: Missing argument 2 for _shoutbox_user_access(), called in /Library/WebServer/Documents/aocfan.dk/modules/shoutbox/shoutbox.module on line 484 and defined in /Library/WebServer/Documents/aocfan.dk/modules/shoutbox/shoutbox.module on line 935.
Comment #2
nebur commentedI have the same problem with Drupal 6.2 and the 6.x-1.x-dev update:
warning: Missing argument 2 for _shoutbox_user_access(), called in /usr/local/apache2/hosts/www.bladiblah.nl/htdocs/blog/sites/all/modules/shoutbox/shoutbox.module on line 792 and defined in /usr/local/apache2/hosts/www.bladiblah.nl/htdocs/blog/sites/all/modules/shoutbox/shoutbox.module on line 935.
Comment #3
disterics commentedWill take a look at this and try to fix it asap.
Comment #4
ohiknow commentedSame issue here.
Comment #5
disterics commentedCan't really reproduce it but I know where the code is wrong so i fixed it.
Comment #6
Nostro commentedNew release works great! Thank you so much.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #8
mudbone9 commentedI'm getting a few bugs within the shout box. The following error occurs when I try to edit the message:
user warning: Unknown column 'status' in 'field list' query: UPDATE shoutbox SET uid=1, nick='webadmin', shout='Hello Everyone! This is a new module that I am testing. It posts messages to all users.', url='', status='', changed=1216686273 WHERE shout_id=4 in /home2/whisperi/public_html/sites/all/modules/shoutbox/shoutbox.module on line 719.
Also even as the moderator I have to delete twice to remove a message. This is not a bug but I was sort of expecting a scrolling window like others I've seen. That would be a cool enhancement. Thanks
--- Next day
Actually I fixed the above error by removing the status column from the update statement. I then started playing around with it some more and realized that this module is extremely buggy. It needs work and I do not recommend anyone install it. I uninstalled the module.
Comment #9
disterics commented@mudbone9 - This is a different bug please create a new issue for it.