Error in Sending PM to buddies Error in Sending PM to buddies
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Error in Sending PM to buddies

Started by Qayyom, March 22, 2007, 12:55:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Qayyom

I wrote a short massage to my friend/ Buddy.

after writing, i wait (more than 30 Sec) even few minutes, but I face this error many times after waiting more time.

plz

you can check it by this ID

user ID:  cheetah
Passd:    salman

Qayyom Ashraf .:|:. Karachi-PK
*Image Removed*

Stramm

known issue... do you use the latest modpack version (1.4.10)  ?? If so, then I haven't published the fix yet

Joachim Müller


Stramm

I see, the latest PMS fix isn't in the downloadable zip yet

find in pms_send.php
$result = cpg_db_query("SELECT posted FROM  {$CONFIG['TABLE_PMS']} where sender_id='".(USER_ID)."' ORDER BY posted DESC LIMIT 1");
if(list($last) = mysql_fetch_row($result)){
if(((time() - date('Z')) - $last) < $CONFIG['pms_post_flood'])


and replace with
$result = cpg_db_query("SELECT posted FROM {$CONFIG['TABLE_PMS']} where sender_id='".(USER_ID)."' ORDER BY posted DESC LIMIT 1");
if(list($last) = mysql_fetch_row($result)){
if(((localised_timestamp(-1)) - $last) < $CONFIG['pms_post_flood'])


it may be, that already existing timestamps (from already sent PMs) in the db need to 'timeout'. How long that'll need depends on timezone differences. Unfortunately I'd used my own system to determine the timezone difference for users. It worked pretty well but made use of my shoutbox. When porting the 1.3x version to 1.4 the shoutbox got removed and your problems occured within some bridged environments

Qayyom

Thanks a lot.

after editing, now it is working very well.

thanks again...
Qayyom Ashraf .:|:. Karachi-PK
*Image Removed*