Woops! You've sent more messages that we can handle.

Permalink
I was testing the private message function and got an error that said I'd sent more messages . . .

I've sent . . . ONE.

Any ideas?

 
12345j replied on at Permalink Reply
12345j
Check your server load.
Mnkras replied on at Permalink Reply
Mnkras
can you post a screenie of the error,
wworsham replied on at Permalink Reply 1 Attachment
Here's the screenshot. Server load is not the issue btw.
12345j replied on at Permalink Reply
12345j
what does your error log say? and can you send pms with another account?
Mnkras replied on at Permalink Reply
Mnkras
12345j its a c5 thing,

wworsham make sure all files were uploaded correctly

or if you want, in your site.php try
// private message limitations
Define('USER_PRIVATE_MESSAGE_MAX', '20'); // number of messages that can be sent within USER_PRIVATE_MESSAGE_MAX_TIME_SPAN
Define('USER_PRIVATE_MESSAGE_MAX_TIME_SPAN', '15'); // minutes
wworsham replied on at Permalink Reply
The site was installed via One-Click installs on my Dreamhost account. I"ll check the site.php file
Mnkras replied on at Permalink Reply
Mnkras
thats probbably the problem, they usually bork something up
wworsham replied on at Permalink Reply
I know I'm being a noob here, but where do I find my site.php? Is it possible that I need to create it? It's not in the home directory for the site.
12345j replied on at Permalink Reply
12345j
config/site.php
wworsham replied on at Permalink Reply
added this to my site.php
// private message limitations
Define('USER_PRIVATE_MESSAGE_MAX', '20'); // number of messages that can be sent within USER_PRIVATE_MESSAGE_MAX_TIME_SPAN
Define('USER_PRIVATE_MESSAGE_MAX_TIME_SPAN', '15'); // minutes

still getting the error
12345j replied on at Permalink Reply
12345j
u need to use php tags around it so it would be
<?php // private message limitations
Define('USER_PRIVATE_MESSAGE_MAX', '20'); // number of messages that can be sent within USER_PRIVATE_MESSAGE_MAX_TIME_SPAN
Define('USER_PRIVATE_MES ?>

and it would have to be out of the php tags already there.
wworsham replied on at Permalink Reply
Have tried with different accounts same problem. Thanks for all the help from everyone.
wworsham replied on at Permalink Reply
Ok here's what the entire file looks like:

<?php 
define('DB_SERVER', 'mysql.ata115.com');
define('DB_USERNAME', 'ata115com6');
define('DB_PASSWORD', '********');
define('DB_DATABASE', 'ata115_com_6');
define('BASE_URL', 'http://www.ata115.com');
define('DIR_REL', '');
define('PASSWORD_SALT', 'CyNooR3IXaSUy6GT6XEevKqMmYfbWXaBXjCaEh23n0cqraTij6r3kiNVpYMKbfZV');
// private message limitations
Define('USER_PRIVATE_MESSAGE_MAX', '20'); // number of messages that can be sent within USER_PRIVATE_MESSAGE_MAX_TIME_SPAN
Define('USER_PRIVATE_MESSAGE_MAX_TIME_SPAN', '15'); // minutes
12345j replied on at Permalink Reply
12345j
you need an ending php tag
wworsham replied on at Permalink Reply
Ok put it ?> to close the php code and

still getting the over the limit error page
Mnkras replied on at Permalink Reply
Mnkras
i would try re-uploading the /concrete folder, i think a file didn't make it
glockops replied on at Permalink Reply
glockops
I'm having the same problem on a fresh installation of concrete 5.4.1.1 [installed manually].
glockops replied on at Permalink Best Answer Reply
glockops
I believe I have found the problem. I reported the bug earlier and it appears to relate. It appears that the user attributes related to messaging are not installed in a non-sample content default installation of concrete5.4.1.1 (or at least they were missing for me and several others).

You need to make sure that BOTH attributes related to messaging are present as user attributes.

One of the following actions corrected the problem I was having:

1.) I checked to make sure that both the recipient and sender both had the "I would like to receive private messages." attribute enabled (and set for Yes).

2.) I added the other missing attribute "Send me email notifications when I receive a private message." as a user attribute.

3.) I configured the email notification attribute and set it for 'Yes' for both the sender and recipient.

I imagine it was the 1st or 2nd point that did the trick.

Check your user attributes. Make sure you have both attributes related to messaging configured. Check both the sender and recipient to make sure the private messaging is enabled.

This might spawn additional bug reports (such as does the "Send Message" button appears if the sender doesn't have PMs enabled?). I'll look into if I have an opportunity.

Hope that helps!
wworsham replied on at Permalink Reply
Since the attribute list page is currently 404 in the documentation, could you tell me what the Send me email notifications when I receive a private message attribute is supposed to look like? thanks
singlespeeder replied on at Permalink Reply
Logged-in as an admin, i can send PMs out no problem, but all other users get the "Woops" error.

I've tried all of the above to no avail on my site.

Strange.

Any suggestions?
jero replied on at Permalink Reply
jero
Using 5.4.1.1
I was getting the "Woops" message for all users, including admin.
My site.php enables unlimited messages:
define('USER_PRIVATE_MESSAGE_MAX',0);
define('USER_PRIVATE_MESSAGE_MAX_TIME_SPAN',0);

To get messages to work at all, I needed to add the user attribute "profile_private_messages_enabled" and turn it on for each user.

Looking in concrete/models/userinfo.php, the sendPrivateMessage() method does a test on another undefined attribute "profile_private_messages_notification_enabled". While this attribute is undefined, the method will exit without setting a return value - so forcing it to "return true" will fix the error, as will adding the attribute.