Dezinerfolio

Cannot redeclare domxml_new_doc() - Invalid JSON Data

This is the error that I receive when I try to load a flickr set in dfgallery. 

Message: Invalid JSON Data
OS: WinXP Pro
Apache version: 2.2x
PHP version: 5.2.6
JSON module is enabled! (I checked in the phpinfo()).
dfGallery version: 2.004

Proper response (Firebug) from the script:

<br />
<b>Fatal error</b>: Cannot redeclare domxml_new_doc() in <b>C:\UptownHounds\Website\UptownHounds\dfg
\lib\xml\domxml-php4-to-php5.php</b> on line <b>41</b><br />


I am not sure what I am doing wrong here. Can you please fix the problem?

Just shout if you need more info (like link url or anything).

Thanks,
ainstushar.
Status: 
New

Comments

Anonymous's picture

Very useful website, wants to see much more on it! Go on!

Anonymous
Sun, 04/19/2009 - 14:16
ainstushar's picture

I figured out a way to solve this problem.
This problem can arise if php_domxml.dll is loaded in php.ini.
So all you need to do is add a comment, so find that line (extension=php_domxml.dll), and add a semicolon ; to the beginning of the line.

Before: extension=php_domxml.dll
After: ;extension=php_domxml.dll

That took care.

Hope that helps. Tell me if it works for you.

Tue, 02/17/2009 - 03:09

Post new comment