Search

I can't figure this one out for the life me. I had a dynamic XML datasource exported from php working in 2.1.2. After updating I started getting an error:

Fatal error: Call to a member function appendChild() on a non-object in /workspace/data-sources/data.xmlsource.php on line 48

I've tried to troubleshoot by testing under different conditions.

  1. Reducing the cache from 30 to 1 minute.
  2. Testing the source on another server.
  3. Testing the source with variables.
  4. Testing without dynamic variables.
  5. Testing another server's source.
  6. Replacing the source with the XML that was generated from the source.
  7. Replacing the source with a new XML file.

I have multiple testing servers and under these conditions they fail/pass:

  1. 2.1.2 different server = pass
  2. 2.1.2 same server = pass
  3. 2.2 upgraded, same server = fail
  4. 2.2 new installation, same server = fail
  5. 2.2 upgraded, different server = fail
  6. 2.2 new installation, different server = fail

Any ideas would be greatly appreciated.

i had this same problem last night. i deleted and recreated the ds and it worked fine after that.

edit: sorry, i just realized you said you tried it on a different installation. if this happens to me again, i'll post what i can come up with.

Not sure if this make a difference, but this will work in debug mode every other time. Exactly every other time. So when I refresh the page it will be: pass, fail, pass, fail, pass, etc..

I just got this working myself. After trying a few things I managed to narrow it down to "Strict error handling" being set to "yes". I turned it off and cannot reproduce the problem.

Can you please file this in the issue tracker?

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details