• Resolved WelshDog

    (@welshdog)


    Link to my site:: http://www.opinionaustralia.com
    WP Ver: not sure 3.8 poss
    Default Forum Language: English
    Theme name and version: Modern Paper
    Browser Name and Version: Chrome 28 (I think)
    PlugIns installed: Stop Spammer, Akismet, sharepress, jetpack, disqus-comment-system, 1-flash-gallery

    Related Error messages: Parse error: syntax error, unexpected ‘<‘ in /home/opinion/public_html/wordpress/wp-config.php on line 5

    The above Parse Error is related to line 5. Here are the top 6 lines.

    <?php
    /** Enable W3 Total Cache */
    define(‘WP_CACHE’, true); // Added by W3 Total Cache
    /**/
    <?php
    // ** MySQL settings ** //

    I have no understanding of php at all but I can’t see an issue here. Does it perhaps have <?php twice where it should be once?? Can someone assist please??

Viewing 2 replies - 1 through 2 (of 2 total)
  • You are opening the php command twice; without properly closing it the first time.

    Let’s try this:

    <?php
     /** Enable W3 Total Cache */
     define('WP_CACHE', true); // Added by W3 Total Cache
    
     // ** MySQL settings ** //

    Thread Starter WelshDog

    (@welshdog)

    Done… and done. Magic.

    Suddenly up comes the site. I’ve no idea how the extra code got added because I’ve never touched the file, but all is well now. 😀

    Many thanks… ten years (intermittent) work saved! 🙂

    Solved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse error… rebuild req?’ is closed to new replies.