Forum


Replies: 6   Views: 6141
New pro install fails
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 11-04-2013 - 12:13

Hello,

Plese run easy/Text.php and easy/Template.php examples and post if they work or fail.

Regards.

Posted by etownsend  · 11-04-2013 - 12:13

results from easy/text.php

Warning: domdocument::domdocument() expects at least 1 parameter, 0 given in C:wampwwwtoolsfaculty_dbphpdocxclassesCreateDocx.inc on line 1133

Fatal error: Call to undefined method domdocument::loadXML() in C:wampwwwtoolsfaculty_dbphpdocxclassesCreateDocx.inc on line 1134

results from template.php

Warning: domdocument::domdocument() expects at least 1 parameter, 0 given in C:wampwwwtoolsfaculty_dbphpdocxclassesCreateDocx.inc on line 1133

Fatal error: Call to undefined method domdocument::loadXML() in C:wampwwwtoolsfaculty_dbphpdocxclassesCreateDocx.inc on line 1134

The results are the same with only this code.

require('../classes/CreateDocx.inc');


$docx = new CreateDocx();

I searched the source tree and didn't find a function called loadXML in any of the class files. Am I missing a file for the download?

Posted by admin  · 11-04-2013 - 12:13

Hello,

loadXML method comes with PHP:

http://php.net/manual/en/domdocument.loadxml.php

Do you have DOM support in your PHP?

Regards.

Posted by etownsend  · 11-04-2013 - 12:13

The extension for DOM and XML are in the php.ini but they were not loading. We were on php.5.2.3, we have now upgraded to php 5.4.13 and the problem went away. I would ask that you add DOM and XML support checking in your check.php script as they are a known issue on a WAMP install. Thank you for your response.

Posted by admin  · 11-04-2013 - 12:13

Hello,

We have added a task to check both requirements running check.php script.

Regards.