|
||||
[Chameleon] Print WidgetTracy Howlett thowlett@whistlermuseum.orgSat, 24 Jan 2004 14:46:43 -0800
|
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 > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon _______________________________________________ Chameleon mailing list Chameleon@lists.maptools.org http://lists.maptools.org/mailman/listinfo/chameleon
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |