Welkom, Gast. Je bent niet ingelogd.

Unexpected T_STRING

Xzelicon
Tjah...
Geplaatst op: 11 May 2008, 21:24
PimpCoins: 0
💸+
Bewerken Quote

Hey,
nadat ik dit php bestandje:

1
2
3
4
5
6
7
8
9
10
11
12
<?php
// Title
$_['title']         = '%s (Powered By OpenCart)';

// Heading 
$_['heading_title'] = 'Welcome to %s';

// Text
$_['text_greeting'] = '<p>Welcome <b>Guest!</b> Would you like to <a href="%s">log yourself in</a>? Or would you prefer to <a href="%s">create an account</a>?</p><p>Congratulations! You have successfully installed <a href="http://www.opencart.com">OpenCart</a>.</p><p>Please begin to configure your installation in the <a href="admin/">administration</a>.</p><p>Good Luck!</p>';
$_['text_logged']   = '<p>Welcome back <b>%s!</b></p><p>Congratulations! You have successfully installed <a href="http://www.opencart.com">OpenCart</a>.</p><p>Please begin to configure your installation in the <a href="admin/">administration</a>.</p><p>Don\'t forget to change the default administration username and password to keep your online shop secure.</p>';
$_['text_latest']   = 'Latest Products';
?>

Heb veranderd naar:
1
2
3
4
5
6
7
8
9
10
11
12
<?php
// Title
$_['title']         = '%s (Powered By OpenCart)';

// Heading
$_['heading_title'] = 'Welcome to %s';

// Text
$_['text_greeting'] = '<p>Welcome <b>Guest!</b> Would you like to <a href="%s">log yourself in</a>? Or would you prefer to <a href="%s">create an account</a>?</p><p>Welcome to the biggest pricelist of Belgium and the Netherlands!</p><p>Please look around an feel free to put some products in youre basket for a total price.</p><p>Don't forget that we don't sell anything!</p>';
$_['text_logged']   = '<p>Welcome back <b>%s!</b></p><p>Welcome to the biggest pricelist of Belgium and the Netherlands!</p><p>Please look around an feel free to put some products in you're basket for a total price.</p><p>Don't forget that we don't sell anything!</p>';
$_['text_latest']   = 'Latest Products';
?>

Krijg ik deze error: Parse error: syntax error, unexpected T_STRING in /home/*domain*/domains/*domain*/public_html/catalog/language/english/controller/home.php on line 9
Maar ik zie de fout niet?

Saven
admin
Geplaatst op: 11 May 2008, 21:26
PimpCoins: 0
💸+
Bewerken Quote

No shit
Je ziet toch dat er wat fout is door de highlighting..

hint: escapen \'

Xzelicon
Tjah...
Geplaatst op: 11 May 2008, 21:31
PimpCoins: 0
💸+
Bewerken Quote

Heul niet gezien
Thnx iig, werkt

Insan3
<? epic_fail(); ?>
Geplaatst op: 11 May 2008, 22:07
PimpCoins: 0
💸+
Bewerken Quote

Beter ga je je scripts bewerken in een php editor met highlighting ipv notepad

📫

Nieuw privébericht

🔥

Registreren


Login