3.1 RC5.5
Warning: domdocument::domdocument() expects parameter 2 to be long, string given in {path}\administrator\components\com_chronocontact\admin.chronocontact.php on line 1234
Fatal error: Call to undefined method domdocument::createElement() in {path}\administrator\components\com_chronocontact\admin.chronocontact.php on line 1235
Hi wizdum,
Googling the error suggests that it's a PHP 4 error - which version of PHP do you have installed?
If you are using PHP 5 then:
Please will you post the code from around line 1234 in your file: in mine it is writing the IE headers, there's a domdocument call a few lines later*
Bob
* It's always possible that my current version has been modified a bit.
Googling the error suggests that it's a PHP 4 error - which version of PHP do you have installed?
If you are using PHP 5 then:
Please will you post the code from around line 1234 in your file: in mine it is writing the IE headers, there's a domdocument call a few lines later*
}else{
$doc = new DomDocument('1.0', 'UTF-8');
$root = $doc->createElement('root');
$root = $doc->appendChild($root);
and the PHP Docs just expect a stringDOMDocument {
__construct(string version,
string encoding);
}
Bob
* It's always possible that my current version has been modified a bit.
This topic is locked and no more replies can be posted.