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

Jan Niggemann jn at hz6.de
Thu Dec 11 09:50:51 UTC 2014


Am 10.12.2014 23:01, schrieb Jan Niggemann:
> 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.
Follow-Up: Debugging the request by adding Horde::debug($request, 
$filename); to rampage.php I found that the request is faulty:

2014-12-11T09:35:19+01:00 DEBUG: Variable information:
object(Horde_Controller_Request_Http)#133 (2) {
   ["_path":protected]=>
   string(18) "/horde/rampage.php"
   ["_headers":protected]=>
   NULL
}

Backtrace:
1. Horde::debug() /var/www/virtual/htjn/html/horde/rampage.php:58

Of course the request can't be correctly mapped to the appropriate 
controller...
On a working installation the request is like this:

2014-12-11T00:32:42-08:00 DEBUG: Variable information:
object(Horde_Controller_Request_Http)#159 (2) {
   ["_path":protected]=>
   string(13) "/trean/b/save"
   ["_headers":protected]=>
   NULL
}

Backtrace:
1. Horde::debug() /opt/horde/rampage.php:59

Any ideas as to what may cause this?


More information about the horde mailing list