Error Delete Message

Delete error message on the messageboard:

"Not Found
The requested URL / elgg / mod / messages / inbox / angelorocha was not found on this server.
Apache/2.2.9 (Debian) DAV / 2 SVN/1.5.1 PHP/5.2.6-1 with Suhosin + lenny9-Patch Server at 172.25.4.65 Port 80 "

Using Elgg 1.7.5
Help please.

  • I am parsing the plugin messages, the file in this folder actions: delete.php
    has the following code:

    if ($success) {
                if ($submit == elgg_echo('delete')) {
                    system_message(elgg_echo("messages:deleted"));
                } else {
                    system_message(elgg_echo("messages:markedread"));
                }
                // check to see if it is a sent message to be deleted
                if($type == 'sent'){
                    forward("pg/messages/sent/?offset={$offset}");
                }else{
                    forward("mod/messages/inbox/" . get_loggedin_user()->username . "?offset={$offset}");
                }
            } else {
                register_error(elgg_echo("messages:notfound"));
                forward($_SERVER['HTTP_REFERER']);
            }
    ?>

    I think the parts in bold are incorrect, most do not know how to change the right way, anyone know?

  • It will be fixed in Elgg 1.7.6.

    The first bold part is not incorrect but in the second part it must be "pg" instead of "mod":

    http://trac.elgg.org/changeset/7483