Elxis CMS Forum

Support => Installation => Topic started by: mitsoud on June 18, 2009, 11:19:36

Title: Problem after upload my new site to a windows server with iis and plesk 8.2
Post 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)
Title: Re: Problem after upload my new site to a windows server with iis and plesk 8.2
Post by: Ivan Trebješanin on June 18, 2009, 13:34:10
what is your PHP version?
Title: Re: Problem after upload my new site to a windows server with iis and plesk 8.2
Post by: mitsoud on June 18, 2009, 14:38:14
Everything is O.K. it was my mistake in DB collatioon the utf8 general CI
WE Must delete this POST
SOORY for the noise
Title: Re: Problem after upload my new site to a windows server with iis and plesk 8.2
Post by: datahell on June 19, 2009, 07:56:27
ok, don't worry. I am glad that you solve the problem.