Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
3.0-1
-
None
-
Version: ezp3.0-1
PHP Version:
Webserver:
Database:
Description
When you add custom tag stuff to templates, e.g. like this:
Normal text<strong>bold text</strong>
<custom name='factbox'><line>box text</line>
<link href='default@mysite.com'>My Mail</link>
</custom>
you provoke lots of warnings, all stemming from the file
kernel/classes/datatypes/ezxmltext/handlers/output/ezxhtmlxmloutput.php
See php-log output on my WIN2K test box below. I think some code cleansing would be appropriate here.
______________________________________________________________
Php log examples for ezxmltext-rendering with the functions in ezxhtmlxmloutput.php:
Warning: PHP Apr 01 2003 15:22:38
Undefined offset: 0 in c:\\programme\\apachegroup\\apache\\htdocs\\leportal\\ezp\\kernel\\classes\\datatypes\\ezxmltext\\handlers\\output
ezxhtmlxmloutput.php on line 157
Warning: eZTemplate:gt Apr 01 2003 15:22:38
Unsupported type: boolean( ), must be either array, attribute object or numerical
Warning: PHP Apr 01 2003 15:22:38
Undefined variable: sectionLevel in c:\\programme\\apachegroup\\apache\\htdocs\\leportal\\ezp\\kernel\\classes\\datatypes\\ezxmltext\\handlers\\output
ezxhtmlxmloutput.php on line 360
Warning: PHP Apr 01 2003 15:22:38
Undefined variable: tdSctionLevel in c:\\programme\\apachegroup\\apache\\htdocs\\leportal\\ezp\\kernel\\classes\\datatypes\\ezxmltext\\handlers\\output
ezxhtmlxmloutput.php on line 360
Warning: PHP Apr 01 2003 15:22:38
Undefined offset: 0 in c:\\programme\\apachegroup\\apache\\htdocs\\leportal\\ezp\\kernel\\classes\\datatypes\\ezxmltext\\handlers\\output
ezxhtmlxmloutput.php on line 157
Warning: PHP Apr 01 2003 15:22:38
Undefined offset: 0 in c:\\programme\\apachegroup\\apache\\htdocs\\leportal\\ezp\\kernel\\classes\\datatypes\\ezxmltext\\handlers\\output
ezxhtmlxmloutput.php on line 157
Warning: eZTemplate:gt Apr 01 2003 15:22:38
Unsupported type: boolean( ), must be either array, attribute object or numerical
Warning: eZTemplate Apr 01 2003 15:22:38
No template could be loaded for "content/datatype/view/ezxmltags/custom.tpl" using resource "design"
Warning: PHP Apr 01 2003 15:22:38
Undefined offset: 1 in c:\\programme\\apachegroup\\apache\\htdocs\\leportal\\ezp\\kernel\\classes\\datatypes\\ezxmltext\\handlers\\output
ezxhtmlxmloutput.php on line 157
Warning: PHP Apr 01 2003 15:22:38
Undefined offset: 0 in c:\\programme\\apachegroup\\apache\\htdocs\\leportal\\ezp\\kernel\\classes\\datatypes\\ezxmltext\\handlers\\output
ezxhtmlxmloutput.php on line 157
Warning: eZTemplate:gt Apr 01 2003 15:22:38
Unsupported type: boolean( ), must be either array, attribute object or numerical