• I had an issue with WP not allowing me to access admin CP (white screen) after attempting to deactivate Picasa plugin. In attempting to troubleshoot I edited config.php and have been getting the below error ever since:

    Parse error: syntax error, unexpected $end in /home3/allstav4/public_html/aussieontheroad/wp-config.php on line 1

    Can somebody look over my code and see what is wrong? I’ve changed the login details so they’re not my actual ones for the purpose of this post.

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Make a break at the top:

    <?php/** *

    Should be:

    <?php
    /** *
    Thread Starter CWBush83

    (@cwbush83)

    Thanks.

    Now I’m getting:
    Fatal error: Call to undefined function wp() in /home3/allstav4/public_html/aussieontheroad/wp-blog-header.php on line 14

    <?php
    /**
     * Loads the WordPress environment and template.
     *
     * @package WordPress
     */
    
    if ( !isset($wp_did_header) ) {
    
    	$wp_did_header = true;
    
    	require_once( dirname(__FILE__) . '/wp-load.php' );
    
    	wp();
    
    	require_once( ABSPATH . WPINC . '/template-loader.php' );
    
    }
    
    ?>

    This function is not recognized:

    wp();

    This means your WP files are not complete. Try to do a manual upgrade of your blog: https://www.wplancer.com/upgrading-wordpress-in-ten-easy-steps/

    Thread Starter CWBush83

    (@cwbush83)

    Now I seem to have lost all access.

    I just get this:

    Warning: require_once(/home3/allstav4/public_html/aussieontheroad/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /home3/allstav4/public_html/aussieontheroad/wp-admin/admin.php on line 20

    Fatal error: require_once() [function.require]: Failed opening required ‘/home3/allstav4/public_html/aussieontheroad/wp-load.php’ (include_path=’.:/usr/lib64/php:/usr/lib/php’) in /home3/allstav4/public_html/aussieontheroad/wp-admin/admin.php on line 20

    at the admin screen

    FML

    You’re just missing some files. Did you make the upgrade?

    Thread Starter CWBush83

    (@cwbush83)

    I tried to based on those instructions, but I didn’t have much luck at all. I am completely overwhelmed by this kind of thing.

    Would you like me to get on board to help you for a few bucks?

    Thread Starter CWBush83

    (@cwbush83)

    How much are we saying? At this point I’m getting a little stressed. I don’t make a lot of coin from this site, but it is something I’d rather not lose access to for long.

    Let’s talk in private: banago at gmail.

    Thread Starter CWBush83

    (@cwbush83)

    Email sent

    We’re both happy now ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Parse error’ is closed to new replies.