View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
05643Bug reportsTheme editorpublic2012-01-24 21:20
Reporterexnihilo Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91+ 
Fixed in Version1.91+ 
Summary05643: CMS integration support ($embedded_inc) broken
Description

Two line are missing from /limesurvey/index.php (compared to LS v.190+):

if ( $embedded_inc != '' )
require_once( $embedded_inc );

This breaks CMS integration support for templates.

Steps To Reproduce
  1. Install LS v191+
  2. Add CMS integration to config.php as described in:
    http://docs.limesurvey.org/The+template+editor#Basic_CMS_Integration_support
  3. Embedding is not working for templates.
Additional Information

version 190+ :

if (isset($_REQUEST['embedded_inc']))
{
safe_die('You cannot start this script directly');
}
if ( $embedded_inc != '' )
require_once( $embedded_inc );

version 191+ :

if (isset($_REQUEST['embedded_inc']))
{
safe_die('You cannot start this script directly');
}

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)11804
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.0.27
Server OS (if known)FreeBSD 6.2
Webserver software & version (if known)Apache 2.2.11
PHP VersionPHP 5.2.8

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2012-01-10 22:55

updater   ~16784

Shnoulle, can you have a look? If not, please ask Carsten if he can check but I guess he is pretty busy with GCi stuff.

DenisChenu

DenisChenu

2012-01-11 13:05

developer   ~16785

Yep, i look this afternoon :)

DenisChenu

DenisChenu

2012-01-11 13:17

developer   ~16786

@exnihilo : can you send me some file for good testing:
$embedded_inc + $embedded_headerfunc + $embedded_footerfunc

exnihilo

exnihilo

2012-01-12 08:59

reporter   ~16791

@Shnoulle: testfiles are now attached to this bug-report, see above.

DenisChenu

DenisChenu

2012-01-12 15:25

developer   ~16792

Fixed issue : 05643 CMS integration hack. Note: this option was removed for 2.00

c_schmitz

c_schmitz

2012-01-24 21:20

administrator   ~16957

New 1.91+ version released.

Issue History

Date Modified Username Field Change
2012-01-05 12:37 exnihilo New Issue
2012-01-10 22:55 Mazi Assigned To => DenisChenu
2012-01-10 22:55 Mazi Status new => assigned
2012-01-10 22:55 Mazi Note Added: 16784
2012-01-11 13:05 DenisChenu Note Added: 16785
2012-01-11 13:17 DenisChenu Note Added: 16786
2012-01-12 08:57 exnihilo File Added: limesurvey-embedded_testfiles.tar.gz
2012-01-12 08:59 exnihilo Note Added: 16791
2012-01-12 15:25 DenisChenu Note Added: 16792
2012-01-12 15:25 DenisChenu Status assigned => resolved
2012-01-12 15:25 DenisChenu Fixed in Version => 1.91+
2012-01-12 15:25 DenisChenu Resolution open => fixed
2012-01-24 21:20 c_schmitz Note Added: 16957
2012-01-24 21:20 c_schmitz Status resolved => closed
2015-12-11 14:40 c_schmitz Category Templates => Theme editor