[URGENTE PLEASE] Fatal error in reply PM

Makes it posble for admin to specify witch type of users may mass PM any usergroup
Also PM users can be a list of usernames, so PM can be sendt to any number of users

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

[URGENTE PLEASE] Fatal error in reply PM

Postby testebr on Thu 14. Oct, 2004 14:36

Oh, my god!!!

See this problem:

Code: Select all
Warning: Wrong parameter count for usort() in /home/virtual/site27/fst/var/www/html/forum/privmsg.php on line 1188

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site27/fst/var/www/html/forum/privmsg.php:1188) in /home/virtual/site27/fst/var/www/html/forum/includes/functions.php on line 1237


I installed mod I sent a private message in mass and I functioned correctly and later I was to answer a message that I had received before and appeared this error.

What I must I make?
testebr
Poster
Poster
 
Posts: 3
Joined: Thu 29. Jul, 2004 09:41

Postby testebr on Thu 14. Oct, 2004 14:43

Oh, I find this line in privmsg.php

Code: Select all
usort ($to_username_array);


And I delete him and now............. Work fine, but I do correct action?

sorry my poor english
testebr
Poster
Poster
 
Posts: 3
Joined: Thu 29. Jul, 2004 09:41

Could fix it :)

Postby kiki123 on Thu 04. Aug, 2005 23:55

this fix:

usort ($to_username_array,"strnatcmp");

works for me :D
kiki123
Poster
Poster
 
Posts: 1
Joined: Thu 04. Aug, 2005 23:51


Return to Custom mass PM [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron