17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 3452 Views |
-
wordpress importer error.

13 September 2008 at 9:22am
Processing...
FATAL ERROR: simplexml_load_file() [function.simplexml-load-file]: /tmp/phpzUA15t:1002: parser error : Entity 'raquo' not defined
At line 30 in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.phpsimplexml_load_file(/tmp/phpzUA15t)
line 30 of WpParser.phpWpParser->__construct(/tmp/phpzUA15t)
line 56 of WpImporter.phpWpImporter_Controller->doUpload(Array,Form)
line 238 of Controller.phpController->run(Array)
line 104 of Director.phpDirector::direct(/WpImporter_Controller/)
line 158 of main.php
Context
Debug (Debug::showError() in line 180 of Debug.php)* filename =
/tmp/phpzUA15t
FATAL ERROR: simplexml_load_file() [function.simplexml-load-file]: <wp:comment_author>NorthWales.biz » Blog Archive » Recent Events</wp
At line 30 in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.phpsimplexml_load_file(/tmp/phpzUA15t)
line 30 of WpParser.phpWpParser->__construct(/tmp/phpzUA15t)
line 56 of WpImporter.phpWpImporter_Controller->doUpload(Array,Form)
line 238 of Controller.phpController->run(Array)
line 104 of Director.phpDirector::direct(/WpImporter_Controller/)
line 158 of main.php
Context
Debug (Debug::showError() in line 180 of Debug.php)* filename =
/tmp/phpzUA15t
FATAL ERROR: simplexml_load_file() [function.simplexml-load-file]: ^
At line 30 in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.phpsimplexml_load_file(/tmp/phpzUA15t)
line 30 of WpParser.phpWpParser->__construct(/tmp/phpzUA15t)
line 56 of WpImporter.phpWpImporter_Controller->doUpload(Array,Form)
line 238 of Controller.phpController->run(Array)
line 104 of Director.phpDirector::direct(/WpImporter_Controller/)
line 158 of main.php
Context
Debug (Debug::showError() in line 180 of Debug.php)* filename =
/tmp/phpzUA15t
FATAL ERROR: simplexml_load_file() [function.simplexml-load-file]: /tmp/phpzUA15t:1002: parser error : Entity 'raquo' not defined
At line 30 in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.phpsimplexml_load_file(/tmp/phpzUA15t)
line 30 of WpParser.phpWpParser->__construct(/tmp/phpzUA15t)
line 56 of WpImporter.phpWpImporter_Controller->doUpload(Array,Form)
line 238 of Controller.phpController->run(Array)
line 104 of Director.phpDirector::direct(/WpImporter_Controller/)
line 158 of main.php
Context
Debug (Debug::showError() in line 180 of Debug.php)* filename =
/tmp/phpzUA15t
FATAL ERROR: simplexml_load_file() [function.simplexml-load-file]: <wp:comment_author>NorthWales.biz » Blog Archive » Recent Events</wp
At line 30 in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.phpsimplexml_load_file(/tmp/phpzUA15t)
line 30 of WpParser.phpWpParser->__construct(/tmp/phpzUA15t)
line 56 of WpImporter.phpWpImporter_Controller->doUpload(Array,Form)
line 238 of Controller.phpController->run(Array)
line 104 of Director.phpDirector::direct(/WpImporter_Controller/)
line 158 of main.php
Context
Debug (Debug::showError() in line 180 of Debug.php)* filename =
/tmp/phpzUA15t
FATAL ERROR: simplexml_load_file() [function.simplexml-load-file]: ^
At line 30 in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.phpsimplexml_load_file(/tmp/phpzUA15t)
line 30 of WpParser.phpWpParser->__construct(/tmp/phpzUA15t)
line 56 of WpImporter.phpWpImporter_Controller->doUpload(Array,Form)
line 238 of Controller.phpController->run(Array)
line 104 of Director.phpDirector::direct(/WpImporter_Controller/)
line 158 of main.php
Context
Debug (Debug::showError() in line 180 of Debug.php)* filename =
/tmp/phpzUA15t
Cannot open file.
Can anyone explain?
-
Re: wordpress importer error.

13 September 2008 at 6:10pm
simple_xml module has problem parsing some of the HTML entities and in case your case, it is »
if you can, try open it in text editor and remove » from the source file by using find-and-replace command.
-
Re: wordpress importer error.

13 September 2008 at 11:10pm
Well that sorted that particular error...
What about this one:
Processing...
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
Notice: Undefined index: wfw in /opt/lampp/htdocs/Carnyx/wordpressimport/code/WpParser.php on line 58
FATAL ERROR: Object::__call() Method 'parentStack' not found in class 'BlogEntry'
At line 199 in /opt/lampp/htdocs/Carnyx/sapphire/core/Object.phpuser_error(Object::__call() Method 'parentStack' not found in class 'BlogEntry',256)
line 199 of Object.phpObject->__call(parentStack,Array)
BlogEntry->parentStack()
line 893 of SiteTree.phpSiteTree->getPriority()
line 113 of ViewableData.phpViewableData->__get(Priority)
line 803 of SiteTree.phpSiteTree->onBeforeWrite()
line 512 of DataObject.phpDataObject->write()
line 69 of WpImporter.phpWpImporter_Controller->doUpload(Array,Form)
line 238 of Controller.phpController->run(Array)
line 104 of Director.phpDirector::direct(/WpImporter_Controller/)
line 158 of main.php
Context
Debug (Debug::showError() in line 180 of Debug.php)* this =
Database record: BlogEntry
o ID :0
o ProvideComments :
1
o ShowInMenus :
1
o ShowInSearch :
1
o Status :
New page
o CanCreateChildren :
+ 0 =10
o Viewers :
Anyone
o Editors :
LoggedInUsers
o IdentityURL :
o Date :
2007-06-22 12:09:30
o ParentID :
12
o Title : SimpleXMLElement::__set_state(array( ))
o Link : SimpleXMLElement::__set_state(array( ))
o Author : SimpleXMLElement::__set_state(array( ))
o Tags :Concerts
o Content :
John Kenny, Hugh Webb and the Edinburgh Quartet performed the first concert in the series of concerts (named "Embracing the Unknown" after one of the pieces performed) on Saturday 9 June 2007 at the University of Glasgow's Concet Hall.
This Concert, a showcase of several new works commissioned by Carnyx & Co. for the unusual combination of Trombone, Harp and String Quartet, was a wonderful example of the exciting and interesting developments happening in contemporary composition.
Embracing the Unknown will continue in the future with further commissions from Nigel Osbourne and John Kenny and an album release on the BML Label.
Carnyx & Co. would like to thank the Scottish Arts Council for their generous support for this project.
o UrlTitle : SimpleXMLElement::__set_state(array( ))
o Comments :
o Sort :o URLSegment :
embracing-the-unknown
* methodName =
parentStack
* args =
* lowerMethodName =parentstack
-
Re: wordpress importer error.

14 September 2008 at 12:30pm
Can you can tell what version of wordpress you import the xml file from?
-
Re: wordpress importer error.

14 September 2008 at 12:54pm
Hi RobertM,
Can you look in sapphire/core/model/Hierarchy.php to see whether hierarchy.php has parentStack function or not?
Cheeer.
-
Re: wordpress importer error.

15 September 2008 at 3:56am
I have wordpress version 2.2 - does this produce a different xml file?
yes the parentStack method exists:
public function parentStack() {
$p = $this->owner;
while($p) {
$stack[] = $p;
$p = $p->ParentID ? $p->Parent() : null;
}
return $stack;
} -
Re: wordpress importer error.

16 September 2008 at 7:08pm
Hi Robert,
Do you mind posting the wp xml file? I assume there's nothing personal in blog posts.
-
Re: wordpress importer error.

17 September 2008 at 9:53am Last edited: 17 September 2008 9:54am
Sure here it is...
edit: hmm didn't let me attach the xml file.
| 3452 Views | ||
| Go to Top | Next > |

