1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MaxCDN

Discussion in 'XenForo Questions and Support' started by Ablac, Feb 4, 2012.

  1. Ablac

    Ablac Active Member

    I am trying to setup MaxCDN on my website and fallowing there instructions for Xenforo i added this to my config.php

    Code:
    $config['externalDataUrl'] = ‘http://cdn.theocraft.org/data’;
    $config['javaScriptUrl'] = ‘http://cdn.theocraft.org/js’;
    After adding that i got this error

    Code:
    Parse error: syntax error, unexpected ':' in /home/theocraf/public_html/library/config.php on line 13 When make the config.php 
    Checking the config line 13 is
    Code:
    $config['externalDataUrl'] = ‘http://cdn.theocraft.org/data’;
    I'm not sure what i did wrong i just copied and pasted the code they supplied and updated the URL's.

    Heres my entire config.php
    Code:
    <?php
     
    $config['db']['host'] = 'localhost';
    $config['db']['port'] = '****';
    $config['db']['username'] = '**************';
    $config['db']['password'] = '*************';
    $config['db']['dbname'] = '**************';
    $config['debug'] = true;
    $config['cache']['enabled'] = true;
    $config['cache']['frontend'] = 'Core';
    $config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
    $config['cache']['backend'] = 'File';
    $config['externalDataUrl'] = ‘http://cdn.theocraft.org/data’;
    $config['javaScriptUrl'] = ‘http://cdn.theocraft.org/js’;
    $config['superAdmins'] = '1';
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Try replacing the with ''
     
  3. Mike

    Mike XenForo Developer Staff Member

    Just to be a little clearer, those are "smart quotes". They need to just be simple single quotes ('). Try editing it in Notepad or Wordpad, for example.
     
  4. Ablac

    Ablac Active Member

    Thanks, It's working now :)
     
  5. Digital Doctor

    Digital Doctor Well-Known Member

    ’nice pickup
    :)
     

Share This Page