Forum Moderators: coopster

Message Too Old, No Replies

Parse error - unexpected T STRING

I am new to PHP and would like a resolution

         

brianarywe

3:39 am on Jul 17, 2008 (gmt 0)

10+ Year Member



I get the following error message in accessing the website:

Parse error: syntax error, unexpected T_STRING in /home/bhillsbl/public_html/example.com/includes/config.php on line 97

The section in question is:

// Links Manager
//********************************
// Links Manager Admin Password
define('ADMIN_PASS', 'admin');
// Admin Email // Only needed if NOTIFY_ADMIN=1
define('ADMIN_EMAIL', 'admin@example.com);
// Send you an e-mail everytime someone adds a link? 1=YES, 0=NO
line 97 define('NOTIFY_ADMIN', '1');
// Maximum number of links
define('MAX_LINKS', '25');

I cannot see the problem.

[edited by: eelixduppy at 3:43 am (utc) on July 17, 2008]
[edit reason] removed specifics [/edit]

eelixduppy

3:45 am on Jul 17, 2008 (gmt 0)



Hello and Welcome to WebmasterWorld! :)

You are missing a closing quote on this line after the email address:


define('ADMIN_EMAIL', 'admin@example.com');

Should do the trick :)