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","\");
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 ;-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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","\");
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 ;-)
Hello!
In this line:
define("FILE_SEPARATOR","\");
you should write this:
define("FILE_SEPARATOR","\\");
or this:
define("FILE_SEPARATOR","/");