• Resolved webqueenhtc

    (@webqueenhtc)


    Got this error message:

    Parse error: syntax error, unexpected ” );’ (T_ENCAPSED_AND_WHITESPACE) in /home/sockup3/public_html/index.php on line 17

    when copying the index.php n .htaccess to the root directory following instruction from Using a pre-existing subdirectory install at www.ads-software.com site.

    here’s my index.php code:

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . ‘/wp5/wp-blog-header.php' );    --- this is line 17

    I have done the above on other site so many time successfully, can someone look at the code above and tell what is wrong?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse error: syntax error, unexpected ” );’ (T_ENCAPSED_AND_WHITESPACE)’ is closed to new replies.