• Resolved ozandeu

    (@ozandeu)


    Better wp security that works great before locked our site when apache restarted.
    It looks like that in error_log in httpd; (http://sbe.ege.edu.tr)

    ——————————
    /home/www/sbe/index.php:0
    require() /home/www/sbe/index.php:17
    require_once() /home/www/sbe/wp-blog-header.php:12
    PHP Parse error: syntax error, unexpected ‘define’ (T_STRING) in /home/www/sbe/wp-config.php on line 38
    ——————————-
    Whats wrong?

    https://wordpress.org/plugins/better-wp-security/

Viewing 6 replies - 1 through 6 (of 6 total)
  • It looks like there is a syntax problem on line 38 of your /home/www/sbe/wp-config.php file.

    Please post the content of your wp-config.php file.
    Don’t forget to obscure any sensitive information …

    There is another topic in this forum with a similar problem …
    (BLANK PAGE when accessing website)
    https://wordpress.org/support/topic/blank-page-141

    Which iTSec plugin version and WordPress version are you using ?

    dwinden

    Thread Starter ozandeu

    (@ozandeu)

    /** MySQL hostname */
    define('WP_SITEURL', 'http://sbe.ege.edu.tr');
    define('WP_HOME', 'http://sbe.ege.edu.tr');
    define('RELOCATE',true);
    define('DB_HOST', 'localhost')
    
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    
    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');
    Thread Starter ozandeu

    (@ozandeu)

    line 38: define(‘DB_CHARSET’, ‘utf8’);

    define(‘DB_HOST’, ‘localhost’)

    should be:

    define(‘DB_HOST’, ‘localhost’);

    If the above solves your issue please mark this topic as ‘Resolved’.

    dwinden

    If the issue was resolved please mark this topic as ‘resolved’.

    dwinden

    Thread Starter ozandeu

    (@ozandeu)

    Resolved

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Better wp security that works great before locked our site when apache restart’ is closed to new replies.