You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(13) |
Dec
(16) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(46) |
Feb
(68) |
Mar
(90) |
Apr
(38) |
May
(35) |
Jun
(36) |
Jul
(32) |
Aug
(35) |
Sep
(36) |
Oct
(49) |
Nov
(64) |
Dec
(31) |
2003 |
Jan
(70) |
Feb
(35) |
Mar
(74) |
Apr
(50) |
May
(26) |
Jun
(24) |
Jul
(26) |
Aug
(45) |
Sep
(18) |
Oct
(21) |
Nov
(33) |
Dec
(13) |
2004 |
Jan
(40) |
Feb
(53) |
Mar
(48) |
Apr
(51) |
May
(39) |
Jun
(9) |
Jul
(11) |
Aug
(30) |
Sep
(30) |
Oct
(12) |
Nov
(8) |
Dec
(12) |
2005 |
Jan
(37) |
Feb
(43) |
Mar
(57) |
Apr
(33) |
May
(23) |
Jun
(26) |
Jul
(43) |
Aug
(27) |
Sep
(39) |
Oct
(17) |
Nov
(27) |
Dec
(5) |
2006 |
Jan
(7) |
Feb
(35) |
Mar
(32) |
Apr
(39) |
May
(5) |
Jun
(4) |
Jul
(3) |
Aug
(6) |
Sep
(3) |
Oct
(17) |
Nov
(9) |
Dec
(10) |
2007 |
Jan
(2) |
Feb
(8) |
Mar
(14) |
Apr
(5) |
May
(2) |
Jun
(17) |
Jul
(13) |
Aug
(8) |
Sep
(3) |
Oct
(1) |
Nov
(40) |
Dec
(25) |
2008 |
Jan
(15) |
Feb
(13) |
Mar
(21) |
Apr
(44) |
May
(17) |
Jun
(26) |
Jul
(3) |
Aug
(10) |
Sep
|
Oct
(2) |
Nov
(6) |
Dec
|
2009 |
Jan
(14) |
Feb
(21) |
Mar
(9) |
Apr
(11) |
May
(4) |
Jun
|
Jul
(3) |
Aug
(9) |
Sep
(1) |
Oct
(4) |
Nov
(11) |
Dec
(6) |
2010 |
Jan
(8) |
Feb
|
Mar
(8) |
Apr
(1) |
May
|
Jun
(8) |
Jul
|
Aug
(4) |
Sep
(5) |
Oct
(4) |
Nov
|
Dec
|
2011 |
Jan
(2) |
Feb
(1) |
Mar
(1) |
Apr
(2) |
May
|
Jun
(3) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
(2) |
Dec
(2) |
2013 |
Jan
(1) |
Feb
|
Mar
(15) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(13) |
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Franky V. L. <lie...@te...> - 2008-01-22 13:10:40
|
For question 2: it might be that $size is not correctly initialized, I'll check this later. Franky On 1/22/08, 272 adc <ad...@gm...> wrote: > > Hi > > Now, I'm using phpESP 2.0.2. > > question1 > Is it possible to add "return button" for answer display(survey.php,, > func.inc...etc) > also, Is it possible to add "confirmation display" which shows an answer > which user is answered. > thinking after showing the confirmation display, click submit, then > answered data is sent to db. > hope to get advice or something to improve application. > > question2 > Does anyone know about reason which size and maxlength of numeric question > type in questions tab does not set correctly > when inputting "length" and "precise". in my case when inputting length = > 3, size is set to 8. > > in question_render.inc source, > case '10': // numeric > $size++; // for sign > if($prec) > $size += 1 + $prec; > ?> > <?php echo(mktext($qid, $size, $size)); ?> > <?php > > Date question type has same issue. > and also, is there Date question type format checking funciton? > > > question3 > Are there files which are not used under /admin/include/lib/adodb/.?? > I'm looking into files for uploading to web site. > > Thanks > mag > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general > > |
From: 272 a. <ad...@gm...> - 2008-01-22 13:01:25
|
Hi Now, I'm using phpESP 2.0.2. question1 Is it possible to add "return button" for answer display(survey.php,, func.inc...etc) also, Is it possible to add "confirmation display" which shows an answer which user is answered. thinking after showing the confirmation display, click submit, then answered data is sent to db. hope to get advice or something to improve application. question2 Does anyone know about reason which size and maxlength of numeric question type in questions tab does not set correctly when inputting "length" and "precise". in my case when inputting length = 3, size is set to 8. in question_render.inc source, case '10': // numeric $size++; // for sign if($prec) $size += 1 + $prec; ?> <?php echo(mktext($qid, $size, $size)); ?> <?php Date question type has same issue. and also, is there Date question type format checking funciton? question3 Are there files which are not used under /admin/include/lib/adodb/.?? I'm looking into files for uploading to web site. Thanks mag |
From: Franky V. L. <lie...@te...> - 2008-01-21 19:23:31
|
Ok, again: don't show php notices in your browser, it's a security issue!! For the fix, add at the top of admin/include/where/admdesigner.inc, below the lines $errstr = ''; $u = ''; $r = ''; the following line: $arr = array(); That should fix it. This fix is also in svn now. Franky On Sun, 20 Jan 2008 15:42:45 -0800 David Liontooth <lio...@co...> wrote: > I'm seeing this notice in one location only so far, and it doesn't > seem to matter -- any suggestions as to what is going on? > > I'm thrilled to discover the new conditions feature. > > David > > Designer Account Administration > > Notice: Undefined variable: arr in > /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 271 > > Notice: Undefined variable: arr in > /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 276 > > Notice: Undefined variable: arr in > /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 281 > > Notice: Undefined variable: arr in > /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 287 > > Notice: Undefined variable: arr in > /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 288 > > Notice: Undefined variable: arr in > /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 289 > > Notice: Undefined variable: arr in > /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 297 > > Notice: Undefined variable: arr in > /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 307 > > Notice: Undefined variable: arr in > /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 312 > > Notice: Undefined variable: arr in > /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 318 > > Notice: Undefined variable: arr in > /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 323 > > Notice: Undefined variable: arr in > /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 329 > > Notice: Undefined variable: arr in > /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 334 > > |
From: David L. <lio...@co...> - 2008-01-20 23:42:51
|
I'm seeing this notice in one location only so far, and it doesn't seem to matter -- any suggestions as to what is going on? I'm thrilled to discover the new conditions feature. David Designer Account Administration Notice: Undefined variable: arr in /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 271 Notice: Undefined variable: arr in /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 276 Notice: Undefined variable: arr in /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 281 Notice: Undefined variable: arr in /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 287 Notice: Undefined variable: arr in /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 288 Notice: Undefined variable: arr in /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 289 Notice: Undefined variable: arr in /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 297 Notice: Undefined variable: arr in /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 307 Notice: Undefined variable: arr in /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 312 Notice: Undefined variable: arr in /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 318 Notice: Undefined variable: arr in /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 323 Notice: Undefined variable: arr in /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 329 Notice: Undefined variable: arr in /spare/wikis/phpESP/admin/include/where/admdesigner.inc on line 334 Outpug of test.php PHP Information * Version: 5.2.3-1+b1 * OS: Linux * SAPI: apache2handler * register_globals: No * magic_quotes_gpc: Yes * magic_quotes_runtime: No * safe_mode: No * open_basedir: PHP Extensions * dBase: No * GD: No * GNU Gettext: Yes * LDAP: No * MySQL: Yes * PHP Extension Dir (compiled): /usr/lib/php5/20060613 * PHP Extension Dir (run time): /usr/lib/php5/20060613 phpESP Settings * Expected ESP_BASE: /spare/wikis/phpESP/ * Expected base_url: spello.sscnet.ucla.edu/surveys/ * *Loading phpESP.ini.php ...* * ESP_BASE: /spare/wikis/phpESP/ * base_url: http://spello.sscnet.ucla.edu/surveys/ * Version: 2.0.2 * Debug: No phpESP Language Settings * GNU Gettext: Real * default_lang: en_US * current lang: en_US * available langs: da_DK, de_DE, el_GR, en_US, es_ES, fi, fi_FI, fr_FR, hu_HU, it_IT, ja_JP, nl_NL, pt_BR, pt_PT, sv_SE (da, de, el, en, es, fi, fr, it, ja, nl, pt, sv) * GNU Gettext test: %%%% Gettext Test Failed * Catalog Open Test: Yes PHP Session Test * session.save_path: /var/lib/php5 * Counter: 1 |
From: Franky V. L. <lie...@te...> - 2008-01-11 18:25:22
|
First of all: php notices are NOT errors. Showing this on screen is a security issue and should be disabled! Anyway, it's a small thing in the "inside " testing of the survey, if you use the standalone test link, this won't happen. Fix, comment out the line 58 in admin/include/where/test.inc (the line that also defines ESP-AUTH-OK). This has been changed in svn on sourceforge as well. Franky On Fri, 11 Jan 2008 11:38:46 -0600 "Cook, Ken" <kc...@sa...> wrote: > We are upgrading to phpESP 2.0.2, and I have created a three page test > survey and a one page test survey. When testing, on the three page > survey when you complete the first page and go to the two page or on > the one page survey when you submit the survey, you get this error: > > > > Notice: Constant ESP-AUTH-OK already defined in > /var/www/php-bin/phpESP2.0.2/public/handler-prefix.php on line 141 > Request failed, please contact the administrator. > > > > any suggestions? > > > > Ken Cook > > Web Programmer > Samford University > > > > > |
From: Cook, K. <kc...@sa...> - 2008-01-11 17:38:55
|
We are upgrading to phpESP 2.0.2, and I have created a three page test survey and a one page test survey. When testing, on the three page survey when you complete the first page and go to the two page or on the one page survey when you submit the survey, you get this error: =20 Notice: Constant ESP-AUTH-OK already defined in /var/www/php-bin/phpESP2.0.2/public/handler-prefix.php on line 141 Request failed, please contact the administrator. =20 any suggestions? =20 Ken Cook Web Programmer Samford University =20 |
From: Franky V. L. <lie...@te...> - 2008-01-10 20:39:37
|
Hi, I would suggest to update to the latest version (2.0.2) first. I updated the adodb drivers, so it is very likely your problem is alrady fixed. Franky On Thu, 10 Jan 2008 15:23:09 +0100 Julien Oix <Jul...@un...> wrote: > Hi everyone, > > i've setup a private survey, and sometimes either on the login page > or after the login action, I got this message instead of the first > survey page : > > Catchable fatal error: Object of class ADORecordSet_mysql could not > be converted to string in > /var/www/php/phpesp/admin/include/lib/adodb/drivers/adodb-mysql.inc.php > on line 438 > > Here's the result of /admin/test.php : > > PHP Information > > * Version: 5.2.0-8+etch9 > * OS: Linux > * SAPI: apache2handler > * register_globals: No > * magic_quotes_gpc: No > * magic_quotes_runtime: No > * safe_mode: No > * open_basedir: > > PHP Extensions > > * dBase: No > * GD: Yes -- 2.0 or higher > * GNU Gettext: Yes > * LDAP: Yes > * MySQL: Yes > * PHP Extension Dir (compiled): /usr/lib/php5/20060613+lfs > * PHP Extension Dir (run time): /usr/lib/php5/20060613+lfs > > phpESP Settings > > * Expected ESP_BASE: /var/www/php/phpesp/ > * Expected base_url: enquetes.informatique.univ-paris-diderot.fr// > * *Loading phpESP.ini.php ...* > * ESP_BASE: /var/www/php/phpesp/ > * base_url: http://enquetes.informatique.univ-paris-diderot.fr/ > * Version: 1.8.2 > * Debug: No > > phpESP Language Settings > > * GNU Gettext: Real > * default_lang: fr_FR > * current lang: fr_FR > * available langs: ja_JP, pt_PT, de_DE, hu_HU, da_DK, fi, pt_BR, > it_IT, es_ES, fi_FI, el_GR, en_US, fr_FR, sv_SE, nl_NL > (da, de, el, en, es, fi, fr, it, ja, nl, pt, sv) > * GNU Gettext test: Passed > * Catalog Open Test: Yes > > PHP Session Test > > * session.save_path: /var/lib/php5 > * Counter: 1 > > > > the mysql version is 5.0.32-7etch4 on a debian system. > > What could be the problem ? :) > > Thanks, > |
From: Julien O. <Jul...@un...> - 2008-01-10 14:17:16
|
Hi everyone, i've setup a private survey, and sometimes either on the login page or after the login action, I got this message instead of the first survey page : Catchable fatal error: Object of class ADORecordSet_mysql could not be converted to string in /var/www/php/phpesp/admin/include/lib/adodb/drivers/adodb-mysql.inc.php on line 438 Here's the result of /admin/test.php : PHP Information * Version: 5.2.0-8+etch9 * OS: Linux * SAPI: apache2handler * register_globals: No * magic_quotes_gpc: No * magic_quotes_runtime: No * safe_mode: No * open_basedir: PHP Extensions * dBase: No * GD: Yes -- 2.0 or higher * GNU Gettext: Yes * LDAP: Yes * MySQL: Yes * PHP Extension Dir (compiled): /usr/lib/php5/20060613+lfs * PHP Extension Dir (run time): /usr/lib/php5/20060613+lfs phpESP Settings * Expected ESP_BASE: /var/www/php/phpesp/ * Expected base_url: enquetes.informatique.univ-paris-diderot.fr// * *Loading phpESP.ini.php ...* * ESP_BASE: /var/www/php/phpesp/ * base_url: http://enquetes.informatique.univ-paris-diderot.fr/ * Version: 1.8.2 * Debug: No phpESP Language Settings * GNU Gettext: Real * default_lang: fr_FR * current lang: fr_FR * available langs: ja_JP, pt_PT, de_DE, hu_HU, da_DK, fi, pt_BR, it_IT, es_ES, fi_FI, el_GR, en_US, fr_FR, sv_SE, nl_NL (da, de, el, en, es, fi, fr, it, ja, nl, pt, sv) * GNU Gettext test: Passed * Catalog Open Test: Yes PHP Session Test * session.save_path: /var/lib/php5 * Counter: 1 the mysql version is 5.0.32-7etch4 on a debian system. What could be the problem ? :) Thanks, -- Julien Oix - Université Paris Diderot Paris 7 Office location : Laboratoire PPS - bureau 5C01 175 rue du Chevaleret 75013 PARIS Tel : +33 144 278 504 Fax : (+33) 1 44 27 86 54 Mobile : +33 664 392 207 --------------------------------------------- http://www.gnu.org/philosophy/no-word-attachments.html |
From: Franky V. L. <lie...@te...> - 2008-01-08 22:27:18
|
On Tue, 8 Jan 2008 15:29:49 -0600 "Cook, Ken" <kc...@sa...> wrote: > In the scripts/db folder, there is not a script for updating from > version phpESP 1.7.2 . Is there prescribed steps for updating the db > from 1.7.2 to ? ? > Well, since there wasn't an update script to go from 1.6.* to 1.7.2, I would assume the db didn't change then. So, as indicated in docs/UPDATING: mysql_update-1.8.2h-1.8.2i.sql (if running a version <= 1.8.2h and going to 1.8.2i) mysql_update-1.8.2k-2.0.0.sql (if running a version 1.8.2i-1.8.2k and going to 2.0.0) (you need to execute them both in order). I'm not aware of any DB version restrictions, so I would say this shouldn't pose any problems, but due to the mysql password statement changing between 3.x and 4.x (size went to 64 characters), you may want to change the column type of "password" in the tables "respondent" and "designer" from CHAR to VARCHAR (since your version still generates shorter passwords). Maybe not a bad idea to do this in general ... Franky |
From: Cook, K. <kc...@sa...> - 2008-01-08 21:29:51
|
In the scripts/db folder, there is not a script for updating from version phpESP 1.7.2 . Is there prescribed steps for updating the db from 1.7.2 to ? ? =20 Ken Cook Web Programmer Computer Services Samford University Phone: 205-726-2706 Fax: 205-726-2524 email: kc...@sa... <mailto:kc...@sa...>=20 =20 "Only one life, 'twill soon be past, only what's done for Christ will last." - C. T. Studd =20 |
From: Cook, K. <kc...@sa...> - 2008-01-08 21:20:21
|
What version of MySQL do you have to be running for phpESP 2.0.2 ? We are running MySQL 3.23.58 phpESP 1.7.2. =20 Thanks, =20 Ken Cook Web Programmer Samford University email: kc...@sa... =20 "Only one life, 'twill soon be past, only what's done for Christ will last." - C. T. Studd =20 |
From: Merlin K. L. B. <mbi...@ac...> - 2008-01-02 15:27:28
|
Contents follow. Would you prefer that I send it as an attachment? <?php /* $Id: test.php,v 1.10 2004/05/12 09:29:15 angek Exp $ */ /* vim: set tabstop=4 shiftwidth=4 expandtab: */ // Written by James Flemer // <jf...@al...> /* phpESP System Information */ session_start(); if (!isset($_SESSION['esp_counter'])) $_SESSION['esp_counter'] = 0; $_SESSION['esp_counter']++; function _pass($str) { echo '<font color="green">' . htmlspecialchars($str) . '</font>'; } function _fail($str) { echo '<font color="red">' . htmlspecialchars($str) . '</font>'; } function check_string($have, $want) { if (strcasecmp($have, $want) == 0) _pass($have); else _fail($have); } function check_bool($have, $want) { $val = $have ? 'Yes' : 'No'; if ($have == $want) _pass($val); else _fail($val); } function check_extension($ext) { if (!isset($GLOBALS['php_extensions'])) { $GLOBALS['php_extensions'] = array_map('strtolower', get_loaded_extensions()); } if (in_array(strtolower($ext), $GLOBALS['php_extensions'])) _pass('Yes'); else _fail('No'); } function check_version() { if (!function_exists('version_compare')) { _fail(PHP_VERSION); return; } if (version_compare(PHP_VERSION, '4.1.0', 'ge')) _pass(PHP_VERSION); else _fail(PHP_VERSION); } ?> <html> <head> <title>phpESP System Information</title> <style type="text/css"> <!-- ul,th { font-family : Verdana, Arial, Helvetica, Geneva, sans-serif; font-size : 9px; font-weight : bold; font-variant : normal; font-style : normal; } --> </style> </head> <body> <table><tbody align="left"> <tr><th>PHP Information</th></tr> <tr><td><ul> <li>Version: <?php check_version(); ?></li> <li>OS: <?php _pass(PHP_OS); ?></li> <li>SAPI: <?php check_string(php_sapi_name(), 'apache'); ?></li> <li>register_globals: <?php check_bool(ini_get('register_globals'), false); ?></li> <li>magic_quotes_gpc: <?php check_bool(ini_get('magic_quotes_gpc'), false); ?></li> <li>magic_quotes_runtime: <?php check_bool(ini_get('magic_quotes_runtime'), false); ?></li> <li>safe_mode: <?php check_bool(ini_get('safe_mode'), false); ?></li> <li>open_basedir: <?php check_string(ini_get('open_basedir'), ''); ?></li> </ul></td></tr> <tr><th>PHP Extensions</th></tr> <tr><td><ul> <li>dBase: <?php check_extension('dbase'); ?></li> <li>GD: <?php check_extension('gd'); if (function_exists('gd_info')) { $gdinfo = gd_info(); echo " -- ${gdinfo['GD Version']}"; } ?></li> <li>GNU Gettext: <?php check_extension('gettext'); ?></li> <li>LDAP: <?php check_extension('ldap'); ?></li> <li>MySQL: <?php check_extension('mysql'); ?></li> <li>PHP Extension Dir (compiled): <?php _pass(PHP_EXTENSION_DIR); ?></li> <li>PHP Extension Dir (run time): <?php _pass(ini_get('extension_dir')); ?></li> </ul></td></tr> <tr><th>phpESP Settings</th></tr> <tr><td><ul> <li>Expected ESP_BASE: <?php _pass(dirname(dirname(__FILE__)) .'/'); ?></li> <li>Expected base_url: <?php _pass($ESPCONFIG['proto'] . $_SERVER['HTTP_HOST'] . dirname(dirname($_SERVER['REQUEST_URI'])) . '/'); ?></li> <li><b>Loading phpESP.ini.php ...</b><br /> <?php require_once('phpESP.ini.php'); ?></li> <li>ESP_BASE: <?php if ((ESP_BASE == dirname(__FILE__) . '/../') || (ESP_BASE == dirname(dirname(__FILE__)) .'/')) _pass(ESP_BASE); else _fail(ESP_BASE); ?></li> <li>base_url: <?php check_string($ESPCONFIG['base_url'], $ESPCONFIG['proto']. $_SERVER['HTTP_HOST'] . dirname(dirname($_SERVER['REQUEST_URI'])) . '/'); ?></li> <li>Version: <?php _pass($ESPCONFIG['version']); ?></li> <li>Debug: <?php check_bool($ESPCONFIG['DEBUG'], false); ?></li> </ul></td></tr> <tr><th>phpESP Language Settings</th></tr> <tr><td><ul> <li>GNU Gettext: <?php check_string( ($ESPCONFIG['gettext'] ? 'Real' : 'Emulated'), 'Real'); ?></li> <li>default_lang: <?php _pass($ESPCONFIG['default_lang']); ?></li> <li>current lang: <?php _pass($ESPCONFIG['lang']); ?></li> <li>available langs: <?php _pass(implode(', ', esp_getlocales())); ?><br /> (<?php _pass(implode(', ', array_keys(esp_getlocale_map()))); ?>) </li> <li>GNU Gettext test: <?php esp_setlocale('en_US'); check_string(_('%%%% Gettext Test Failed'), 'Passed'); ?></li> <li>Catalog Open Test: <?php $ret = fopen($ESPCONFIG['locale_path'] . '/en_US/LC_MESSAGES/messages.mo', 'r'); check_bool($ret !== false, true); fclose($ret); ?></li> </ul></td></tr> <tr><th>PHP Session Test</th></tr> <tr><td><ul> <li>session.save_path: <?php if (stristr(PHP_OS, 'win') && (substr(ini_get('session.save_path'), 0, 1) == '/')) _fail(ini_get('session.save_path')); else _pass(ini_get('session.save_path')); ?></li> <li>Counter: <?php echo $_SESSION['esp_counter']; ?></li> </ul></td></tr> </tbody></table> </body> </html> ----- Original Message ----- From: "Franky Van Liedekerke" <lie...@te...> To: "Merlin K. L. Bicking" <mbi...@ac...> Cc: <php...@li...> Sent: Tuesday, January 01, 2008 2:31 PM Subject: Re: [phpesp-general] php error > On Mon, 31 Dec 2007 16:22:10 -0600 > "Merlin K. L. Bicking" <mbi...@ac...> wrote: > >> I am getting the following message at the top of the page. The >> survey follows the message on the page, but there is some problem I >> need to correct. >> >> Warning: session_start() [function.session-start]: Cannot send >> session cache limiter - headers already sent (output started >> at /home/*mysite*/public_html/survey/test.php:5) >> in /home/*mysite*/public_html/public/handler-prefix.php on line 57 >> >> I get the same message whether place in a blank page, or using my >> site template. >> >> > > please show us the content of test.php > > Franky > > > |
From: Franky V. L. <lie...@te...> - 2008-01-01 20:34:52
|
On Mon, 31 Dec 2007 16:22:10 -0600 "Merlin K. L. Bicking" <mbi...@ac...> wrote: > I am getting the following message at the top of the page. The > survey follows the message on the page, but there is some problem I > need to correct. > > Warning: session_start() [function.session-start]: Cannot send > session cache limiter - headers already sent (output started > at /home/*mysite*/public_html/survey/test.php:5) > in /home/*mysite*/public_html/public/handler-prefix.php on line 57 > > I get the same message whether place in a blank page, or using my > site template. > > please show us the content of test.php Franky |
From: Merlin K. L. B. <mbi...@ac...> - 2007-12-31 22:22:14
|
I am getting the following message at the top of the page. The survey = follows the message on the page, but there is some problem I need to = correct. Warning: session_start() [function.session-start]: Cannot send session = cache limiter - headers already sent (output started at = /home/*mysite*/public_html/survey/test.php:5) in = /home/*mysite*/public_html/public/handler-prefix.php on line 57 I get the same message whether place in a blank page, or using my site = template. =20 |
From: Franky V. L. <lie...@te...> - 2007-12-31 08:27:41
|
On Sun, 30 Dec 2007 12:09:15 EST Mrs...@ao... wrote: > When surveys are submitted is it possible to show the person's > responses onscreen on your thank you page? > Pat > > > > For the moment this is not possible. You can show all the responses on screen, but that is not what I would do. If the survey is not anonymous, you could mail the result to the user (see admin/phpESP.ini.php, search for "mail" in that file). Another possibility is to create your own return page, and use the session data of the user (to get the survey_id and the response_id) to show the results. The function that gets the result can be used here as an example then (see admin/include/lib/espresponse.inc, function response_select_human: the results are returned as an associative array, use the php print_r function to print it out). If I have time, I'll try to cook up an example, but not today :) Franky |
From: Franky V. L. <lie...@te...> - 2007-12-31 08:11:31
|
On Sun, 30 Dec 2007 23:20:25 -0500 "Sunil Joshi" <pav...@gm...> wrote: > That almost did the trick. The error has gone away in the survey > pages, but now a new error has come up which is > > Notice: Undefined index: profile in > /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/includes/application_bottom.php > on line 15 > > > I think this may have something to do with having to define the > phpesp.first.php file. Will need to do some more research.. > > > Thanks! > > > -P wel, I'll say it again: php notices are *not* errors, but anyway: they shouldn't occur (and you shouldn't display php errors/notices of any kind in the browser, only log them into files to prevent path disclosures). In my version of oscommerce (2.2rc1), I don't have anything in application_bottom.php that refers to profile, maybe that was an old error in oscommerce that got fixed? Franky |
From: Sunil J. <pav...@gm...> - 2007-12-31 04:20:22
|
That almost did the trick. The error has gone away in the survey pages, but now a new error has come up which is Notice: Undefined index: profile in /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/includes/application_bottom.php on line 15 I think this may have something to do with having to define the phpesp.first.php file. Will need to do some more research.. Thanks! -P On Dec 30, 2007 6:31 PM, Franky Van Liedekerke <lie...@te...> wrote: > Well, upgrading wouldn't mind, but if it doesn't work, the issue must > be somewhere else. > This error means that > > /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/includes/languages/english/zermattsurvey2.php > already sends something to the browser (starting on line 20) before > phpESP.first.php gets included (which starts a session if not already > started and sends a cookie) > Looking quickly at oscommerce, I suggest you include it in the file > catalog/includes/application_top.php (maybe at the bottom of that file) > and try again. > > Franky > > On Sun, 30 Dec 2007 18:14:29 -0500 > "Sunil Joshi" <pav...@gm...> wrote: > > > On Dec 30, 2007 6:13 PM, Sunil Joshi <pav...@gm...> wrote: > > > > > Franky, thanks for your reply. I have it declared right at the > > > top, but still the same issue. I am using 2.0.1. Could that be > > > the issue? P > > > > > > > > > On Dec 30, 2007 2:00 PM, Franky Van Liedekerke <lie...@te...> > > > wrote: > > > > > > > On Sun, 30 Dec 2007 13:54:31 -0500 > > > > "Sunil Joshi" <pav...@gm...> wrote: > > > > > > > > > Hi, I am trying to integrate phpESP into the oscommerce shopping > > > > > cart, and everything seems to be working fine, except, when I > > > > > hit the "Submit Survey" button, I get the following error > > > > > message---------- *Warning*: Cannot modify header information - > > > > > headers already sent by (output started at > > > > > > > > > > /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/includes/languages/english/zermattsurvey2.php:20) > > > > > in * > > > > > > > > > > /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/phpESP/public/phpESP.first.php > > > > > > > > > * on line*60* > > > > > --------------- > > > > > > > > > > I wonder if some one has any idea on how to get rid of this > > > > > error message. > > > > > > > > > > Appreciate your help > > > > > > > > > > pavansut > > > > > > > > well, I don't know oscommerce very well, but I did quite a bit of > > > > work to make this kind of thing possible. Have you looked at the > > > > examples? You should include public/phpESP.first.php before any > > > > output happens, as the session initializes there. This can > > > > probably be fixed by just moving that include higher up in > > > > whatever file you're including it in. Btw: are you using the > > > > latest version (2.0.2 as of today :) )? > > > > > > > > Franky > > > > > > > > > > > > > > > > -- > > > http://www.jayateas.com > > > PREMIUM TEAS FROM THE HIGHLANDS OF INDIA > > > > > > > > > > -- http://www.jayateas.com PREMIUM TEAS FROM THE HIGHLANDS OF INDIA |
From: Franky V. L. <lie...@te...> - 2007-12-30 23:34:12
|
Well, upgrading wouldn't mind, but if it doesn't work, the issue must be somewhere else. This error means that /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/includes/languages/english/zermattsurvey2.php already sends something to the browser (starting on line 20) before phpESP.first.php gets included (which starts a session if not already started and sends a cookie) Looking quickly at oscommerce, I suggest you include it in the file catalog/includes/application_top.php (maybe at the bottom of that file) and try again. Franky On Sun, 30 Dec 2007 18:14:29 -0500 "Sunil Joshi" <pav...@gm...> wrote: > On Dec 30, 2007 6:13 PM, Sunil Joshi <pav...@gm...> wrote: > > > Franky, thanks for your reply. I have it declared right at the > > top, but still the same issue. I am using 2.0.1. Could that be > > the issue? P > > > > > > On Dec 30, 2007 2:00 PM, Franky Van Liedekerke <lie...@te...> > > wrote: > > > > > On Sun, 30 Dec 2007 13:54:31 -0500 > > > "Sunil Joshi" <pav...@gm...> wrote: > > > > > > > Hi, I am trying to integrate phpESP into the oscommerce shopping > > > > cart, and everything seems to be working fine, except, when I > > > > hit the "Submit Survey" button, I get the following error > > > > message---------- *Warning*: Cannot modify header information - > > > > headers already sent by (output started at > > > > > > > /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/includes/languages/english/zermattsurvey2.php:20) > > > > in * > > > > > > > /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/phpESP/public/phpESP.first.php > > > > > > > * on line*60* > > > > --------------- > > > > > > > > I wonder if some one has any idea on how to get rid of this > > > > error message. > > > > > > > > Appreciate your help > > > > > > > > pavansut > > > > > > well, I don't know oscommerce very well, but I did quite a bit of > > > work to make this kind of thing possible. Have you looked at the > > > examples? You should include public/phpESP.first.php before any > > > output happens, as the session initializes there. This can > > > probably be fixed by just moving that include higher up in > > > whatever file you're including it in. Btw: are you using the > > > latest version (2.0.2 as of today :) )? > > > > > > Franky > > > > > > > > > > > -- > > http://www.jayateas.com > > PREMIUM TEAS FROM THE HIGHLANDS OF INDIA > > > > > |
From: Sunil J. <pav...@gm...> - 2007-12-30 23:14:26
|
On Dec 30, 2007 6:13 PM, Sunil Joshi <pav...@gm...> wrote: > Franky, thanks for your reply. I have it declared right at the top, but > still the same issue. I am using 2.0.1. Could that be the issue? > P > > > On Dec 30, 2007 2:00 PM, Franky Van Liedekerke <lie...@te...> > wrote: > > > On Sun, 30 Dec 2007 13:54:31 -0500 > > "Sunil Joshi" <pav...@gm...> wrote: > > > > > Hi, I am trying to integrate phpESP into the oscommerce shopping > > > cart, and everything seems to be working fine, except, when I hit the > > > "Submit Survey" button, I get the following error message---------- > > > *Warning*: Cannot modify header information - headers already sent by > > > (output started at > > > > > /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/includes/languages/english/zermattsurvey2.php:20) > > > in * > > > > > /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/phpESP/public/phpESP.first.php > > > > > * on line*60* > > > --------------- > > > > > > I wonder if some one has any idea on how to get rid of this error > > > message. > > > > > > Appreciate your help > > > > > > pavansut > > > > well, I don't know oscommerce very well, but I did quite a bit of work > > to make this kind of thing possible. Have you looked at the examples? > > You should include public/phpESP.first.php before any output happens, > > as the session initializes there. This can probably be fixed by just > > moving that include higher up in whatever file you're including it in. > > Btw: are you using the latest version (2.0.2 as of today :) )? > > > > Franky > > > > > > -- > http://www.jayateas.com > PREMIUM TEAS FROM THE HIGHLANDS OF INDIA > -- http://www.jayateas.com PREMIUM TEAS FROM THE HIGHLANDS OF INDIA |
From: Franky V. L. <lie...@te...> - 2007-12-30 19:03:24
|
On Sun, 30 Dec 2007 13:54:31 -0500 "Sunil Joshi" <pav...@gm...> wrote: > Hi, I am trying to integrate phpESP into the oscommerce shopping > cart, and everything seems to be working fine, except, when I hit the > "Submit Survey" button, I get the following error message---------- > *Warning*: Cannot modify header information - headers already sent by > (output started at > /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/includes/languages/english/zermattsurvey2.php:20) > in * > /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/phpESP/public/phpESP.first.php > * on line*60* > --------------- > > I wonder if some one has any idea on how to get rid of this error > message. > > Appreciate your help > > pavansut well, I don't know oscommerce very well, but I did quite a bit of work to make this kind of thing possible. Have you looked at the examples? You should include public/phpESP.first.php before any output happens, as the session initializes there. This can probably be fixed by just moving that include higher up in whatever file you're including it in. Btw: are you using the latest version (2.0.2 as of today :) )? Franky |
From: Sunil J. <pav...@gm...> - 2007-12-30 18:54:28
|
Hi, I am trying to integrate phpESP into the oscommerce shopping cart, and everything seems to be working fine, except, when I hit the "Submit Survey" button, I get the following error message---------- *Warning*: Cannot modify header information - headers already sent by (output started at /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/includes/languages/english/zermattsurvey2.php:20) in * /mnt/w0506/d37/s14/b02cd23b/www/zermattgarments/catalog/phpESP/public/phpESP.first.php * on line*60* --------------- I wonder if some one has any idea on how to get rid of this error message. Appreciate your help pavansut -- http://www.jayateas.com PREMIUM TEAS FROM THE HIGHLANDS OF INDIA |
From: Franky V. L. <lie...@te...> - 2007-12-30 18:42:36
|
Hi, this was one of the small "errors" in the 2.0.1 release. I suggest you upgrade to the CVS version (it also fixes 2 other very minor issues). I will release 2.0.2 today, it contains all these fixes. You can already find it on my website: http://www.e-dynamics.be/index.php?section=programs&lang=en Franky On Sun, 30 Dec 2007 10:26:57 -0800 Lars Jensen <lj...@tm...> wrote: > We just upgraded from v.1.8 to 2.0.1. We used the two upgrade scripts > to upgrade the database: > > mysql_update-1.8.2h-1.8.2i.sql > and > mysql_update-1.8.2k-2.0.0.sql > > Everything seems to work OK so far, except that when I try to enter a > question in a survey I get the following notice at the top of the > page: > > Notice: Undefined variable: q_id in > /var/www/phpESP/admin/include/tab/questions.inc on line 31 > > What is this doe to, and is there any way to fix it? > > Thanks, > Lars. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general > |
From: Lars J. <lj...@tm...> - 2007-12-30 18:26:59
|
We just upgraded from v.1.8 to 2.0.1. We used the two upgrade scripts to upgrade the database: mysql_update-1.8.2h-1.8.2i.sql and mysql_update-1.8.2k-2.0.0.sql Everything seems to work OK so far, except that when I try to enter a question in a survey I get the following notice at the top of the page: Notice: Undefined variable: q_id in /var/www/phpESP/admin/include/tab/questions.inc on line 31 What is this doe to, and is there any way to fix it? Thanks, Lars. |
From: <Mrs...@ao...> - 2007-12-30 17:09:26
|
When surveys are submitted is it possible to show the person's responses onscreen on your thank you page? Pat |
From: Franky V. L. <lie...@te...> - 2007-12-18 19:12:08
|
On Tue, 18 Dec 2007 11:26:46 -0600 william benney <wb...@ho...> wrote: > > Hello, > > Just starting out with phpesp, and have successfully installed in on > linux. However, when I attempted to install it on Novell 6.5, I get > the following error: Unable to find the phpESP css directory. Please > check phpESP.ini.php to ensure that all paths are set correctly. > I have checked, and the settings in phpesp.ini.php are identical in > both systems. However, I am wondering if the problem is related to > rights. I read in the FAQs that in a unix environment they should be > set to 640 or 644, but I am unsure as to how to set comparable rights > in Novell. Any suggestions would be appreciated. I'm very sorry but I have no experience whatsoever with Novell. If it is anything like unix, the webserver should at least have read access to all the subdirs. Ftanky |