View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
11041Bug reportsAuthenticationpublic2016-05-11 15:24
Reporteraqualam Assigned Toc_schmitz  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.50.x 
Summary11041: Limesurvey Don't handle 404 not found error
Description

When I input invalid link, it show internal error page, please see the attachment.

TagsNo tags attached.
Attached Files
404NotFound.png (15,050 bytes)   
404NotFound.png (15,050 bytes)   
config404.png (26,891 bytes)   
config404.png (26,891 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)250plus-build160407
I will donate to the project if issue is resolvedNo
Browserchrome
Database type & versionMSSQL 2008
Server OS (if known)windows
Webserver software & version (if known)Apache2.4
PHP Version5.6

Users monitoring this issue

There are no users monitoring this issue.

Activities

aqualam

aqualam

2016-04-26 11:42

reporter   ~37863

I try to add customer 404 error page, but it is not work. Could you consider to add the customer 404 error page?

here is my code:

application/config/config.php
'components'=>array(
...
'errorHandler'=>array(
'errorAction' => 'site/error'
),
...
),

application/controllers/SiteController.php
public function actionError()
{
$error = Yii::app()->errorHandler->error;

    if( $error )
    {
        $this -> render( 'error', array( 'error' => $error ) );
    }
}

application/views/site/error.php
<div class="errorSummary">
<p>
Sorry, it seems like a(n) <?= $error['code']; ?> error has occured during your request.
</p>

<p><strong>Message:</strong> &lt;?= $error['message']; ?></p>

</div>

LouisGac

LouisGac

2016-05-11 15:24

developer   ~38348

please, move it to feature request

Issue History

Date Modified Username Field Change
2016-04-26 06:14 aqualam New Issue
2016-04-26 06:14 aqualam File Added: 404NotFound.png
2016-04-26 10:25 c_schmitz Status new => closed
2016-04-26 10:25 c_schmitz Assigned To => c_schmitz
2016-04-26 10:25 c_schmitz Resolution open => won't fix
2016-04-26 11:42 aqualam Note Added: 37863
2016-04-26 11:42 aqualam Status closed => feedback
2016-04-26 11:42 aqualam Resolution won't fix => reopened
2016-04-26 11:43 aqualam Note View State: 37863: private
2016-04-26 11:44 aqualam File Added: config404.png
2016-05-09 06:00 aqualam Note View State: 37863: public
2016-05-11 15:24 LouisGac Note Added: 38348
2016-05-11 15:24 LouisGac Status feedback => closed
2016-05-11 15:24 LouisGac Resolution reopened => fixed