[Chameleon-dev] [Bug 518] New: [Chameleon-HelpWidget]PHP warnings
when a widget definition is located in the application directory
bugzilla-daemon at www.maptools.org
bugzilla-daemon at www.maptools.org
Tue Jul 13 14:41:55 EDT 2004
http://www.maptools.org/bugzilla/show_bug.cgi?id=518
Summary: [Chameleon-HelpWidget]PHP warnings when a widget
definition is located in the application directory
Product: Chameleon
Version: 1.99
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Widget
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: nsavard at dmsolutions.ca
When a widget definition (or more)is not located in Chameleon base installation
and other widget definitions are located in Chameleon base installation, some
PHP warnings are displayed.
See attached.
---------------------
Information on the test settings:
I used the Hawaii application found on xcalibur and made a few modifications to it.
Modifications I made are:
1. Created a new widgets directory called "widgetes_norm" in the "hawaii"
application.
2. Moved "HelpWidget" directory from the Chameleon base installation to
"hawaii" application under this new widgets directory.
3. Added path to this new "widgets" directory in "index.phtml" file:
$oApp->CWCExecute("/path/to/hawaii/htdocs/widgets_norm/");
4. Added the following lines in the "hawaii_demo.html" template:
<!-- ------------------ -->
<!-- HELP AREA BEGINS -->
<!-- ------------------ -->
<tr>
<td valign="top">
<CWC2 TYPE="HelpWidget" VISIBLE="TRUE" ENABLED="TRUE"
WIDGET="HelpWidget"/>
</td>
<td valign="top">
<CWC2 TYPE="HelpWidget" VISIBLE="TRUE" ENABLED="TRUE" WIDGET="Extent"/>
</td>
</tr>
5. Load the "index.phtml".
-------------------------
PHP warnings:
[13-Jul-2004 14:35:13] PHP Warning:
main(/home/nsavard/demos/hawaii_chameleon/htdocs/widgets_norm/HelpWidget/../Widget.php):
failed to open stream: No such file or directory in
/home/nsavard/demos/hawaii_chameleon/htdocs/widgets_norm/HelpWidget/HelpWidget.widget.php
on line 29
[13-Jul-2004 14:35:13] PHP Warning: main(): Failed opening
'/home/nsavard/demos/hawaii_chameleon/htdocs/widgets_norm/HelpWidget/../Widget.php'
for inclusion (include_path='.:/usr/local/php436//lib/php') in
/home/nsavard/demos/hawaii_chameleon/htdocs/widgets_norm/HelpWidget/HelpWidget.widget.php
on line 29
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Chameleon-dev
mailing list