[horde] trean: 404 when deleting or saving after edit

Jan Niggemann jn at hz6.de
Wed Dec 10 22:01:31 UTC 2014


Am 10.12.2014 22:09, schrieb Michael J Rubinsky:
> Quoting Jan Niggemann <jn at hz6.de>:
>
>> Am 10.12.2014 17:55, schrieb Michael J Rubinsky:
>>> Quoting Jan Niggemann <jn at hz6.de>:
>>>
>>>> Am 10.12.2014 17:05, schrieb Michael J Rubinsky:
>>>>> Quoting Jan Niggemann <jn at hz6.de>:
>>>>>
>>>>>> I reinstalled everything from scratch several times, putting  
>>>>>> horde into a subdirectory (with and without adding RewriteBase  in 
>>>>>> the   .htaccess) or in the document root, but the error  persists.
>>>>>> Debugging this, I have found that after saving (and deleting),   
>>>>>> rampage.php is called, which in turn gives the 404. I'm not sure  
>>>>>> that rewriting is at fault here, but then again I'm not (yet)  an  
>>>>>> expert.
>>>>>
>>>>> So, are you saying that the webserver can't find rampage.php? 
>>>>> Then it
>>>>> most likely IS a rewrite issue - probably RewriteBase or similar.
>>> What page is it that the server log shows returns a 404?
>> There's nothing in the apache error log when "horde/trean/b/save"  
>> leads to "404 File Not Found". I double checked, but the display of  
>> "404 File Not Found" must come from horde itself rather than apache...
>
> That *should* only happen if the route can't be found. The
> SaveBookmark route is defined in trean/config/routes.php.  Did you
> change that file at all?
No, that file is unchanged:
<?php
/**
  * Setup default routes
  */
$mapper->connect('/b/save',
     array(
         'controller' => 'SaveBookmark',
     ));

$mapper->connect('/b/delete',
     array(
         'controller' => 'DeleteBookmark',
     ));

$mapper->connect('/tag/:tag',
     array(
         'controller' => 'BrowseByTag',
     ));

SaveBookmark.php is well present in trean/app/controllers and I can't 
see anything special with the file trean/config/routes.php, it has the 
same permissions as the other files.


More information about the horde mailing list