-
will take a look at it asap :-)
Tx for the work already!
Franky.
2009-11-16 20:52:00 UTC by liedekef
-
When including phpESP using /public/handler.php you can specify the language of your survey by supplying the language in a $lang variable. If you specify this variable, the login screen should not show the language chooser dropdown, unfortunately this does not work.
Reason is the fact that the language variable is not available within the function show_login() that is part of...
2009-11-16 20:47:13 UTC by bochoven
-
Hmm, further investigation showed that this problem only arises when you don't include the handler.php in global space (eg in a function or a class). I would still want to flag this as a bug. Example code below:
...
2009-11-15 19:28:29 UTC by bochoven
-
On line 94 of php.ini.fixed, a call is made to esp_setlocale_ex() which in turn calls esp_setlocale() (both live in espi18n.inc).
On line 110, 114 and 115 of espi18n.inc, esp_setlocale() accesses $ESPCONFIG as a global variable, which is not initialized yet.
Initialization of $GLOBALS['ESPCONFIG'] happens at the end of php.ini.fixed, so after the part that references esp_setlocale();
As a...
2009-11-15 12:34:58 UTC by bochoven
-
The latest development code contains the fix, please update to the development code or wait for an official release.
2009-11-14 23:06:40 UTC by liedekef
-
liedekef committed revision 1133 to the phpESP - php Easy Survey Package SVN repository, changing 1 files.
2009-11-14 23:06:19 UTC by liedekef
-
My proposed fix:
// copy conditions
$sql = "
INSERT INTO ".$GLOBALS['ESPCONFIG']['condition_table']."
(id, survey_id, q1_id, q2_id, cond, cond_value)
SELECT NULL, $new_sid, qnew1.id, qnew2.id, cond, cond_value
FROM ".$GLOBALS['ESPCONFIG']['question_table']." qold1,
".$GLOBALS['ESPCONFIG']['question_table']." qold2...
2009-11-14 22:07:45 UTC by bochoven
-
I would like to reopen SFID 2669428, but I can't seem to find a way to do that.
The sql statement in survey_aggregate.inc on line 152 to 165 contains hardcoded tablenames which will fail when used together with prefixed tables:
// copy conditions
$sql =
2009-11-14 21:43:07 UTC by bochoven
-
@mlven:
Yes, the bug report was filed for version 2.1.1 (see initial comment). It was, therefore, fixed in releases 2.1.2 and later. Are you reporting that it occurs in a version later than 2.1.1?.
2009-11-06 12:28:35 UTC by bishopb
-
This same error is occurring in release 2.1.1.
2009-11-06 12:16:19 UTC by mlven