I am having some problems with getting the buddylist module to work. Does anyone know if there are other issues with 4.7 and the buddy list module?

Comments

narres’s picture

I know there is a bug with using PHP5, but it would be helpfull, if you would post your problem with some details (eg. error messages).
"Some problems" are hard to be located ;)

Thomas Narres
Keep the sunny side up

btschlen’s picture

This is the error that is appearing when I click the link to Add User to Buddy List. Under the error msg it also says "This user does not exist".

# warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/safeandi/public_html/drupal/includes/menu.inc on line 415.
# warning: Missing argument 1 for buddylist_addbuddy() in /home/safeandi/public_html/drupal/modules/buddylist/buddylist.module on line 713.

mwu’s picture

it worked for me. did you run update.php?

theta18’s picture

I am running Drupal 4.7 with PHP 5 and mysql database on a windows xp system. I got the same error and even did an update.php. I get a "User does not exist" error as well.
Here's what my log says:
Missing argument 1 for buddylist_addbuddy() in C:\drupal-4.7.2\modules\buddylist.module on line 713.

btschlen’s picture

Here is one of the log errors I am getting...
Table 'safeandi_drpl1.location' doesn't exist query: SELECT * FROM location WHERE oid=0 AND type='user' in /home/safeandi/public_html/drupal/includes/database.mysql.inc on line 120.

pcwick’s picture

I believe the patch near the end of the following issue will resolve the problem you are having:
http://drupal.org/node/64053

btschlen’s picture

Thanks for the link and the help. I have downloaded the patch file but not sure how to go from there. Do I cut and past the code into the .module file, or do I just put the .patch file into the module folder.
Thanks

whatistocome’s picture

on a linux box:

1) copy the patch file to the buddylist folder (via ftp or whatever)
2) type "patch -p0 < patchfilename.patch" at the command line within that directory (via ssh or whatever)
3) if all went well, you're done

patch is an actual program on linux-based machines which works like a charm

see http://drupal.org/node/60108 for more info

on windows machines,

you can run patch through emulation or via gui

see http://drupal.org/node/60179 for more info

good luck,
jason

ryaker’s picture

add to buddylist

This user does not exist
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /Users/ryaker/Sites/bejane.com/includes/menu.inc on line 415.
warning: Missing argument 1 for buddylist_addbuddy() in /Users/ryaker/Sites/bejane.com/modules/buddylist/buddylist.module on line 713.

--
Richard Yaker
ryaker@bejane.com
Director, Web/eCommunity Services
Be Jane, Inc.
Empowering Home Improvement
www.BeJane.com
Burbank, CA 91502
Office: 818/260-9656
Cell: (310) 279-2066

ryaker’s picture

Permissions set properly, the block is turned on and set to be in the left sidebar, but no buddylist appears.

Help. Adding this feature is very important to us.

--
Richard Yaker
ryaker@bejane.com
Director, Web/eCommunity Services
Be Jane, Inc.
Empowering Home Improvement
www.BeJane.com
Burbank, CA 91502
Office: 818/260-9656
Cell: (310) 279-2066

flk’s picture

i had similar problem, rather than look for where the problem stemmed from (too busy/short on time)
i just created a new menu item and pointed it to ?q=buddylist. works fine so far ;)

flk’s picture

this error has been resolved, in the cvs version... you can get this by going to http://drupal.org/node/3230/release