Menu

XAMMP installation: unexpected T_STRING

CorKy
2007-10-10
2013-04-17
  • CorKy

    CorKy - 2007-10-10

    has anybody seen this before:
    "
    Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\MyWork\Tools\phpCodeGenie\app\settings\genieConfiguration.inc.php on line 6
    "

    this while my genieConfiguration.inc.php looks like this:
    <?
       session_start();
       define("URL_ADDRESS","http://localhost/MyWork/Tools/phpCodeGenie/web/");
       define("SITE_PATH","C:\xampp\htdocs\MyWork\Tools\phpCodeGenie");   // no trailing slashes
       define("FILE_SEPARATOR","\&quot;);
       define("OS_TYPE","win"); // so this is line 6 !!!
       define("WEB_SEPARATOR","/");
       define("APP_PATH",SITE_PATH.FILE_SEPARATOR."app");
       define("WEB_PATH",SITE_PATH.FILE_SEPARATOR."web");   
       define("LANGUAGE_FILE",APP_PATH.FILE_SEPARATOR."language".FILE_SEPARATOR."lang_english.inc.php"); 
       define("CONFIG_COMPONENT",APP_PATH.FILE_SEPARATOR."settings");
       define("CONFIG_FILE",CONFIG_COMPONENT.FILE_SEPARATOR."definitions.inc.php");  
       include_once(CONFIG_FILE);  

    ?>

    Any suggestions would be extremely welcome ;-)

     
    • tiancris

      tiancris - 2007-12-04

      Hello!
      In this line:
      define("FILE_SEPARATOR","\&quot;);

      you should write this:
      define("FILE_SEPARATOR","\\&quot;);

      or this:
      define("FILE_SEPARATOR","/");

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.