|
||||
[Chameleon] Print WidgetHuub Fleuren huub.fleuren@geodan.nlMon, 26 Jan 2004 10:07:55 +0100
|
This is a multi-part message in MIME format. --------------060800010607040401030307 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Haai Tracy, I ran into this too, since the november upgrades of chameleon, in the 'first' version this went oke. It 's got something to do with the generating of a list of fonts from which a user can choose. This list is built on the contents of a directory, or a file, listing fonts in there is read. I commentend it out in production.php.inc and the font cannot be set anymore: the font is hardcoded now. greetings, Huub Tracy Howlett wrote: >I managed to sort out the php_gd.dll stuff and the print window is at least >opening now. However, I'm getting lots of errors: > >This is displayed under the user interface - >PHP Warning: file(C:\): failed to open stream: No such file or directory in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 152 PHP Warning: >Invalid argument supplied for foreach() in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 154 PHP Parse error: >parse error, unexpected '"' in C:\apps\cwc2\htdocs\widgets\40008f667ae2a.txt >on line 14 > >If I click on download map I get a bunch of 'No language is set' errors and >a 'No valid map object to restore to'. If I click on Printer friendly map I >get a screen with an image which doesn't draw..the source of that image is >"http://localhost/cwc2/widgets/preview.php?sid=40008f667ae2a&selImageFormat= >" > >Has anyone else run into these errors? > >-----Original Message----- >From: chameleon-admin@lists.maptools.org >[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett >Sent: Friday, January 23, 2004 5:40 PM >To: thowlett@whistlermuseum.org; chameleon@lists.maptools.org >Subject: RE: [Chameleon] Print Widget > >I tried putting the code in again and now I'm at least getting a popup. >However I have these errors (pasted below). I noticed that there are some >problems with the php_gd.dll....this dll did not come with my version of >chameleon/php/mapscript, I have php_gd2.dll. I downloaded php_gd.dll and >added it to my .ini file but the error has not changed. > >PHP Notice: Undefined index: gszLogPath in >C:\apps\cwc2\htdocs\widgets\session.inc.php on line 35 PHP Notice: Undefined >index: gnLogLevel in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 38 >PHP Notice: Undefined index: gbLogError in >C:\apps\cwc2\htdocs\widgets\session.inc.php on line 44 PHP Notice: Undefined >index: gszMapscriptModule in C:\apps\cwc2\htdocs\widgets\session.inc.php on >line 50 PHP Warning: dl(): Unable to load dynamic library >'C:\PHP\extensions\' - The specified module could not be found. in >C:\apps\cwc2\htdocs\widgets\session.inc.php on line 50 PHP Notice: Undefined >index: gnMapSessionMode in C:\apps\cwc2\htdocs\widgets\session.inc.php on >line 53 PHP Notice: Undefined index: gszTmpPath in >C:\apps\cwc2\htdocs\widgets\session.inc.php on line 63 PHP Notice: Undefined >index: gszCurrentState in C:\apps\cwc2\htdocs\widgets\session.inc.php on >line 69 PHP Notice: Undefined index: gszMapName in >C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined >index: gszMapName in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 >PHP Notice: Undefined index: gszCurrentLanguage in >C:\apps\cwc2\htdocs\widgets\session.inc.php on line 90 PHP Notice: Undefined >index: gszCurrentLanguage in C:\apps\cwc2\htdocs\widgets\session.inc.php on >line 95 PHP Notice: Undefined index: aszLang in >C:\apps\cwc2\htdocs\widgets\session.inc.php on line 102 PHP Notice: >Undefined index: aszLang in C:\apps\cwc2\htdocs\widgets\session.inc.php on >line 106 PHP Notice: Undefined index: gszMapPath in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 136 PHP Notice: >Undefined index: gszMapPath in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 137 PHP Notice: >Undefined index: gszMapPath in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 145 PHP Warning: >file(C:\): failed to open stream: No such file or directory in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 152 PHP Warning: >Invalid argument supplied for foreach() in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 154 PHP Notice: >Undefined index: gszTmpPath in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 165 PHP Notice: >Undefined index: gszTmpPath in >C:\apps\cwc2\htdocs\widgets\production.inc.php on line 178 PHP Warning: >dl(): Unable to load dynamic library 'C:\PHP\extensions\php_gd.dll' - The >specified procedure could not be found. in >C:\apps\cwc2\htdocs\widgets\production.phtml on line 181 > >-----Original Message----- >From: chameleon-admin@lists.maptools.org >[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett >Sent: Friday, January 23, 2004 5:21 PM >To: chameleon@lists.maptools.org >Subject: [Chameleon] Print Widget > >I'm trying to use the print widget. When I click on the Print button I get a >'No Event' box. Any ideas? > >-----Original Message----- >From: chameleon-admin@lists.maptools.org >[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett >Sent: Wednesday, January 14, 2004 10:15 AM >To: thowlett@whistlermuseum.org; spencer@dmsolutions.ca >Cc: chameleon@lists.maptools.org >Subject: RE: [Chameleon] Query Widget > >Part 2 of my question was about the Print and Help tools. When I click on >Print I get a 'No Event' box and I don't think I totally understand how the >Help Widget is supposed to be implemented since it only requires the base >attributes. How can I attach this to a button? > >-----Original Message----- >From: chameleon-admin@lists.maptools.org >[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Tracy Howlett >Sent: Wednesday, January 14, 2004 9:57 AM >To: spencer@dmsolutions.ca >Cc: chameleon@lists.maptools.org >Subject: RE: [Chameleon] Query Widget > >That'll do it. Thanks Paul > >-----Original Message----- >From: chameleon-admin@lists.maptools.org >[mailto:chameleon-admin@lists.maptools.org] On Behalf Of Paul Spencer >Sent: Saturday, January 10, 2004 3:22 PM >To: thowlett@whistlermuseum.org >Cc: chameleon@lists.maptools.org >Subject: Re: [Chameleon] Query Widget > >Tracy, > >I think there is a small problem with the query widget not including the >popup code. Try adding the following line of code to Query.widget.php >around line 31 (with the other includes). If it works, I'll commit the >change to CVS. > >include_once( "Popup.php" ); > > >Cheers, > >Paul > >Tracy Howlett wrote: > > > >>I'm trying to implement the Query widget but I'm getting the following >>error: >> >>PHP Fatal error: Cannot instantiate non-existent class: cwcpopup in >>C:\apps\cwc2\htdocs\widgets\Query.widget.php on line 56 >> >>I can't find any documentation on the cwcpopup class (or lack thereof!). >> >>I'm also having problems getting the PrintWidget and HelpWidget working. >>Are there any known issues with these widgets? >> >>My setup: >>MapServer 4.0.1 >>PHP/MapScript 4.3.4 >>Chameleon 1.1 >>Win XP (must also work on Server 2003) >> >> >> >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> >> >> > > > -- Geodan organiseert op 29 januari 2004 een informatieve dag over nieuwe ontwikkelingen op het gebied van geo-ICT. Kijk voor meer informatie op http://www.geodan.nl/geo-informationonthemove/ -- Geodan IT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 Mobiel: ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: huub.fleuren@geodan.nl Website: www.geodan.nl Disclaimer: www.geodan.nl/disclaimer ------------------------------------- --------------060800010607040401030307 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> <title></title> </head> <body text="#000000" bgcolor="#ffffff"> Haai Tracy,<br> <br> I ran into this too, since the november upgrades of chameleon, in the 'first' version this went oke.<br> <br> It 's got something to do with the generating of a list of fonts from which a user can choose.<br> This list is built on the contents of a directory, or a file, listing fonts in there is read.<br> <br> I commentend it out in production.php.inc and the font cannot be set anymore: the font is hardcoded now.<br> <br> <br> <br> greetings,<br> Huub<br> <br> <br> <br> Tracy Howlett wrote:<br> <blockquote type="cite" cite="mid200401242247.i0OMl24r023455@www.maptools.org"> <pre wrap="">I managed to sort out the php_gd.dll stuff and the print window is at least opening now. However, I'm getting lots of errors: This is displayed under the user interface - PHP Warning: file(C:\): failed to open stream: No such file or directory in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 152 PHP Warning: Invalid argument supplied for foreach() in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 154 PHP Parse error: parse error, unexpected '"' in C:\apps\cwc2\htdocs\widgets\40008f667ae2a.txt on line 14 If I click on download map I get a bunch of 'No language is set' errors and a 'No valid map object to restore to'. If I click on Printer friendly map I get a screen with an image which doesn't draw..the source of that image is <a class="moz-txt-link-rfc2396E" href="http://localhost/cwc2/widgets/preview.php?sid=40008f667ae2a&selImageFormat=">"http://localhost/cwc2/widgets/preview.php?sid=40008f667ae2a&selImageFormat= "</a> Has anyone else run into these errors? -----Original Message----- From: <a class="moz-txt-link-abbreviated" href="mailto:chameleon-admin@lists.maptools.org">chameleon-admin@lists.maptools.org</a> [<a class="moz-txt-link-freetext" href="mailto:chameleon-admin@lists.maptools.org">mailto:chameleon-admin@lists.maptools.org</a>] On Behalf Of Tracy Howlett Sent: Friday, January 23, 2004 5:40 PM To: <a class="moz-txt-link-abbreviated" href="mailto:thowlett@whistlermuseum.org">thowlett@whistlermuseum.org</a>; <a class="moz-txt-link-abbreviated" href="mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org</a> Subject: RE: [Chameleon] Print Widget I tried putting the code in again and now I'm at least getting a popup. However I have these errors (pasted below). I noticed that there are some problems with the php_gd.dll....this dll did not come with my version of chameleon/php/mapscript, I have php_gd2.dll. I downloaded php_gd.dll and added it to my .ini file but the error has not changed. PHP Notice: Undefined index: gszLogPath in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 35 PHP Notice: Undefined index: gnLogLevel in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 38 PHP Notice: Undefined index: gbLogError in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 44 PHP Notice: Undefined index: gszMapscriptModule in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 50 PHP Warning: dl(): Unable to load dynamic library 'C:\PHP\extensions\' - The specified module could not be found. in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 50 PHP Notice: Undefined index: gnMapSessionMode in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 53 PHP Notice: Undefined index: gszTmpPath in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 63 PHP Notice: Undefined index: gszCurrentState in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined index: gszMapName in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined index: gszMapName in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 69 PHP Notice: Undefined index: gszCurrentLanguage in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 90 PHP Notice: Undefined index: gszCurrentLanguage in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 95 PHP Notice: Undefined index: aszLang in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 102 PHP Notice: Undefined index: aszLang in C:\apps\cwc2\htdocs\widgets\session.inc.php on line 106 PHP Notice: Undefined index: gszMapPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 136 PHP Notice: Undefined index: gszMapPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 137 PHP Notice: Undefined index: gszMapPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 145 PHP Warning: file(C:\): failed to open stream: No such file or directory in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 152 PHP Warning: Invalid argument supplied for foreach() in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 154 PHP Notice: Undefined index: gszTmpPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 165 PHP Notice: Undefined index: gszTmpPath in C:\apps\cwc2\htdocs\widgets\production.inc.php on line 178 PHP Warning: dl(): Unable to load dynamic library 'C:\PHP\extensions\php_gd.dll' - The specified procedure could not be found. in C:\apps\cwc2\htdocs\widgets\production.phtml on line 181 -----Original Message----- From: <a class="moz-txt-link-abbreviated" href="mailto:chameleon-admin@lists.maptools.org">chameleon-admin@lists.maptools.org</a> [<a class="moz-txt-link-freetext" href="mailto:chameleon-admin@lists.maptools.org">mailto:chameleon-admin@lists.maptools.org</a>] On Behalf Of Tracy Howlett Sent: Friday, January 23, 2004 5:21 PM To: <a class="moz-txt-link-abbreviated" href="mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org</a> Subject: [Chameleon] Print Widget I'm trying to use the print widget. When I click on the Print button I get a 'No Event' box. Any ideas? -----Original Message----- From: <a class="moz-txt-link-abbreviated" href="mailto:chameleon-admin@lists.maptools.org">chameleon-admin@lists.maptools.org</a> [<a class="moz-txt-link-freetext" href="mailto:chameleon-admin@lists.maptools.org">mailto:chameleon-admin@lists.maptools.org</a>] On Behalf Of Tracy Howlett Sent: Wednesday, January 14, 2004 10:15 AM To: <a class="moz-txt-link-abbreviated" href="mailto:thowlett@whistlermuseum.org">thowlett@whistlermuseum.org</a>; <a class="moz-txt-link-abbreviated" href="mailto:spencer@dmsolutions.ca">spencer@dmsolutions.ca</a> Cc: <a class="moz-txt-link-abbreviated" href="mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org</a> Subject: RE: [Chameleon] Query Widget Part 2 of my question was about the Print and Help tools. When I click on Print I get a 'No Event' box and I don't think I totally understand how the Help Widget is supposed to be implemented since it only requires the base attributes. How can I attach this to a button? -----Original Message----- From: <a class="moz-txt-link-abbreviated" href="mailto:chameleon-admin@lists.maptools.org">chameleon-admin@lists.maptools.org</a> [<a class="moz-txt-link-freetext" href="mailto:chameleon-admin@lists.maptools.org">mailto:chameleon-admin@lists.maptools.org</a>] On Behalf Of Tracy Howlett Sent: Wednesday, January 14, 2004 9:57 AM To: <a class="moz-txt-link-abbreviated" href="mailto:spencer@dmsolutions.ca">spencer@dmsolutions.ca</a> Cc: <a class="moz-txt-link-abbreviated" href="mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org</a> Subject: RE: [Chameleon] Query Widget That'll do it. Thanks Paul -----Original Message----- From: <a class="moz-txt-link-abbreviated" href="mailto:chameleon-admin@lists.maptools.org">chameleon-admin@lists.maptools.org</a> [<a class="moz-txt-link-freetext" href="mailto:chameleon-admin@lists.maptools.org">mailto:chameleon-admin@lists.maptools.org</a>] On Behalf Of Paul Spencer Sent: Saturday, January 10, 2004 3:22 PM To: <a class="moz-txt-link-abbreviated" href="mailto:thowlett@whistlermuseum.org">thowlett@whistlermuseum.org</a> Cc: <a class="moz-txt-link-abbreviated" href="mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org</a> Subject: Re: [Chameleon] Query Widget Tracy, I think there is a small problem with the query widget not including the popup code. Try adding the following line of code to Query.widget.php around line 31 (with the other includes). If it works, I'll commit the change to CVS. include_once( "Popup.php" ); Cheers, Paul Tracy Howlett wrote: </pre> <blockquote type="cite"> <pre wrap="">I'm trying to implement the Query widget but I'm getting the following error: PHP Fatal error: Cannot instantiate non-existent class: cwcpopup in C:\apps\cwc2\htdocs\widgets\Query.widget.php on line 56 I can't find any documentation on the cwcpopup class (or lack thereof!). I'm also having problems getting the PrintWidget and HelpWidget working. Are there any known issues with these widgets? My setup: MapServer 4.0.1 PHP/MapScript 4.3.4 Chameleon 1.1 Win XP (must also work on Server 2003) _______________________________________________ Chameleon mailing list <a class="moz-txt-link-abbreviated" href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</a> <a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</a> </pre> </blockquote> <pre wrap=""><!----> </pre> </blockquote> <br> <pre class="moz-signature" cols="72">-- Geodan organiseert op 29 januari 2004 een informatieve dag over nieuwe ontwikkelingen op het gebied van geo-ICT. Kijk voor meer informatie op <a class="moz-txt-link-freetext" href="http://www.geodan.nl/geo-informationonthemove/">http://www.geodan.nl/geo-informationonthemove/</a> -- Geodan IT b.v. Buitenhaven 27-A 5211 TP 's-Hertogenbosch (NL) ------------------------------------- Tel: +31 (0)73 - 692 5151 Fax: +31 (0)73 - 692 5150 Mobiel: ------------------------------------- Postadres / mailing address President Kennedylaan 1 1079 MB Amsterdam (NL) ------------------------------------- E-mail: <a class="moz-txt-link-abbreviated" href="mailto:huub.fleuren@geodan.nl">huub.fleuren@geodan.nl</a> Website: <a class="moz-txt-link-abbreviated" href="http://www.geodan.nl">www.geodan.nl</a> Disclaimer: <a class="moz-txt-link-abbreviated" href="http://www.geodan.nl/disclaimer">www.geodan.nl/disclaimer</a> ------------------------------------- </pre> </body> </html> --------------060800010607040401030307--
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |