We
still can't tell wha is causing the load. But at least now we have a
warning:
Fatal error: Maximum execution time of 240 seconds exceeded in .../src/read_body.php on line 97 Here is
the function. Do you think SM causes this problem or the server?!
/**
returns the index of the previous message from the array. */
function findPreviousMessage($numMessages, $passed_id) { global $msort, $sort, $msgs, $thread_sort_messages, $allow_server_sort, $server_sort_array; $result = -1; if (!is_array($server_sort_array)) { $thread_sort_messages = 0; $allow_server_sort = FALSE; } if ($thread_sort_messages || $allow_server_sort ) { foreach($server_sort_array as $key=>$value) { if ($passed_id == $value) { if ($key == 0) { break; } $result = $server_sort_array[$key - 1]; break; } } } else { if (is_array($msort)) { for (reset($msort); ($key = key($msort)), (isset($key)); next($msort)) { if ($passed_id == $msgs[$key]['ID']) { prev($msort); $key = key($msort); if (isset($key)) { $result = $msgs[$key]['ID']; break; } } } } } return $result; }
|
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users