View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
05737Bug reportsSurvey takingpublic2012-02-03 14:03
Reporteruser16048Assigned ToDenisChenu  
PrioritylowSeverityminor 
Status closedResolutionunable to reproduce 
Product Version1.91+ 
Summary05737: Undefined variable: embedded in index.php on line 375
Description

If I set "$debug" to "1" I get a notice

Notice: Undefined variable: embedded in D:\Apache\htdocs\umfragen\index.php on line 375

This notice appears if I test a survey or visit the start page with the survey list (in our case: http://umfragen.mvv.de/ )

Steps To Reproduce
  • Change "$debug" to "1"
  • Test a survey or look at the start page with the survey list
TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)12170
I will donate to the project if issue is resolvedNo
BrowserMozilla Firefox 9.0
Database type & versionMySQL Community Server 5.5.8
Server OS (if known)Windows Server 2008 R2 Standard
Webserver software & version (if known)Apache 2.2.17
PHP Version5.2.17
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2012-02-01 11:41

developer   ~17132

Hello,

Did you change config-default.php ?

You have to have :
// CMS Integration Settings
// Set $embedded to true and specify the header and footer functions - for example if the survey is to be displayed embedded in a CMS
$embedded = false;
$embedded_inc = ''; // path to a php file to include
$embedded_headerfunc = ''; // e.g. COM_siteHeader for geeklog
$embedded_footerfunc = ''; // e.g. COM_siteFooter for geeklog

in config-default.php. All config are to be put in config.php

user16048

2012-02-01 12:28

  ~17135

I didn't have this part in config-default.php. I now copied it into the file and it works. Perhaps I didn't overwrite the config-default.php in the last update, I'm not sure about it.

DenisChenu

DenisChenu

2012-02-01 18:05

developer   ~17142

You made the automatic update ?

user16048

2012-02-02 08:41

  ~17157

It happend at home using comfort update (with a XAMPP localhost installation) and at work using the manual way.

DenisChenu

DenisChenu

2012-02-02 18:06

developer   ~17181

I look for the automatic update, it work for one of my installation but ????

Issue History

Date Modified Username Field Change
2012-02-01 11:17 user16048 New Issue
2012-02-01 11:41 DenisChenu Note Added: 17132
2012-02-01 11:41 DenisChenu Assigned To => DenisChenu
2012-02-01 11:41 DenisChenu Status new => assigned
2012-02-01 12:28 user16048 Note Added: 17135
2012-02-01 18:05 DenisChenu Note Added: 17142
2012-02-02 08:41 user16048 Note Added: 17157
2012-02-02 18:06 DenisChenu Note Added: 17181
2012-02-03 14:03 DenisChenu Status assigned => closed
2012-02-03 14:03 DenisChenu Resolution open => unable to reproduce