Hi,

I've just tried to install this module but my modules list is reporting back to me "This version is incompatible with the 6.16 version of Drupal core."

I'm also running Private Message 6.x-1.x-dev.

Any ideas as to why this?

Thank you.

Victoria

Comments

McGo’s picture

Assigned: Unassigned » McGo
Status: Active » Fixed

You are right. Thank you! I fixed the .info file of the module. If you would like to do it, too without waiting for the nightly tarball please change a part of the info file

from
dependencies = privatemsg

to
dependencies[] = privatemsg

victoria_b’s picture

Hi,

Just started to use the module but when I attempted to send to two users of role "Editor" it didn't work.

Log file shows 2 errors.

strlen() expects parameter 1 to be string, array given in /home/victoria/public_html/beta/includes/bootstrap.inc on line 774.

htmlspecialchars() expects parameter 1 to be string, array given in /home/victoria/public_html/beta/includes/bootstrap.inc on line 741.

I'm running Drupal 6.16, Private Message 6.x-1.x-dev and PHP5.3 (which maybe the reason - Is this module PHP5.3 compatible? )

Thank you for your help!

Victoria

victoria_b’s picture

Hi McGo,

Any thoughts on #2 , as at the moment this module isn't working for me.

Thank you.

McGo’s picture

I did a fresh install with D6.16, PM 6.x-1.2 and the latest Dev Snapshot, created a role Editor, created some user and assigned the role. I can send pm by mass message without any problems? Are you using the unpatched v 1.2 of privatemsg? My module just invokes the relevant functions in privatemsg and is therefore only some addon-ish thing.

victoria_b’s picture

Hi McGo,

Happy to report that everything seems to be working fine. Nothing has changed since last time which is strange but I've tested the module all day and like I said above - everything is fine.

Thank you for your help!

Victoria

McGo’s picture

Status: Fixed » Closed (fixed)
victoria_b’s picture

McGo,

I spoke too soon. The module worked fine on my DEV site so transferred it over to my LIVE site and guess what... the same errors pop up.

So I did some more testing.

Mass Mail by Role:
If I send a message to a role that has more than 1 person the first person in that role gets the message but it crashes out on the second.
"Batch 1 out of 1"
"PrivateMsg Error when sending to >user name 2<"

and in the logs...
"strlen() expects parameter 1 to be string, array given in /includes/bootstrap.inc on line 774.
htmlspecialchars() expects parameter 1 to be string, array given in /includes/bootstrap.inc on line 741."

Mass Mail by User:
If I select the first user (the user with the lowest UID) it successfully works. However if I select any user from the second onwards in the list it crashes out again.

"An error occurred and some or all of the batch has failed."
"An error occurred. /batch?id=40&op=do
Fatal error: Call to undefined function drupal_debug() in /home/sites/all/modules/privatemsgmm/privatemsgmm.module on line 331
"

I hope the above might shed a little more light on the issues I'm facing. It's a shame I can't get it to work on my live site as my client thought the functionality on the dev site was spot on for their needs.

Thank you.