News:

Welcome to SMF Ads Support Forum

Main Menu
Coinbase

Simplewhite Theme

Started by legend 1234, October 24, 2008, 10:15:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

legend 1234

Wooow really nice guide mate

but when i try adding to simplewhite2 i get this error:

btw. all ive done is just index.template.php



Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in .../Themes/simplywhite2/index.template.php on line 281

272: }
273: echo ' </span>';
274: }
275: // Otherwise they're a guest - this time ask them to either register or login - lazy bums...
276: else
277: {
278: echo ' </span>
279: <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>
280:
281: <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" class="middletext" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, '' . $context['session_id'] . '');"' : '', '>282: <input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />
283: <select name="cookielength">
284: <option value="60">', $txt['smf53'], '</option>
285: <option value="1440">', $txt['smf47'], '</option>

JOIN ADVANCEDSCAPE. 24/7 Server with client and tons of features. Website is www.advanced-scape.110mb.com

ccbtimewiz

#1
Topic split.

Could you attach the file?

If you're getting that error, it most likely means that you simply forgot a ';' somewhere previously like:

echo 'this is stuff to echo';
echo' this is more stuff to echo'

function_name($variables);


Look closely at all the code that comes before your 'T_CONSTANT_ENCAPSED_STRING' error, especially the line immediately before.