• Hello,

    I need your help to fix an error in my website. I’m developing the wordpress website in “www.domain.com/private” where the wp-admin is in “www.domain.com/private/wp-admin. The problem is that after the job done, the “www.domain.com/private/wp-admin” generates the following error message:

    Parse error: syntax error, unexpected ”);’ (T_CONSTANT_ENCAPSED_STRING) in /var/www/vhost/urbitecto.pt/home/html/private/wp-config.php on line 90

    
    define('WP_DEBUG', false);
    
    /* That's all, stop editing! Happy blogging. */
    
    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘/wp-settings.php');
    
    define( 'WP_ALLOW_MULTISITE', true );
    
    define ('FS_METHOD', 'direct');
    

    And “www.domain/private/” generates the following error message:

    Parse error: syntax error, unexpected ‘private’ (T_PRIVATE) in /var/www/vhost/urbitecto.pt/home/html/private/index.php on line 17

    
    /**
     * 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__ ) . ‘/private/wp-blog-header.php' );
    

    Can you help me? I’m trying to fix it and I’m not solving.

    Thank you

    • This topic was modified 9 years, 6 months ago by Jose Castaneda. Reason: please use backticks for code, removed user info
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi!

    First, change all your passwords since you did post the contents of your config file.

    Second, what have you tried to resolve this? Have you tried deactivating all your plugins?

    Thread Starter dporfirioantunes

    (@dporfirioantunes)

    Hi Jose,

    How can I change the passwords if I don’t have access to the website bacoffice? When I try to access to wwww.domain.com/private/wp-admin generates the error message. I can’t log in. I’m starting now in this programming world so probably I don’t know how to do it.

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

The topic ‘Error’ is closed to new replies.