Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter graceycat

    (@graceycat)

    Bumping this in hopes that someone might know what to do next…

    Thread Starter graceycat

    (@graceycat)

    Alright. This is going to make me crazy. I did the following:

    1) Used cPanel’s “backup” option to backup my website.
    2) Downloaded the most recent version of wordpress.
    3) Changed the config_sample document as prescribed in installation instructions.
    4) Downloaded Cyberduck, connected it correctly with my website on the first try (MY ONE WIN) and used it to upload the new version of wordpress into my website’s files. Overwrote all old files.
    5) Went to my website and got an error message.
    6) Thought “maybe I need to do the installation step”, and pointed my browser at the installation address. Got the same error message.
    7) Thought “maybe I need to redirect to the right subfolder”. Retyped address with subfolder included (wordpress). Got the same error message:

    Parse error: syntax error, unexpected ‘}’ in /home/susanv/public_html/wordpress/wp-includes/option.php on line 1442

    8) Went to code of that file. Took out the line 1442 } just for kicks. Got same error message, except in line 1444. Put the line 1442 } back. Line 1442 error message returned.

    NOW WHAT?

    Thread Starter graceycat

    (@graceycat)

    To backup, I’m just downloading all the files in the public_html folder onto my computer, right? Nothing complicated I’m missing here?

    ETA: aha, found the backup button on the main FTP control panel page. All good.

    Thread Starter graceycat

    (@graceycat)

    Yep, saw my typing error and double checked, but I had copied and pasted your suggestion (with my domain name). Wish that were it.

    Plugins failed. Do I need to undo any of the renaming before I try to download a fresh copy? Will have to do it later tonight.

    Thread Starter graceycat

    (@graceycat)

    wp_admin gives me the same fatal error. Hence my confusion.

    Will try the plugins now

    Thread Starter graceycat

    (@graceycat)

    Renamed all the theme folders to BACKUP_name except for the twenties.

    No go.

    Plugins?

    Thread Starter graceycat

    (@graceycat)

    OK, I’m in now and into the folder/code where it says the error is (see I almost know what I’m doing!)… this is what I see around the line where their claims to be an error

    _______________________

    function do_action($tag, $arg = ”) {
    global $wp_filter, $wp_actions, $merged_filters, $wp_current_filter;

    if ( ! isset($wp_actions[$tag]) )
    $wp_actions[$tag] = 1;
    else
    ++$wp_actions[$tag];

    // Do ‘all’ actions first
    if ( isset($wp_filter[‘all’]) ) {
    $wp_current_filter[] = $tag;
    $all_args = func_get_args();
    _wp_call_all_hook($all_args);
    }

    if ( !isset($wp_filter[$tag]) ) {
    if ( isset($wp_filter[‘all’]) )
    array_pop($wp_current_filter);
    return;
    }

    if ( !isset($wp_filter[‘all’]) )
    $wp_current_filter[] = $tag;

    $args = array();
    if ( is_array($arg) && 1 == count($arg) && isset($arg[0]) && is_object($arg[0]) ) // array(&$this)
    $args[] =& $arg[0];
    else
    $args[] = $arg;
    for ( $a = 2; $a < func_num_args(); $a++ )
    $args[] = func_get_arg($a);

    // Sort
    if ( !isset( $merged_filters[ $tag ] ) ) {
    ksort($wp_filter[$tag]);
    $merged_filters[ $tag ] = true;
    }

    reset( $wp_filter[ $tag ] );

    do {
    foreach ( (array) current($wp_filter[$tag]) as $the_ )
    if ( !is_null($the_[‘function’]) )
    call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’]));

    } while ( next($wp_filter[$tag]) !== false );

    array_pop($wp_current_filter);

    __________

    Line 476 = first blank line under } after //do all
    Line 505 = “call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’]));”

    Thoughts? Something easy to fix in the code editor??

    Thread Starter graceycat

    (@graceycat)

    Well, that’s what I have been trying to figure out. I… think so? Maybe? Or maybe I have it for another blog? I know that when I search for FTP in my gmail, where I am a meticulous digital packrat, I can’t find it… any other ways I might locate that?

    ETA: wait, got it. Now what?

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