Elxis CMS Forum
Support => Installation => Topic started by: mitsoud on June 18, 2009, 11:19:36
-
check this site www.xristianiki.gr
It seems that some files are missing but is not, I check all the files
when i go to administration to templates admin I get this
Call to a member function getText() on a non-object in C:\Inetpub\vhosts\xristianiki.gr\httpdocs\administrator\components\com_templates\admin.templates.php on line 140
// Read the file to see if it's a valid template XML file
$xmlDoc = new DOMIT_Lite_Document();
$xmlDoc->resolveErrors( true );
if (!$xmlDoc->loadXML( $dirName . $xmlfile, false, true )) {
continue;
}
$element = $xmlDoc->documentElement;
if ($element->getTagName() != 'mosinstall') {
continue;
}
if ($element->getAttribute( 'type' ) != 'template') {
continue;
}
$row = new StdClass();
$row->id = $rowid;
$row->directory = $templateDir;
$element = $xmlDoc->getElementsByPath('name', 1 );
$row->name = $element->getText();
PLEASE HELP!!!
(When I go to tools I get
Fatal error: Call to a member function getText() on a non-object in C:\Inetpub\vhosts\xristianiki.gr\httpdocs\administrator\components\com_admin\admin.admin.php on line 175)
-
what is your PHP version?
-
Everything is O.K. it was my mistake in DB collatioon the utf8 general CI
WE Must delete this POST
SOORY for the noise
-
ok, don't worry. I am glad that you solve the problem.