• I recently got the darkonyx plugin and it was working but then I tried to access my CP and got this error message.

    Parse error: syntax error, unexpected T_STRING in /home/dead2010/domains/deathsdoorprods.com/public_html/darkonyx/panel/system/PlayerConfig.php on line 3

    I posted something on their boards but since this is a WordPress error message I figured I should post one here. Here is the first few lines of code from the directory

    <?php
    $config = array();
    $config[‘website_title’] = ‘Death’s Door Prods’;
    $config[‘website_url’] = ‘http://www.deathsdoorprods.com/&#8217;;
    $config[‘player_mode’] = ‘auto’;
    $config[‘viewers’] = ‘1’;
    $config[‘video_base’] = ‘javascript’;

    Anyone know how to fix this?

Viewing 1 replies (of 1 total)
  • Either encapsulate the variable’s value with double quotes, or escape the single quote…

    $config['website_title'] = 'Death's Door Prods';
    $config['website_title'] = 'Death\'s Door Prods';
    $config['website_title'] = "Death's Door Prods";

Viewing 1 replies (of 1 total)

The topic ‘Parse error unexpected T_STRING’ is closed to new replies.