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-02-25 05:27:59
|
Indeed. How did you import the SQL tables? Could you check the 'question_type' table in the database directly and see if Rate is in there? (I bet it's not ...) SELECT * FROM question_type; -James On Sun, 24 Feb 2002, Don Sligar wrote: > Thanks for the quick response. I am running 1.3...at least that is what > the tarball said. You can take a look at > http://-----snip-----/phpESP/admin/index.php Go ahead and use > usr=----- and pwd=----- to get in to look and see. I am not getting the > drop down that says Rate or Rating 1..5. You look would be greatly > appreciated. > > Don > > -----Original Message----- > From: James E. Flemer [mailto:jf...@ac...] > Sent: Sunday, February 24, 2002 9:05 PM > To: Don Sligar > Cc: php...@li...; lw...@sh... > Subject: Re: [phpesp-general] Rating ability > > > 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. > > I am not sure -- there shouldn't be anything that you have > to do to ``enable'' these options. The ``Rating'' question > type is deprecated, it was replaced by ``Rate (scale > 1..5)'' a few releases ago. The demo is running the current code from > CVS (i.e. post v1.3 release), however the Rate type is available in > v1.3. You are both using v1.3 I assume? > > Could either of you having problems with this, send me a > URL (to me, not the list) which shows this behavior? > > -James > |
From: James E. F. <jf...@ac...> - 2002-02-25 05:15:34
|
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 |
From: James E. F. <jf...@ac...> - 2002-02-25 05:05:16
|
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. I am not sure -- there shouldn't be anything that you have to do to ``enable'' these options. The ``Rating'' question type is deprecated, it was replaced by ``Rate (scale 1..5)'' a few releases ago. The demo is running the current code from CVS (i.e. post v1.3 release), however the Rate type is available in v1.3. You are both using v1.3 I assume? Could either of you having problems with this, send me a URL (to me, not the list) which shows this behavior? -James |
From: Don S. <sl...@at...> - 2002-02-25 04:56:15
|
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. Don Sligar sl...@at... |
From: Dan W. <Wi...@ma...> - 2002-02-25 02:09:22
|
I am getting a blank page when I load the 'manage.php' file. I think the problem is in my phpesp.ini file. 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', I believe this is the right way of phrasing the locations because manage.php finds the phpesp.ini using the same method. Is there something I'm missing? Also, there is a call for a CSS in the .ini file. Do you have to have a CSS file set up? 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. Thanks in advance. |
From: James E. F. <jf...@ac...> - 2002-02-24 15:57:24
|
On Sun, 24 Feb 2002, Wouter van Gils wrote: > Sorry to bother everyone again with the language thing, but it > appears not to be working correct. > > I've downloaden the latest version, did all the readme stuff, > added an other language (mo + po files) and loaded the admin page > --> it worked, everything was in Dutch :) > > Then, I clicked on 'Maak een vragenlijst' (create survey), and > everything turned back to English.... :( what happened. Even > after a few reloads, I still get only English, no Dutch will > appear, no matter what I try... > > Has anybody got suggestions on how to fix this... the gettext is > working fine on my box. > > Apache/1.3.9 (Unix) Debian/GNU > PHP Version 4.0.3pl1 > Linux 2.2.20 > > ps: same errors on php 4.1.1 Try enabling DEBUG (in the phpesp.ini). Then on the page where it switches back to english click on the debug button (in the upper left of the page). Look to see what "lang" is set to under "ESPCONFIG", look at "HTTP_ACCEPT_LANGUAGE" under "HTTP_SERVER_VARS", also note the "SID" (first thing on the page). Compare these values to the same ones on the main page (or some other that is in Dutch). I cannot reproduce the problem. It stays in Dutch for me. Please email me off-list with the mentioned debug items (once on a page that works, and once on a page that doesn't), as well as the browser you are using. -James |
From: Wouter v. G. <wo...@th...> - 2002-02-24 15:19:40
|
Sorry to bother everyone again with the language thing, but it appears not to be working correct. I've downloaden the latest version, did all the readme stuff, added an other language (mo + po files) and loaded the admin page --> it worked, everything was in Dutch :) Then, I clicked on 'Maak een vragenlijst' (create survey), and everything turned back to English.... :( what happened. Even after a few reloads, I still get only English, no Dutch will appear, no matter what I try... Has anybody got suggestions on how to fix this... the gettext is working fine on my box. Apache/1.3.9 (Unix) Debian/GNU PHP Version 4.0.3pl1 Linux 2.2.20 ps: same errors on php 4.1.1 - Wouter -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Wouter van Gils -=- wo...@th... http://the-construct.cx/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
From: <fl...@we...> - 2002-02-23 22:13:19
|
aGVsbG8hDQp3ZWxsIGluIG5lZWQgb2YgZ2V0dGluZyBhIGxvdCBvZiB1c2VycyB0byB0aGUgcGhw RVNQIGRhdGFiYXNlIGFuZCBkb250IHdhbnQgdG8gc2V0IHRoZW0gYnkgbXkgc2VsZi4uLi4NCmhl cmUgaXMgYW4gc2luZ2xlLCBzdGFuZC1hbmxvbmUgc3lzdGVtISAoZXZlbiB3aGVuIGkgcmVhZCBp biB0aGlzIG1haWxpbmdsaXN0Li4uIDIwLjAwMCBzdHVkYW50cy4uIDotKSApDQp5b3UgY2FuIHJl YWQgYW5kIGRvd25sb2FkIGl0IGhlcmU6DQpodHRwOi8vd3d3LmNnaXguZGUvdXNlci91bmktYXJ0 aXN0cy9wb3J0YWwvc2Rvd25sb2FkLnBocD9vcD1nZW5pbmZvJmRpZD0yMQ0KDQpiZWxvdyBpbiB0 aGlzIGVtYWlsIHRoZXJlIGlzIGEgbGl0dGxlIGluZm8gZnJvbSBKYW1lcyBiZWNhdXNlIGm0bSBh IHBocC1jb2RlIGJlZ2lubmVyIGFuZCB3YW50ZWQgdG8gbWFrZSBzdXJlIHRoYXQgd2l0aCB0aGlz IGZpbGUgaXMgbm8gYmlnIHNlY3VyZWhvbGUhDQoNCmFzIHdlbGwgaSBoYXZlIGEgZ2VuZXJhbCBy ZXF1ZXN0IGlmIHRoZXJlIGlzIHNvbWVib2R5IG91dCB0aGVyZSB3aG8gaGFzIGJ1aWxkIHNvbWUg b3RoZXIgaGFja3Mgb3Igc3RhbmRhbG9uZSBzeXN0ZW1zIGZvciBwaHBFU1AuIG1heWJlIHlvdSBo YXZlIGEgZm9ydW0gd2hlcmUgY2FuIHBlb3BsZSBkaXNjdXNzLi4uLiE/DQoNCmkgdGhpbmsgdGhl cmUgaXMgYSBiaWcgbmVlZCBmb3IgYSBmb3J1bSBhbmQgcGVvcGxlIGxpa2UgbWUgLCB3aG8gd2Fu dCB0byBkbyBtb3JlIGZvciB0aGlzIGdyZWF0IHNjcmlwdCEhISBtYXliZSB0aGVyZSBpcyBhIGNo YW5jZSAhPyANCg0Ka2luZCByZWdhcmRzDQpmbG9iZWUNCg0KDQotLS0tLSBPcmlnaW5hbCBNZXNz YWdlIC0tLS0tIA0KRnJvbTogIkphbWVzIEUuIEZsZW1lciIgPGpmbGVtZXJAYWNtLmpodS5lZHU+ DQpUbzogPGZsby5iZWVAd2ViLmRlPg0KU2VudDogRnJpZGF5LCBGZWJydWFyeSAyMiwgMjAwMiA0 OjAxIFBNDQpTdWJqZWN0OiBSZTogc3Vic2NyaWJlIHBocEVTUD8NCg0KDQo+IGlmIHlvdSBjYW4g bGV0IG1lIGtub3cgaWYgdGhlcmUgaXMgbm8gc2VjdXJlIGhvbGUgc28NCj4gdGhhdCBvdGhlciBj YW4gbm90IGRhbWFnZSB0aGUgZGF0YWJhc2UgdGhlbiBpIHdpbGwNCj4gb2ZmZXIgaXQgZm9yIGV2 ZXJ5Ym9keSEhISAuLiBpIGhlYXJkIHRoYXQgdGhlcmUgYXJlDQo+IGFsb3Qgb2YgcG9zc2liaWx5 dGllcyB3aXRoIHBocCB0byBnZXQgc2VjdXJlDQo+IGluZm9ybWF0aW9ucyENCg0KSXQgaXMgc2Vj dXJlIHRvIHRoZSBiZXN0IG9mIG15IGtub3dsZWRnZSAtLSBhcyBsb25nIGFzIHlvdQ0KaGF2ZSBh bGwgc291cmNlIGZpbGVzIG91dHNpZGUgb2YgdGhlICJodGRvY3MiIChkb2N1bWVudA0Kcm9vdCkg b2YgdGhlIHdlYi1zZXJ2ZXIuDQoNCi1KYW1lcw0KX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX18NCnBocEVTUC1nZW5lcmFsIG1haWxpbmcgbGlzdA0KcGhwRVNQ LWdlbmVyYWxAbGlzdHMuc291cmNlZm9yZ2UubmV0DQpodHRwczovL2xpc3RzLnNvdXJjZWZvcmdl Lm5ldC9saXN0cy9saXN0aW5mby9waHBlc3AtZ2VuZXJhbA0KDQo= |
From: <me...@sh...> - 2002-02-23 17:05:56
|
The "Ranking" & "Rating" question type options appear in the script but are not available when constructing questions. Can someone please advise. many thanx |
From: James E. F. <jf...@ac...> - 2002-02-23 02:40:58
|
If you are running phpESP on an ISPs servers and session information gets lost, causing you to not be able to create surveys, read this... ---------- Forwarded message ---------- Date: Thu, 15 Nov 2001 23:46:06 -0500 (EST) From: James E. Flemer <jf...@ac...> To: Christian Subject: RE: phpESP I think I've figured out the problem Christian. I don't know if it still applies to you or not tho. :-) I was setting up a demo on sourceforge and had very similar problems to the ones you described. It seems that since SF uses a load balancer on a server farm, that session information was not being passes around between them. I would guess now, that your problem was due to the session files being lost somehow. There is a php function: session_save_path("path"); which tells PHP where to put the session files. You could try setting the path to some specific location for phpESP, by adding a line like this above the "session_start();" line in admin/manage.php: session_save_path('/home/groups/p/ph/phpesp/tmp'); That is what I used on SourceForge. You'd need to make some directory somewhere that is readable and writable by the user Apache runs as. |
From: Samuel W. <sam...@st...> - 2002-02-23 02:29:28
|
Hi After installing PHPESP, I log in, have acess to the management menu, changed passwords, logged back in, fine. When I try to make a survey, I fill in the first page and press continue, and get redirected back to that page. If I manually click on the question (fields ) tab, and fill in that, it redirects me back ot the general survey info page, with the question info in the first line of the general survey info... No error messages Anyone hit this before? Sam Running ESP 1.3 BTW |
From: James E. F. <jf...@ac...> - 2002-02-23 01:28:32
|
You imported the SQL tables without error? Were you prompted for a username and password before you got the 401, if so did you log in with root/esp? You shouldn't need root access to install... -James On Sat, 23 Feb 2002, Samuel Wright wrote: > Do you need root acess to install this? > > I get this error message > > 401 Unauthorized > [ Incorrect User ID or Password, or your account has been disabled. ] > > but I know the db details are ok. Do you need a user acess and an admin > acess? > > Sam |
From: Samuel W. <sam...@st...> - 2002-02-23 00:53:34
|
Do you need root acess to install this? I get this error message 401 Unauthorized [ Incorrect User ID or Password, or your account has been disabled. ] but I know the db details are ok. Do you need a user acess and an admin acess? Sam |
From: Kon A. <ang...@ip...> - 2002-02-22 23:38:27
|
Hi Guys, Has anyone used or figured out the Cross Analysis feature of this product? If so could someone please tell me how I go about using it. Regards Kon <mailto:angekproductions.iprimus.com.au > |
From: Richard M. P. <ri...@pa...> - 2002-02-22 05:33:21
|
Explains in easy-to-understand terms how gettext works with PHP. Only thing it forgets to mention is you have to compile PHP with "--with-gettext" http://zez.org/article/articleview/42/ |
From: James E. F. <jf...@ac...> - 2002-02-21 20:40:45
|
On Thu, 21 Feb 2002, James E. Flemer wrote: > On Thu, 21 Feb 2002, Richard M. Pavonarius wrote: > > > I've installed phpESP on two other machines with no problem. I just > > installed in on the real server and there's a problem. At the top of every > > page I get this: > > > > Parse error: parse error in > > /home/sites/home/web/phpESP/admin/include/lib/esphtml.results.inc on line 238 > > (Line 238 is the last line of the file.) > > > > That file's contents are exactly the same on all three servers. What's > > different is I don't have a root account on the real server so I put phpESP > > in the web directory. All three servers are using php 4.1.1. On the problem > > server, here's how it was compiled: > --snip-- Oops. There were some "short tags" in that file. You can download a fixed revision of the file at: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/phpesp/phpESP/admin/include/lib/esphtml.results.inc?rev=1.5 -James |
From: James E. F. <jf...@ac...> - 2002-02-21 20:38:12
|
> > So everything seems to be allright, but I still see English as the > > primary language and not dutch. The dutch files I use are compiled by > > james and translated by me. I put the files in the > > /usr/local/lib/php/contribh/phpESP/locale/nl/LC_MESSAGES?. In the > > phpESP.ini file i changed $lang= 'en'; into $lang='nl'; the local path > > still says $local_path='/usr/local/lib/php/contrib/phpESP/locale' > > > > Anybody knows a thing to do about this? > > Hehehe... The "default" is not respected. I'll fix this > this afternoon. Here is a fixed phpESP.ini that does respect the default language choice. http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/phpesp/phpESP/admin/phpESP.ini?rev=1.16 -James |
From: James E. F. <jf...@ac...> - 2002-02-21 18:01:27
|
On Thu, 21 Feb 2002, Sipke Overbeeke wrote: > I'm working for a while on the language files. I used the code from > James to see if everything was allright, this is what it said: > safe mode: Off > gettext: loaded > // You may also want to include: browser wants: > rs1_93da007403f;q=0.0,rs2_c4195b7ab95;q=0.0,rs3_4c747e22c6;q=0.0 What is this "rs1_93da007403f;q=0.0 ..."? HTTP_ACCEPT_LANGUAGE should look like: "en-us, nl" > So everything seems to be allright, but I still see English as the > primary language and not dutch. The dutch files I use are compiled by > james and translated by me. I put the files in the > /usr/local/lib/php/contribh/phpESP/locale/nl/LC_MESSAGES?. In the > phpESP.ini file i changed $lang= 'en'; into $lang='nl'; the local path > still says $local_path='/usr/local/lib/php/contrib/phpESP/locale' > > Anybody knows a thing to do about this? Hehehe... The "default" is not respected. I'll fix this this afternoon. -James |
From: Sipke O. <si...@8a...> - 2002-02-21 17:46:35
|
I'm working for a while on the language files. I used the code from James to see if everything was allright, this is what it said: safe mode: Off gettext: loaded // You may also want to include: browser wants: rs1_93da007403f;q=0.0,rs2_c4195b7ab95;q=0.0,rs3_4c747e22c6;q=0.0 So everything seems to be allright, but I still see English as the primary language and not dutch. The dutch files I use are compiled by james and translated by me. I put the files in the /usr/local/lib/php/contribh/phpESP/locale/nl/LC_MESSAGES?. In the phpESP.ini file i changed $lang= 'en'; into $lang='nl'; the local path still says $local_path='/usr/local/lib/php/contrib/phpESP/locale' Anybody knows a thing to do about this? Regards, SIpke |
From: James E. F. <jf...@ac...> - 2002-02-21 16:53:06
|
On Thu, 21 Feb 2002 fl...@we... wrote: > hello! > > has anyone an idea how to get run the trancelation system!? > and how to find out if the lang- file is read by the system or is useing the > "save_mode" !? Please see the message I just posted. > all is finished but is not working! and the links of > http://phpesp.sourceforge.net/internationalization.html or the little info > in the phpesp.ini do not help very much! (i dont understand it actually: * > If it cannot be loaded, define the NOP wrapper.* The NOP wrapper, is this: function _($s) {return($s);} function bindtextdomain($s) {} function textdomain($s) {} Which allows the rest of the script to call the gettext functions, however they only return the original English messages. > as well in > locale/en/LC_MESSAGES/ > i hav a file "messages.mo" wich has intressting signs in it!? do i need it? > on all docs there are no desciptions about this extention *.mo ! The messages.mo is a binary file. It is compiled from messages.po, as described in the GNU Gettext manual: http://www.gnu.org/manual/gettext/html_chapter/gettext_6.html#SEC32 However, if people send me the text translations (messages.mo) I will take care of producing the correct binary form. > as note! version 1.3. has an older lang-file in the tar-ball then the > version you can find here: > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/phpesp/phpESP/loca > le/en/LC_MESSAGES/messages.po?rev=. Yes. I switched to using the "strict" format for the messages file after the 1.3 release. However, if you send me a "messages.po" of either type, I will produce the correct binary form. > hmmm... or is it just becaus the server has php4.0.6 !? the system work > quite good!!? > > wouldn´t it be easier to trancelate the script in this way and in an extra > lang-$lang.php file (could be fine and a place for a FAQ and Guide as well): > define("_YES","Yoo!"); > define("_FAQ","FAQ - Frequently A..... Questions"); > well...i´m not into server side things and qustions about speed and server > performance.....this is a way i know and makes sence to me and makes SAVE > that all lang-versions can run :-) That type of system you describe would be very hard to maintain. The GNU Gettext package is designed to be used in this manner, and lets you maintain as many languages as you want concurrently. This also lets you have people using two different languages simultaneously (as determined by the preferences set in their browser). Take it easy, -James |
From: James E. F. <jf...@ac...> - 2002-02-21 16:41:24
|
In order for gettext to work: 1) safe_mode must Off otherwise environment variables cannot be set 2) gettext must be compiled into PHP *or* PHP must be able to dynamically load the extension You can test the above requirements with this PHP code: <?php echo ("safe mode: " . (ini_get("safe_mode") ? "On" : "Off") . "<br>"); if (!extension_loaded("gettext")) { echo("gettext: not loaded ... trying to load<br>"); dl("gettext.so"); // maybe just "gettext" no "gettext.so" } echo ("gettext: " . (extension_loaded("gettext") ? "loaded" : "not loaded") . "<br>"); ?> // You may also want to include: <?php echo("browser wants: " . $HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'] . "<br>"); ?> phpESP will use the first languge from the "HTTP_ACCEPT_LANGUAGE" string that it finds in the locale path. -James On Thu, 21 Feb 2002, Richard M. Pavonarius wrote: > Me again. > > I'm trying to get "You are missing the following required questions:" to > show up in Japanese. Here's what I did: > > Changed default lang from en to ja in phpESP.ini > copied /locale/en directory to /local/ja > > in locale/ja/LC_MESSAGES/message.po > > Changed header: > > "Project-Id-Version: phpESP-1.3\n" > "POT-Creation-Date: 2001-11-19 21:15-0500\n" > "PO-Revision-Date: 2001-11-19 21:15-0500\n" > "Last-Translator: Richard M. Pavonarius <ri...@pa...>\n" > "Language-Team: ja <ri...@pa...>\n" > "MIME-Version: 1.0\n" > "Content-Type: text/plain\n" > "Content-Transfer-Encoding: euc-jp\n" > > > Added translations like this: > > #: phpESP/admin/include/lib/espresponse.inc:55 > msgid "You are missing the following required questions:" > msgstr "$B2<5-$N9`L\$rF~NO$7$F$/$@$5$$!'(B" > > I didn't translate everything, only a few. > > Created binary messages.mo: > > #msgfmt messages.po -v -o messages.mo > 4 translated messages, 252 untranslated messages. > > Changed Lang pref in my browser to ja just for kicks. > > When I preview a survey being edited or test a survey, the string is still > in English. > > Rich |
From: James E. F. <jf...@ac...> - 2002-02-21 16:30:22
|
On Thu, 21 Feb 2002, Richard M. Pavonarius wrote: > I've installed phpESP on two other machines with no problem. I just > installed in on the real server and there's a problem. At the top of every > page I get this: > > Parse error: parse error in > /home/sites/home/web/phpESP/admin/include/lib/esphtml.results.inc on line 238 > (Line 238 is the last line of the file.) > > That file's contents are exactly the same on all three servers. What's > different is I don't have a root account on the real server so I put phpESP > in the web directory. All three servers are using php 4.1.1. On the problem > server, here's how it was compiled: --snip-- Just for kicks, could you tell me what this php code says when run on each server: <?php echo("prepend: " . ini_get("auto_prepend_file") . "<br>"); echo("append: " . ini_get("auto_append_file") . "<br>"); echo("gettext: " . (extension_loaded("gettext") ? "Yes" : "No") . "<br>"); echo("mysql: " . (extension_loaded("mysql") ? "Yes" : "No") . "<br>"); ?> Also, you could check to make sure all files have unix line breaks (\n) not DOS breaks (\r\n). -James |
From: <me...@sh...> - 2002-02-21 16:24:53
|
Hi All I assume this bit of code for radio buttons displays a radio button and choices to a question in a row (down the screen). How do I change this to display the choices accross the screen. I've been trying to do this for several hours and would be very grateful for any help/direction at all. Many thanx Len <tr> <td><?php echo(mkradio($qid,$choice['id'])); ?></td> <td><?php echo($choice['content']); ?></td> </tr> |
From: <fl...@we...> - 2002-02-21 08:54:53
|
hello! has anyone an idea how to get run the trancelation system!? and how to find out if the lang- file is read by the system or is useing the "save_mode" !? all is finished but is not working! and the links of http://phpesp.sourceforge.net/internationalization.html or the little info in the phpesp.ini do not help very much! (i dont understand it actually: * If it cannot be loaded, define the NOP wrapper.* as well in locale/en/LC_MESSAGES/ i hav a file "messages.mo" wich has intressting signs in it!? do i need it? on all docs there are no desciptions about this extention *.mo ! as note! version 1.3. has an older lang-file in the tar-ball then the version you can find here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/phpesp/phpESP/loca le/en/LC_MESSAGES/messages.po?rev=. hmmm... or is it just becaus the server has php4.0.6 !? the system work quite good!!? wouldn´t it be easier to trancelate the script in this way and in an extra lang-$lang.php file (could be fine and a place for a FAQ and Guide as well): define("_YES","Yoo!"); define("_FAQ","FAQ - Frequently A..... Questions"); well...i´m not into server side things and qustions about speed and server performance.....this is a way i know and makes sence to me and makes SAVE that all lang-versions can run :-) thank you! flobee |
From: Richard M. P. <ri...@pa...> - 2002-02-21 07:21:54
|
I've installed phpESP on two other machines with no problem. I just installed in on the real server and there's a problem. At the top of every page I get this: Parse error: parse error in /home/sites/home/web/phpESP/admin/include/lib/esphtml.results.inc on line 238 (Line 238 is the last line of the file.) That file's contents are exactly the same on all three servers. What's different is I don't have a root account on the real server so I put phpESP in the web directory. All three servers are using php 4.1.1. On the problem server, here's how it was compiled: './configure' '--prefix=/usr/local' '--with-apxs=/usr/sbin/apxs' '--with-pgsql=/usr/local/pgsql_user' '--enable-mbregex' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-trans-sid' On the no problem servers, './configure' '--prefix=/usr/local' '--with-config-file-path=/etc/httpd/conf' '--with-apxs=/usr/sbin/apxs' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--enable-apc' '--with-calendar=shared' '--with-gdbm=/usr/include' '--with-db=/usr' '--enable-mbstring' '--enable-mbstr-enc-trans' '--with-mysql=/usr' './configure' '--prefix=/usr/local' '--with-config-file-path=/etc/httpd/conf' '--with-apxs=/usr/sbin/apxs' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--enable-apc' '--with-calendar=shared' '--with-gdbm=/usr/include' '--with-db=/usr' '--enable-mbstring' '--enable-mbstr-enc-trans' Here's how I modified the admin files on the problem server: [richard phpESP]$ grep -r 'sites' * admin/manage.php: $CONFIG = '/home/sites/home/web/phpESP/admin/phpESP.ini'; admin/phpESP.ini:$locale_path = '/home/sites/home/web/phpESP/locale'; admin/phpESP.ini:'include_path' => '/home/sites/home/web/phpESP/admin/include/', admin/phpESP.ini:'handler' => '/home/sites/home/web/phpESP/public/handler.php', admin/phpESP.ini:'handler_prefix' => '/home/sites/home/web/phpESP/public/handler-prefix.php', admin/.htaccess:AuthUserFile /home/sites/home/web/phpESP/admin/.htpasswd public/handler-prefix.php: require('/home/sites/home/web/phpESP/admin/phpESP.ini'); public/handler.php: require('/home/sites/home/web/phpESP/admin/phpESP.ini'); On one of the no problem servers: [root@academy-if phpESP]# grep -r 'contrib' * admin/manage.php: $CONFIG = '/usr/local/lib/php/contrib/phpESP/admin/phpESP.ini'; admin/phpESP.ini:$locale_path = '/usr/local/lib/php/contrib/phpESP/locale'; admin/phpESP.ini:'include_path' => '/usr/local/lib/php/contrib/phpESP/admin/include/', admin/phpESP.ini:'handler' => '/usr/local/lib/php/contrib/phpESP/public/handler.php', admin/phpESP.ini:'handler_prefix' => '/usr/local/lib/php/contrib/phpESP/public/handler-prefix.php', public/handler-prefix.php: require('/usr/local/lib/php/contrib/phpESP/admin/phpESP.ini'); public/handler.php: require('/usr/local/lib/php/contrib/phpESP/admin/phpESP.ini'); The cause must be something trivial, but for the life of me, even after a two hour staring contest with my PC, I can't figure it out. Thanks, Rich BTW, I password protected the admin dir so phpESP.ini can't be downloaded. |