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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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*