1
PAK123
Parse error - help!!
  • 2008/2/13 17:22

  • PAK123

  • Just popping in

  • Posts: 3

  • Since: 2008/2/6 2


Could anyone please tell me why I would be getting this error...

Parse error: syntax error, unexpected '{' in...

Below is the first bit of code.

assign( 'xoops_showrblock', 1); // 1 = With right block - 0 = Without right block$xoopsTpl->assign( 'xoops_showlblock', 0); // 1 = With left block - 0 = Without left block?>


Thanks for your help.

2
Reintjan
Re: Parse error - help!!
  • 2008/2/14 8:37

  • Reintjan

  • Not too shy to talk

  • Posts: 144

  • Since: 2005/3/17


When does this error occur? Before or after installation of Xoops? Or after installation of a module or activating a module block?
Be smart, stay smart. Stay one step ahead...

3
blueteen
Re: Parse error - help!!
  • 2008/2/14 12:31

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16


Hello,
we need the filename (and it's path) and the exact error message (which line).

copy/paste you code between [ code ] and [ /code ] tags (without spaces into brackets).

4
stefan88
Re: Parse error - help!!
  • 2008/2/14 13:31

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

I guess this is theme.html file ...

did you try to use the smarty tags for php:
<{php}>
...
YOUR PHP CODE
...
<{/
php}>
..

5
blueteen
Re: Parse error - help!!
  • 2008/2/14 13:42

  • blueteen

  • Quite a regular

  • Posts: 379

  • Since: 2004/7/16


I don't think it's in his theme.html file
Bad syntax are not displayed like this in theme.tml
Quote:
Parse error: syntax error, unexpected

Login

Who's Online

339 user(s) are online (291 user(s) are browsing Support Forums)


Members: 0


Guests: 339


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits