• New installation – Receiving this error message:
    “Parse error: syntax error, unexpected $end, expecting ‘(‘ in /mounted-storage/home6a/sub001/sc14923-UONA/yourtrusted.info/blog/wp-includes/compat.php on line 102”
    Have uploaded the ‘/wp-includes/compat.php’ file many times now but it always cuts off short at 2819 bytes of its 3338 bytes full file size.There appears to be no valid reason (to me at least) for this to occur as the code does not appear corrupted or broken. Copy of code section below from line 99 to close of code at line 119:
    Full Code:
    Line 99=if ( !function_exists( ‘htmlspecialchars_decode’ ) ) {
    // Added in PHP 5.1.0
    // Error checks from PEAR::PHP_Compat
    Line102= function htmlspecialchars_decode( $str, $quote_style = ENT_COMPAT )
    {
    if ( !is_scalar( $string ) ) {
    trigger_error( ‘htmlspecialchars_decode() expects parameter 1 to be string, ‘ . gettype( $string ) . ‘ given’, E_USER_WARNING );
    return;
    }

    if ( !is_int( $quote_style ) && $quote_style !== null ) {
    trigger_error( ‘htmlspecialchars_decode() expects parameter 2 to be integer, ‘ . gettype( $quote_style ) . ‘ given’, E_USER_WARNING );
    return;
    }

    Line114= return wp_specialchars_decode( $str, $quote_style );

    }
    }

    Line119= ?>

    Corrupted Code:
    Line99= if ( !function_exists( ‘htmlspecialchars_decode’ ) ) {
    // Added in PHP 5.1.0
    // Error checks from PEAR::PHP_Compat
    Line102= function ht
    ^ End of Uploaded File
    Can anyone help?
    Thank you
    Kevin
    P.S. It is a proprietary upload ‘Expert WordPress’ although I don’t believe that matters.K

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you tried uploading via other methods such as FTP?

    Thread Starter internut

    (@internut)

    Have uploaded whole WordPress install via “Filezzila FTP’ including repeated attempts with ‘compat.php’file, which seems to fail at the same point each time………Internut

    hi,
    i had a problem with my wP uprgrading into the 2.9.
    I can’t even do nothing. I have a white blank page. I can’t also go into the admin page.
    So i’ve been downloading the snap-3 (of one week before, with fillzilla) but it tell me this :
    Warning: require(/homez.309/spirulinl/www/wp-includes/compat.php) [function.require]: failed to open stream: No such file or directory in /homez.309/spirulinl/www/wp-settings.php on line 246

    WHAT IS IT? I am realy fuc…k because it didn’t not have any record of wy work…
    I think it is the same probleme of you internut, no?

    And if you can respond quite in good form cause i’m french…
    Thanks,
    Charly

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘install error – wp-includes/compat.php’ is closed to new replies.