Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thank you for posting Maud Kon! That is exactly what I needed.

    Thread Starter debdbuck

    (@debdbuck)

    I dug deeper and found the solution. The problem is my server, it seems.

    Check out this thread: https://ww.wp.xz.cn/support/topic/fatal-error-class-domdocument-not-found?replies=11

    In particular, taotiago’s replied solution worked like a charm. Here it is:

    Replace in file parsers.php in plugin wordpress-importer at Class WXR_Parser_SimpleXML

    $dom = new DOMDocument;
    $old_value = null;
    if ( function_exists( 'libxml_disable_entity_loader' ) ) {
    $old_value = libxml_disable_entity_loader( true );
    }
    $success = $dom->loadXML( file_get_contents( $file ) );
    if ( ! is_null( $old_value ) ) {
    libxml_disable_entity_loader( $old_value );
    }
    
    if ( ! $success || isset( $dom->doctype ) ) {
    return new WP_Error( 'SimpleXML_parse_error', __( 'There was an error when reading this WXR file', 'wordpress-importer' ), libxml_get_errors() );
    }
    
    $xml = simplexml_import_dom( $dom );
    unset( $dom );

    For:
    $xml = simplexml_load_file($file);

    Thread Starter debdbuck

    (@debdbuck)

    I never heard back on this, found a different solution, and forgot about it until recently. I forgot about this post, and accidentally started a new thread in which I shared the error code.

    I’ll mark this as resolved/closed to leave the newer, more complete post open.

    https://ww.wp.xz.cn/support/topic/nothing-happens-58

    Thread Starter debdbuck

    (@debdbuck)

    Whoops! I didn’t remember posting about this 8 mos ago. Sorry.
    https://ww.wp.xz.cn/support/topic/upload-doesnt-happen

    Didn’t have the error code on that post tho…

    I’m having the exact same issue. Since there are no replies yet, have you found a solution elsewhere, perhaps?

    I had the same problem! Thank you so much for the solution Otto!

    GoDaddy went through the “it’s not our fault, it’s the application’s fault” rounds… I insisted that we check things out quoting this thread!

    After a hold time to “check with their advanced server team,” the rep informed me that “the connection to the tmp folder was broken” during the migration from Windows to Linux.

    I kept him on the line until I put my app id and key in. It works!
    Thanks guys!!

    I don’t have the app namespace field either.
    I am using WordPress 3.4.2 and Facebook plugin 1.1.8 as well.

    I haven’t been able to set up Social Publisher at all.

    1. There’s a check by #1 “A Facebook application identifier associated with…”
    2. There’s a link for #2 that I don’t really want.
    3. Finally, there’s #3 “Authenticate with Facebook to allow your Facebook application to post to your timeline or page on your behalf when a post is published.”

    The very next few lines/links don’t help.

    The first link “Associate your WordPress account…” gives me an error:

    “API Error Code: 191
    API Error Description: The specified URL is not owned by the application
    Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.”

    Where do I address this redirect_uri problem?

    The second link “Connect your Facebook account to get started.” does nothing but change the URL to have “#facebook-login” appended at the end.

    Is this supposed to do something?

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)