Hi Everyone, I am new to uploading /ftp websites on linux. I am trying to edit a config.php error but cant seem to grasp it and it is so frustrating. following is the error I get:Parse error: syntax error, unexpected T_STRING in /home/vouchers/public_html/includes/config.php on line 5
and following below are the edited config, and the original. Any help or advice given will be greatly appreciated, and hopefully I will be able to learn from it. Thanks in advance for any help given
Edited Config
<?php
define('HTTP_SERVER', '
http://localhost
define('DIR_WS_HTTP_FOLDER', ''); //public_html
define('USE_SEO_URLS', true); // Use SEO friendlt URLs.
define('ANSWERS_URL', 'http://demo.topmarketingadvice.com'); // Don't change this unless instructed by us!
// Database Settings
define('DATABASE_HOST','localhost'); // Hostname of database server. Usually 'localhost'
define('DATABASE_NAME','*******'); // The name of the database to connect to
define('DATABASE_USER','*******'); // The username to connect to the database as
define('DATABASE_PASS','**********'); // The password to use on the database
define('TABLE_PREFIX','qa_'); // prefix of table in database used by script. Leave as it is unless you have more than one install.
?>
Original Config
<?php
define('HTTP_SERVER', 'http://demo.topmarketingadvice.com'); // eg,
http://localhost or
http://www.mysite.com - should not be empty
define('DIR_WS_HTTP_FOLDER', ''); // path to script. Begins with slash, does not end with slash. for
www.mysite.com/folder it would be /folder. For
www.mysite.com it'd be left empty.
define('USE_SEO_URLS', true); // Use SEO friendlt URLs. Set to false if your server doesn't support it.
define('ANSWERS_URL', 'http://demo.topmarketingadvice.com'); // Don't change this unless instructed by us!
// Database Settings
define('DATABASE_HOST','localhost'); // Hostname of database server. Usually 'localhost'
define('DATABASE_NAME','adsensegoldmine'); // The name of the database to connect to
define('DATABASE_USER','demo'); // The username to connect to the database as
define('DATABASE_PASS','12admin34'); // The password to use on the database
define('TABLE_PREFIX','qa_'); // prefix of table in database used by script. Leave as it is unless you have more than one install.
?>