XML text field BUG [ezsimplifiedxmlinput.php]

Author Message

Selmah Maxim

Saturday 19 July 2003 7:59:06 am

When my class have xml text field and trying to add new artical i got this error msg :

Fatal error: Call to a member function on a non-object in c:\php\www\ez32\kernel\classes\datatypes\ezxmltext\handlers\input\ezsimplifiedxmlinput.php on line 1501
Fatal error: eZ publish did not finish it's request

The execution of eZ publish was abruptly ended, the debug output is present below.

when i remove the xml field the class work fine !

Selmah Maxim

Sunday 20 July 2003 1:31:35 am

any1 have the same problem or just me !?

liu spider

Sunday 20 July 2003 2:40:47 am

maybe something related to charset settings.

I got a similar error, hacked some charset files to solve it.

I wonder whether u can use a predefined class containing a XML text field.

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Selmah Maxim

Sunday 20 July 2003 2:43:55 am

Sorry ... but what do u mean with this :

'hacked some charset files to solve it'

liu spider

Sunday 20 July 2003 5:06:17 am

php files, such as lib/ezi18n/classes/ezcharsetinfo.php and serveral other ones in the same directory

my problem is coursed by unsupport charset: I mean Chinese charset ;), and that courses the dom processor misfunction.

u can setup up a new eZ site from scratch for experimental purpose, do not change any other ini setting beyond the ones specified in the setup guide. Then try to find out whether ur problem exists.

good luck

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

liu spider

Sunday 20 July 2003 5:12:39 am

do not forget to enable debug option in site.ini.append.php, for the debug output always give useful clues

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Selmah Maxim

Sunday 20 July 2003 5:18:10 am

liu ...

the same error even with fresh install with english language !
the error here is requesting not existing function !

Selmah Maxim

Sunday 20 July 2003 5:18:57 am

btw ... after install is work fine, but after geting the last svn I got this error !

Selmah Maxim

Sunday 20 July 2003 5:31:14 am

line_1497:
if ( $dom )
$node =& $dom->elementsByName( "section" );

// Fetch all links and cache the url's
$links =& $dom->elementsByName( "link" );

this must be :

if ( $dom )
{
$node =& $dom->elementsByName( "section" );

// Fetch all links and cache the url's
$links =& $dom->elementsByName( "link" );
}

the error is coz of $dom = null !

liu spider

Sunday 20 July 2003 9:13:07 am

I see, u r living on the edge, so u r on ur own ;)

that's must be the CVS version's problem

and u just found out where the problem is, so trace back from that line (not look forward from that point)

I do not use CVS, so I can not stand with you ;)

but I think the mostly likely error parts are in the init process of the $dom, so trace back and see

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Selmah Maxim

Sunday 20 July 2003 12:04:17 pm

this the solution (as I think), but i make it i`ll lose the next svn upgrade, better to wait for ezp team !

liu spider

Sunday 20 July 2003 7:42:18 pm

do u know where I can find the changelog of the CVS?

I want to see what has been fixed and/or enhanced in the CVS, thanks.

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Selmah Maxim

Monday 21 July 2003 12:17:18 am

liu ..
http://zev.ez.no/svn/nextgen/trunk/doc/changelogs/3.2/CHANGELOG-3.2.0-1

any1 have the same problem with the last svn update ?!

Selmah Maxim

Monday 21 July 2003 12:33:49 am

ezp .. any comment over here ..pls !

Selmah Maxim

Monday 21 July 2003 2:10:59 am

thx :D

liu spider

Monday 21 July 2003 4:50:09 am

Selmah, thanks

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.