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: James E. F. <jf...@ac...> - 2002-03-05 01:54:11
|
All files must be world readable (typically 644). Also check your phpESP.ini if you are getting a 500 error, PHP may be crashing Apache. It typically does this when you have un-matched quotes. Make sure the the lines you edited in the files have matching quotes (check single vs double quotes) and that they are terminated appropriatly (with a comma or semi-colon depending on the file). -James On Mon, 4 Mar 2002, Tigran wrote: > Yes I was thinking it has something to do with the file permission but I'm > not sure what the permissions should be. > > there is no .htaccess in that directory, should there be one? > > Since it's a virtual host I don't have access to the apache error > logs. I'm contacting the hosting company to find out if they can give me > access to the error logs. > > What other info can I give you. > > Thanks > > > At 03:53 PM 3/4/2002, James E. Flemer wrote: > >You are going to have to provide a whole lot more > >information than that. From what you've given so far, all I > >can tell you is to look at Apache's error log. As the 500 > >page tells you "More information about this error may be > >available in the server error log." Do you have a .htaccess > >file in that directory? Are the file permissions ok? > > > >-James > > > >On Mon, 4 Mar 2002, Tigran wrote: > > > > > Hello, > > > > > > I'm trying to install phpESP on a virtual host. > > > Right after I change the paths in the noted files I get a 500 Inernal > > > Server Error. > > > http://www.usanogh.com/yana/admin/ > > > > > > Any help is appriciated. > > > > > > Thanks > > > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general > |
From: Tigran <ti...@us...> - 2002-03-05 00:10:26
|
Yes I was thinking it has something to do with the file permission but I'm not sure what the permissions should be. there is no .htaccess in that directory, should there be one? Since it's a virtual host I don't have access to the apache error logs. I'm contacting the hosting company to find out if they can give me access to the error logs. What other info can I give you. Thanks At 03:53 PM 3/4/2002, James E. Flemer wrote: >You are going to have to provide a whole lot more >information than that. From what you've given so far, all I >can tell you is to look at Apache's error log. As the 500 >page tells you "More information about this error may be >available in the server error log." Do you have a .htaccess >file in that directory? Are the file permissions ok? > >-James > >On Mon, 4 Mar 2002, Tigran wrote: > > > Hello, > > > > I'm trying to install phpESP on a virtual host. > > Right after I change the paths in the noted files I get a 500 Inernal > > Server Error. > > http://www.usanogh.com/yana/admin/ > > > > Any help is appriciated. > > > > Thanks |
From: James E. F. <jf...@ac...> - 2002-03-04 23:53:38
|
You are going to have to provide a whole lot more information than that. From what you've given so far, all I can tell you is to look at Apache's error log. As the 500 page tells you "More information about this error may be available in the server error log." Do you have a .htaccess file in that directory? Are the file permissions ok? -James On Mon, 4 Mar 2002, Tigran wrote: > Hello, > > I'm trying to install phpESP on a virtual host. > Right after I change the paths in the noted files I get a 500 Inernal > Server Error. > http://www.usanogh.com/yana/admin/ > > Any help is appriciated. > > Thanks |
From: Tigran <ti...@us...> - 2002-03-04 23:46:47
|
Hello, I'm trying to install phpESP on a virtual host. Right after I change the paths in the noted files I get a 500 Inernal Server Error. http://www.usanogh.com/yana/admin/ Any help is appriciated. Thanks |
From: James E. F. <jf...@ac...> - 2002-03-03 19:30:50
|
This is the first release of v1.4. This is not production code, this is a *beta*. Use at your own risk. NOTE: The database layout of this release is NOT compatible releases before 1.3-RC1. The main changes in this version are surrounding the recently discussed issues with language translations. This version has the updates to honor a default language other than 'en', and has the translations for German and Dutch (from flobee and Sipke respectively). [ So even though this is a beta, barely any code has changed, so it should be safe to use ... =) ] Download: http://prdownloads.sourceforge.net/phpesp/phpESP-1.4beta1.tar.gz If you are using version 1.3, you can just replace the existing files with these (and edit paths/config if necessary). If you are using a version previous to v1.3 RC1, I suggest installing this in a separate location, with a new database. Please see the SourceForge site for more information. -James |
From: Bernhard A. <alb...@ch...> - 2002-03-03 17:35:57
|
Hi, I'm having problems getting the translations to work. I read the previous messages regarding this, but still didn't succeed. I use the german translation file out of CVS- Except for the phpESP.ini File(once again out of CVS, referenced in a previous post), I use the standard 1.3 package. System is Debian/sid, apache 1.3.23, php 4.1.2 . The previously posted code tells me that gettext is loaded and safe_mode turned off. any help is appreciated(do i have to change the charset or something?) thanks Bernhard output of the php debug ESPCONFIG name phpESP include_path /usr/local/lib/php/contrib/phpESP/admin/include/ extension .inc image_path http://hostname/phpESP/images/ handler /usr/local/lib/php/contrib/phpESP/public/handler.php handler_prefix /usr/local/lib/php/contrib/phpESP/public/handler-prefix.php db_host localhost db_user phpESP db_pass XXX db_name phpESP cf_charset ISO-8859-1 --snip-- HTTP_SERVER_VARS HTTP_ACCEPT */* HTTP_ACCEPT_ENCODING gzip, deflate HTTP_ACCEPT_LANGUAGE de |
From: James E. F. <jf...@ac...> - 2002-03-03 12:01:08
|
Yes I saw that on the demo site, and tried it, and everything worked fine. Let me ask you again, what you would consider "working" for "percentages and totals"? With check boxes the results show you this: how many people checked each box. So say 10 people take the survey and 8 check "choice 1" (meaning 2 didn't), then 80% chose choice 1, and the results show "80% (8)". Each "choice" is calculated the same way. It's been like that since version 1.0 and no one has said they are incorrect yet. So I can only imagine that you have a different idea of what "working" is for them ... so what is it? -James On Sat, 2 Mar 2002, me@shaw wrote: > Hi > I'm trying to use check boxes for a list of choices instead of radio > buttons. The check boxes allow choosing more than 1 answer, which I need, > but don't show correct percentages or totals when you do. I tried it on the > demo site and it's called "check_boxes"..you'll see the missing total and > the incorrect percentages. Is there a way to permit mulltiple choices for > one question? > > > -----Original Message----- > From: James E. Flemer [mailto:jf...@ac...] > Sent: Saturday, March 02, 2002 8:39 AM > To: me@shaw > Cc: php...@li... > Subject: Re: [phpesp-general] Check boxes don't seem to work on Demo > site either > > > Please explain. Check boxes work just fine for me on the > demo site? How "don't they work"? Tell me what you would > consider "working" for "percentages and totals", and tell > me how what you see is different. > -James > > On Sat, 2 Mar 2002, me@shaw wrote: > > > Hi > > I can't seem to get the percentages and totals working on my site but I > use > > mostly check boxes. I went back and I noticed the check boxes don't work > on > > the demo site as well. Is this anything anyone else encountered or do we > > just not use certain question types? > > Thanx > > > > > > > > _______________________________________________ > > phpESP-general mailing list > > php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpesp-general > > > > > |
From: James E. F. <jf...@ac...> - 2002-03-02 16:38:42
|
Please explain. Check boxes work just fine for me on the demo site? How "don't they work"? Tell me what you would consider "working" for "percentages and totals", and tell me how what you see is different. -James On Sat, 2 Mar 2002, me@shaw wrote: > Hi > I can't seem to get the percentages and totals working on my site but I use > mostly check boxes. I went back and I noticed the check boxes don't work on > the demo site as well. Is this anything anyone else encountered or do we > just not use certain question types? > Thanx > > > > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general > |
From: <me...@sh...> - 2002-03-02 16:22:14
|
Hi I can't seem to get the percentages and totals working on my site but I use mostly check boxes. I went back and I noticed the check boxes don't work on the demo site as well. Is this anything anyone else encountered or do we just not use certain question types? Thanx |
From: <me...@sh...> - 2002-03-01 17:23:42
|
Hi Sean I don't understand what you mean. I have a sample survey online with 3 or 4 questions and I answer them to check the results. The results show the responses incrementing but there are no totals and the percentages are all out whack. Could you please explain further Much obliged for your kind response Len PS I haven't figured out how to respond to a thread yet |
From: Sean M A. <sea...@gr...> - 2002-03-01 15:28:09
|
This means you have survey participants who did not answer the question. On Thu, 2002-02-28 at 18:19, me@shaw wrote: > Hi > I seem to be missing totals on my results and my percentages don't add up to > %100. Any one offer any advice > Thanks > > > > > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general > -- Sean M. Alderman ITRACK Systems Analyst PACE/NCI - NASA Glenn Research Center (216) 433-2795 Calling a windowed operating system "Windows" is like naming an automobile "Wheels." |
From: <me...@sh...> - 2002-02-28 23:20:47
|
Hi I seem to be missing totals on my results and my percentages don't add up to %100. Any one offer any advice Thanks |
From: ACA C. D. <com...@ca...> - 2002-02-28 03:58:50
|
James, I just did as you suggested below and I too am still getting the same errors as quoted below for the checkboxes. HELP! Thanks, RICHARD =============================================== There were a few issues with PHP 4.1.1, try using the source from CVS and see if that fixes your problems. http://sourceforge.net/cvs/?group_id=8956 -James On Mon, 25 Feb 2002, James O'Malley wrote: > I get this error whenever there are checkboxes in a survey. This error is > returned for each checkbox array. > > Invalid argument supplied for foreach() in > /usr/local/lib/php/contrib/phpESP/admin/include/lib/espresponse.inc on > line 159 > Code in question is: > > foreach($val as $cid) { > > My PHP version is 4.1.1 > > I stuck stuck in an echo statement to see if for some reason either one of > those variables was empty, and no, $val is an array with values, and $cid is > not empty. > > Is there some issue between this version of php and phpESP? > > |
From: <fl...@we...> - 2002-02-27 11:41:50
|
aGVsbG8hDQp0aGVyZSBpcyBzb21ldGhpbmcgaSByZWFsbHkgZG9utHQgdW5kZXJzdGFuZCB3aXRo IHBocEVTUA0KDQpsb2dnZWQgaW4gYXMgcm9vdC9zdXBlcmFkbWluIHRoZXJlIGlzIG1pc3Npbmcg YSBmZWF0dXJlIGkgdGhpbmshPzoNCmkgY3JlYXRlIGEgc3VydmV5IGJ1dCBpdHMgZ2V0IHRoZSBv d25lciByaWdodHMgb2Ygcm9vdCENCmlmIGkgZG8gYSBzdXJ2ZXkgZm9yIGEgZGVzaWduZXIsIHRl bXBsYXRlcyBldGMuLCBkZXNpZ25lcnMgd2lsbCBub3Qgc2VlIHRoZW0gdG8gdXNlIHRoZW0uLi5z byBtYXliZSB0aGUgcmVzcmljdGlvbiBpcyBtYWRlIHRvbyBoYXJkIG9yIHJvb3QtdXNlciBuZWVk cyBhbiBvcHRpb24gdG8gc2V0IHdobyB3aWxsIGJlIHRoZSBvd25lciBmb3IgdGhlIHN1cnZleQ0K DQpzYW1lIHdpdGggcmVzcG9uZGVudHMgb3B0aW9ucw0KaWYgZGVzaWduZXIgY2FuIGNyZWF0ZSBy ZXNwb25kZXJzIGhlIGhhcyBubyBvcHRpb24gdGhlIGNob29zZSBhIGdyb3VwIG9yIGZvciB0aGF0 IGdyb3VwIGhlIGlzIGFsbG93ZWQgdG8gY3JlYXRlIGEgbmV3IHJlc3BvbmRlbnRzLi4uDQoNCmFz IHdlbGwgZGVzaWduZXIgY2FuIG5vdCBsaW1pdCBvciBjaGFuZ2UgdGhlICAiU3VydmV5IEFjY2Vz cyIgdGhvdWdodCBoZSBpcyBhbGxvd2VkIHRvDQoNCm1heWJlIHRvIGZpeCBpdCBpcyBqdXN0IHRv IHNldCB0aGUgZ3JvdXAgaW4gd2hpY2ggdGhlIGRlc2lnbmVyIGlzLi5iZWNhdXNlIGl0IHNlZW1z IGl0IGlzIG5vdCBrbm93biBieSB0aGUgc3lzdGVtIHdoZW4gZGVzaWduZXIgbG9nZWQgaW4gYnV0 IGm0bSBub3Qgc3VyZSENCg0KYW20aW0gd3Jvbmcgb3IgaXMgaXQgYSBzZXJ2ZXIvcGhwLXZlcnNp b24gc3BlY2lmaWcgbWlzc3Rha2UhPyB1c2luZyA6DQpBcGFjaGUvMS4zLjIwIFN1biBDb2JhbHQg KFVuaXgpIG1vZF9zc2wvMi44LjQgT3BlblNTTC8wLjkuNmIgUEhQLzQuMC40cGwxIG1vZF9wZXJs LzEuMjUNCg0Ka2luZCByZWdhcmRzDQpmbG9iZWUNCg== |
From: Jason P. <ja...@jo...> - 2002-02-26 13:49:06
|
Well, if I were using the software for a "survey", per se, then I would agree. However, I'm using the software to build quick survey-like forms that users fill out qualification questions that may change over time. We don't really care about the scientific plausibility of the survey, just to associate the "meta data" that the "survey" collects with users in a separate database. Example Question: "What technology are you intending to purchase within the next 12 months?" [] Technology A [] Technology B [] Technology C Later on, let's say "Technology B" is outdated and needs to be removed. Or a new Technology (D) becomes available and we would like to poll for it. Perhaps this isn't the intended use for the software. ;) I got a similar off-line response from someone else and it has gotten me to think about the whole process... now if I can only show the Boss the way. ;) Thanks, Jason PS: Thanks for building this software - it's really cool! If memory serves me right, on Tuesday 26 February 2002 01:44, James E. Flemer wrote: > So what happens if you activate a survey, some people take > it, and then say you change an option on a dropdown list? > The people who've taken it already have their responses > saved in the database, keyed to the first set of options. > Then some more people take the survey, and their responses > get saved in the database, using the same keys -- but > corresponding to different values. > > What good is a survey, if you don't know what the > respondant filled out!? > > The "recomended" way to handle the situation is the > following... > > First, be more careful. The "test" feature is there so that > you can say, "Hey Boss, this is what our survey is going to > look like, what do you think?". > > Second, if you do Activate a survey then need to change it, > do the following. > > 1) End the first as quickly as possible. > 2) Copy it. > 3) Edit the copy. > 4) Activate the copy, and put it up in place of the > original. > > Yes, this way you lose any responses from before you ended > the first one, but at least your data is consistent for > both (the old and new) copies. > > If you *really* need to edit active surveys, then feel free > to add all the necessary checking to make sure that you do > not muck up key-value pairs ... but don't ask me to do it. > It is not trivial, and I certainly don't have time to do it > (for free). > > -James > > On Tue, 26 Feb 2002, Richard M. Pavonarius wrote: > > I second that motion. I activated a survey a few hours ago and just > > realized I forgot to polish up the confirmation page. Too late now. I'm > > just glad I didn't put something like "Thanks, pinhead." as a temporary > > filler. > > > > Rich > > > > At 15:10 02/02/25 -0500, you wrote: > > >I noticed that I could update values in the survey table to reset the > > > values for title and info, as well as update required in the questions > > > table, all of which would make the small necessary changes that were > > > needed. > > > > > >My manager wants to also be able to add/delete answers to > > > multiple-choice questions - is this possible also through updating the > > > database & SQL? What impact will that have? > > > > > >I added a feature request on Sourceforge to support editing surveys, > > > even after they're Active ... I don't understand why the state of the > > > surveys are so strict or uni-directional. > > > > > >Jason > > > > > >_______________________________________________ > > >phpESP-general mailing list > > >php...@li... > > >https://lists.sourceforge.net/lists/listinfo/phpesp-general > > > > _______________________________________________ > > phpESP-general mailing list > > php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpesp-general |
From: James E. F. <jf...@ac...> - 2002-02-26 06:59:45
|
On Mon, 25 Feb 2002, Dan Wick wrote: > I think I follow you, but I'm not completely sure. This is what I > uncommented and now i receive a 500 Internal Server Error: > > The Apache error log says this about the error: > > "malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: > c:/php/php.exe" Now you've got a whole new problem. =) Is there anyway you can try using the "server API version for Apache", rather than the "CGI version"? I don't use windows, so you'll have to consult php.net/apache.org for how to do that. I think that that will take care of the problems with sending HTTP from PHP. -James |
From: James E. F. <jf...@ac...> - 2002-02-26 06:51:15
|
There were a few issues with PHP 4.1.1, try using the source from CVS and see if that fixes your problems. http://sourceforge.net/cvs/?group_id=8956 -James On Mon, 25 Feb 2002, James O'Malley wrote: > I get this error whenever there are checkboxes in a survey. This error is > returned for each checkbox array. > > Invalid argument supplied for foreach() in > /usr/local/lib/php/contrib/phpESP/admin/include/lib/espresponse.inc on > line 159 > Code in question is: > > foreach($val as $cid) { > > My PHP version is 4.1.1 > > I stuck stuck in an echo statement to see if for some reason either one of > those variables was empty, and no, $val is an array with values, and $cid is > not empty. > > Is there some issue between this version of php and phpESP? > > |
From: James E. F. <jf...@ac...> - 2002-02-26 06:44:09
|
So what happens if you activate a survey, some people take it, and then say you change an option on a dropdown list? The people who've taken it already have their responses saved in the database, keyed to the first set of options. Then some more people take the survey, and their responses get saved in the database, using the same keys -- but corresponding to different values. What good is a survey, if you don't know what the respondant filled out!? The "recomended" way to handle the situation is the following... First, be more careful. The "test" feature is there so that you can say, "Hey Boss, this is what our survey is going to look like, what do you think?". Second, if you do Activate a survey then need to change it, do the following. 1) End the first as quickly as possible. 2) Copy it. 3) Edit the copy. 4) Activate the copy, and put it up in place of the original. Yes, this way you lose any responses from before you ended the first one, but at least your data is consistent for both (the old and new) copies. If you *really* need to edit active surveys, then feel free to add all the necessary checking to make sure that you do not muck up key-value pairs ... but don't ask me to do it. It is not trivial, and I certainly don't have time to do it (for free). -James On Tue, 26 Feb 2002, Richard M. Pavonarius wrote: > I second that motion. I activated a survey a few hours ago and just > realized I forgot to polish up the confirmation page. Too late now. I'm > just glad I didn't put something like "Thanks, pinhead." as a temporary filler. > > Rich > > At 15:10 02/02/25 -0500, you wrote: > >I noticed that I could update values in the survey table to reset the values > >for title and info, as well as update required in the questions table, all of > >which would make the small necessary changes that were needed. > > > >My manager wants to also be able to add/delete answers to multiple-choice > >questions - is this possible also through updating the database & SQL? What > >impact will that have? > > > >I added a feature request on Sourceforge to support editing surveys, even > >after they're Active ... I don't understand why the state of the surveys are > >so strict or uni-directional. > > > >Jason > > > >_______________________________________________ > >phpESP-general mailing list > >php...@li... > >https://lists.sourceforge.net/lists/listinfo/phpesp-general > > > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general > |
From: Richard M. P. <ri...@pa...> - 2002-02-26 06:24:05
|
I second that motion. I activated a survey a few hours ago and just realized I forgot to polish up the confirmation page. Too late now. I'm just glad I didn't put something like "Thanks, pinhead." as a temporary filler. Rich At 15:10 02/02/25 -0500, you wrote: >I noticed that I could update values in the survey table to reset the values >for title and info, as well as update required in the questions table, all of >which would make the small necessary changes that were needed. > >My manager wants to also be able to add/delete answers to multiple-choice >questions - is this possible also through updating the database & SQL? What >impact will that have? > >I added a feature request on Sourceforge to support editing surveys, even >after they're Active ... I don't understand why the state of the surveys are >so strict or uni-directional. > >Jason > >_______________________________________________ >phpESP-general mailing list >php...@li... >https://lists.sourceforge.net/lists/listinfo/phpesp-general |
From: James O'M. <ja...@pa...> - 2002-02-25 20:18:34
|
I get this error whenever there are checkboxes in a survey. This error is returned for each checkbox array. Invalid argument supplied for foreach() in /usr/local/lib/php/contrib/phpESP/admin/include/lib/espresponse.inc on line 159 Code in question is: foreach($val as $cid) { My PHP version is 4.1.1 I stuck stuck in an echo statement to see if for some reason either one of those variables was empty, and no, $val is an array with values, and $cid is not empty. Is there some issue between this version of php and phpESP? -- _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ James O'Malley Altamente.com +1(787)296-1540 _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ |
From: Jason P. <ja...@jo...> - 2002-02-25 20:09:06
|
I noticed that I could update values in the survey table to reset the values for title and info, as well as update required in the questions table, all of which would make the small necessary changes that were needed. My manager wants to also be able to add/delete answers to multiple-choice questions - is this possible also through updating the database & SQL? What impact will that have? I added a feature request on Sourceforge to support editing surveys, even after they're Active ... I don't understand why the state of the surveys are so strict or uni-directional. Jason |
From: Dan W. <wi...@vi...> - 2002-02-25 19:08:32
|
I think I follow you, but I'm not completely sure. This is what I uncommented and now i receive a 500 Internal Server Error: //if(!ini_get('safe_mode') && // (extension_loaded('gettext') || @dl('gettext.so'))) { // if(!empty($HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'])) { // $langs = split(" *, *", $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE']); // foreach($langs as $lang) { // $lang = quotemeta($lang); // if(file_exists("$locale_path/$lang")) { // break; // } // } // } // putenv("LC_ALL=$lang"); // bindtextdomain('messages', $locale_path); // textdomain('messages'); //} else if(!defined('_GETTEXT')) { define('_GETTEXT',TRUE); function _($s) {return($s);} function bindtextdomain($s) {} function textdomain($s) {} //} The Apache error log says this about the error: "malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: c:/php/php.exe" On Mon, 25 Feb 2002, Dan Wick wrote: > I have installed Apache now instead of using PWS. I also commented out the > GetText functions, which were giving me Internal Server errors within > Apache. Now I am getting the following error: > > Fatal error: Call to undefined function: _() in /Program Files/Apache > Group/Apache/htdocs/phpESP/admin/phpESP.ini on line 94 Hehe ... you commented out too much. :-) Uncomment the "else" clause of the section you commented. Where it says (something like): function _($s) { return($s); } ... function bindto...() {...} -James > > This is Line 94: > 'thank_head' => _('Thank You For Completing This Survey.'), > 'thank_body' => _('Please do not use the back button on your browser to go > back. Please click on the link below to return you to where > you launched this survey.'), > > I tried commenting that out as well, but it then it finds another undefined > function: > > Fatal error: Call to undefined function: _() in /Program Files/Apache > Group/Apache/htdocs/phpESP/admin/include//lib/espauth.inc on line 155 > > It keeps giving me "undefined function" errors. > > Is there anything I can do? > > > On Sun, 24 Feb 2002, Dan Wick wrote: > > > I am getting a blank page when I load the 'manage.php' > > file. I think the problem is in my phpesp.ini file. > > First, I have absolutly no expirience with PWS (Personal > Web Server?)... However, it is in the same family as IIS, > and there are known problems with PHP and IIS. I don't want > to spend too much time trying to figure this out, since it > is probably a PHP issue, not a phpESP issue. Having said > that ... Could you try using Apache for Win32 and see if > you have better luck? > > To figure out what PWS is doing ... first find it's log > files (hopefully there are some), and see if there is > anything reported there. Do other PHP scripts work? Like: > <?php echo("It works.") ?> > > Typically, in my expirience, when a page is completely > blank (even in "view source") it is because the server > crashed trying to serve the page. > > > I am not sure if I am specifying the paths for the > > location of the database and root directories correctly > > in the phpesp.ini. Here's how I'm currently doing it: > > > > $locale_path = 'c:/Inetpub/scripts/phpESP/'; > > 'include_path' => 'c:/Inetpub/scripts/phpESP/admin/include/', > > 'handler' => 'c:/Inetpub/scripts/phpESP/public/handler.php', > > 'handler_prefix' => 'c:/Inetpub/scripts/phpESP/public/handler-prefix.php', > > Looks fine to me. > > > Also, there is a call for a CSS in the .ini file. Do > > you have to have a CSS file set up? > > Nope ... It's probably better to just use CSS in the > template (where you embed the survey). > > > I am running PWS on Windows 98 (yeah yeah, I know I > > should install Unix. I'm going to but I am stuck > > developing on this laptop for the time being.) I have > > PHP 4 installed with the MySQL extension. > > > > I am really stuck and do not know what to try next > > because the page is just blank and there's nothing in > > the source. I've read the posts about blank pages > > posted in January and they didn't seem to solve my > > problem. > > One other thought... The script tries to > dynamically load the "gettext" extension if it is not > loaded. If the server is crashing, it's probably here, > comment out the related lines in phpESP.ini. > > -James > > > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general > > > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general > |
From: James E. F. <jf...@ac...> - 2002-02-25 18:46:32
|
On Mon, 25 Feb 2002, Dan Wick wrote: > I have installed Apache now instead of using PWS. I also commented out the > GetText functions, which were giving me Internal Server errors within > Apache. Now I am getting the following error: > > Fatal error: Call to undefined function: _() in /Program Files/Apache > Group/Apache/htdocs/phpESP/admin/phpESP.ini on line 94 Hehe ... you commented out too much. :-) Uncomment the "else" clause of the section you commented. Where it says (something like): function _($s) { return($s); } ... function bindto...() {...} -James > > This is Line 94: > 'thank_head' => _('Thank You For Completing This Survey.'), > 'thank_body' => _('Please do not use the back button on your browser to go > back. Please click on the link below to return you to where > you launched this survey.'), > > I tried commenting that out as well, but it then it finds another undefined > function: > > Fatal error: Call to undefined function: _() in /Program Files/Apache > Group/Apache/htdocs/phpESP/admin/include//lib/espauth.inc on line 155 > > It keeps giving me "undefined function" errors. > > Is there anything I can do? > > > On Sun, 24 Feb 2002, Dan Wick wrote: > > > I am getting a blank page when I load the 'manage.php' > > file. I think the problem is in my phpesp.ini file. > > First, I have absolutly no expirience with PWS (Personal > Web Server?)... However, it is in the same family as IIS, > and there are known problems with PHP and IIS. I don't want > to spend too much time trying to figure this out, since it > is probably a PHP issue, not a phpESP issue. Having said > that ... Could you try using Apache for Win32 and see if > you have better luck? > > To figure out what PWS is doing ... first find it's log > files (hopefully there are some), and see if there is > anything reported there. Do other PHP scripts work? Like: > <?php echo("It works.") ?> > > Typically, in my expirience, when a page is completely > blank (even in "view source") it is because the server > crashed trying to serve the page. > > > I am not sure if I am specifying the paths for the > > location of the database and root directories correctly > > in the phpesp.ini. Here's how I'm currently doing it: > > > > $locale_path = 'c:/Inetpub/scripts/phpESP/'; > > 'include_path' => 'c:/Inetpub/scripts/phpESP/admin/include/', > > 'handler' => 'c:/Inetpub/scripts/phpESP/public/handler.php', > > 'handler_prefix' => 'c:/Inetpub/scripts/phpESP/public/handler-prefix.php', > > Looks fine to me. > > > Also, there is a call for a CSS in the .ini file. Do > > you have to have a CSS file set up? > > Nope ... It's probably better to just use CSS in the > template (where you embed the survey). > > > I am running PWS on Windows 98 (yeah yeah, I know I > > should install Unix. I'm going to but I am stuck > > developing on this laptop for the time being.) I have > > PHP 4 installed with the MySQL extension. > > > > I am really stuck and do not know what to try next > > because the page is just blank and there's nothing in > > the source. I've read the posts about blank pages > > posted in January and they didn't seem to solve my > > problem. > > One other thought... The script tries to > dynamically load the "gettext" extension if it is not > loaded. If the server is crashing, it's probably here, > comment out the related lines in phpESP.ini. > > -James > > > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general > > > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general > |
From: Dan W. <wi...@vi...> - 2002-02-25 18:20:18
|
I have installed Apache now instead of using PWS. I also commented out the GetText functions, which were giving me Internal Server errors within Apache. Now I am getting the following error: Fatal error: Call to undefined function: _() in /Program Files/Apache Group/Apache/htdocs/phpESP/admin/phpESP.ini on line 94 This is Line 94: 'thank_head' => _('Thank You For Completing This Survey.'), 'thank_body' => _('Please do not use the back button on your browser to go back. Please click on the link below to return you to where you launched this survey.'), I tried commenting that out as well, but it then it finds another undefined function: Fatal error: Call to undefined function: _() in /Program Files/Apache Group/Apache/htdocs/phpESP/admin/include//lib/espauth.inc on line 155 It keeps giving me "undefined function" errors. Is there anything I can do? On Sun, 24 Feb 2002, Dan Wick wrote: > I am getting a blank page when I load the 'manage.php' > file. I think the problem is in my phpesp.ini file. First, I have absolutly no expirience with PWS (Personal Web Server?)... However, it is in the same family as IIS, and there are known problems with PHP and IIS. I don't want to spend too much time trying to figure this out, since it is probably a PHP issue, not a phpESP issue. Having said that ... Could you try using Apache for Win32 and see if you have better luck? To figure out what PWS is doing ... first find it's log files (hopefully there are some), and see if there is anything reported there. Do other PHP scripts work? Like: <?php echo("It works.") ?> Typically, in my expirience, when a page is completely blank (even in "view source") it is because the server crashed trying to serve the page. > I am not sure if I am specifying the paths for the > location of the database and root directories correctly > in the phpesp.ini. Here's how I'm currently doing it: > > $locale_path = 'c:/Inetpub/scripts/phpESP/'; > 'include_path' => 'c:/Inetpub/scripts/phpESP/admin/include/', > 'handler' => 'c:/Inetpub/scripts/phpESP/public/handler.php', > 'handler_prefix' => 'c:/Inetpub/scripts/phpESP/public/handler-prefix.php', Looks fine to me. > Also, there is a call for a CSS in the .ini file. Do > you have to have a CSS file set up? Nope ... It's probably better to just use CSS in the template (where you embed the survey). > I am running PWS on Windows 98 (yeah yeah, I know I > should install Unix. I'm going to but I am stuck > developing on this laptop for the time being.) I have > PHP 4 installed with the MySQL extension. > > I am really stuck and do not know what to try next > because the page is just blank and there's nothing in > the source. I've read the posts about blank pages > posted in January and they didn't seem to solve my > problem. One other thought... The script tries to dynamically load the "gettext" extension if it is not loaded. If the server is crashing, it's probably here, comment out the related lines in phpESP.ini. -James _______________________________________________ phpESP-general mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/phpesp-general |
From: James E. F. <jf...@ac...> - 2002-02-25 05:49:07
|
On Sun, 24 Feb 2002, Don Sligar wrote: > You are correct! It is not in the table. I browsed for the phpESP.sql > file in phpmyadmin and created the tables. I just looked at the sql > file and it does not have the rating in it either. Did I have an old > sql? If so what can I add to the table to get the correct data? Or do > I have to start all over? Nope. You had a current SQL file (did you read to the bottom?), but phpmyadmin must be broken ... it missed the last 4 lines of the script. Just execute the following four statements by hand: INSERT INTO question_type VALUES ('8','Rate (scale 1..5)','Y','response_rank'); INSERT INTO question_type VALUES ('9','Date','N','response_date'); INSERT INTO question_type VALUES ('10','Numeric','N','response_text'); INSERT INTO question_type VALUES ('99','Page Break','N',''); -James On Sun, 24 Feb 2002, Don Sligar wrote: > I am still trying to figure out how to use the rating option for > questions. Does anyone know? Please excuse this second post > request, but I have noted someone else asking too. I have tried to > update manage.php and phpESP.ini from the CVS and could not get it > to show up on the drop down menu in administration when creating > a survey. The demo shows it works fine. Please help. |