1
Liliplanet
Parse error: syntax error, unexpected ')
  • 2006/4/16 20:07

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


Hi Again,

After the white screen on index.php and admin, I found a way to turn on debug 'error_reporting(E_ALL);' in common.php, and this is the result ...

see http://www.filmmaker.co.za/cms

Also several odd files in the templates_c folder, should that be?

Parse error: syntax error, unexpected ')' in /home/mysite/templates_c/%%22^222^222153D0%%db%3Asystem_block_user.html.php on line 18

Any ideas perhaps what causes this?
Most appreciate a reply.

Sincere regards,
Lilian

2
gestroud
Re: Parse error: syntax error, unexpected )
  • 2006/4/16 20:10

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


delete the template_c files except for the index.html

3
Liliplanet
Re: Parse error: syntax error, unexpected )
  • 2006/4/16 20:13

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


Thank you again Getroud. Yes, I've already done that, deleted the files except index.html and cleared the cache.

Still the same .. I've rechecked the paths of installation and that's fine.

Also searched forum several times, and does not seem to be there. Any further ideas perhaps?

Would love to make this work.

Thank you.

Lilian

4
gestroud
Re: Parse error: syntax error, unexpected )
  • 2006/4/16 20:18

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


Have you tried a fresh install now that the problem files are gone?

5
Liliplanet
Re: Parse error: syntax error, unexpected )
  • 2006/4/16 20:27

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


I'm going to delete all, and start from the beginning again. Which version should I use, 2.0.13.2 Full or 2.2 Full?

Thx. Lilian

6
gestroud
Re: Parse error: syntax error, unexpected )
  • 2006/4/16 20:32

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


Depends. What modules are you going to use?

7
Liliplanet
Re: Parse error: syntax error, unexpected )
  • 2006/4/17 0:06

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


Hi!

I have now deleted and reinstalled all from the beginning (for the 3rd time). I can access admin with lots of errors, yet index.php and all other receive the following baffling errors .. what does this all mean?

Please help, thank you.
Lilian

Parse error: syntax error, unexpected ')' in /home/mysite/templates_c/%%22^222^222153D0%%db%3Asystem_block_user.html.php on line 18
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 380
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 380
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 202
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 338
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 202
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 338
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 380
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 380
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 380
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 202
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 338
Notice [PHP]: Only variable references should be returned by reference in file kernel/config.php line 151
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 65
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 65
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 65
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 65
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 65
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 65
Notice [PHP]: Only variable references should be returned by reference in file kernel/configitem.php line 65
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 93
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 202
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 338
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 202
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 338
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 202
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 93
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 220
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 241
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 93
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 202
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 338
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 202
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 338
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 93
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 93
Notice [PHP]: Only variable references should be returned by reference in file class/database/database.php line 93
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 220
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 241
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 220
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 241
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 220
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 241
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 220
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 241
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 220
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 241
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 220
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 241
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 220
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 241
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 220
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 241
Notice [PHP]: Only variable references should be returned by reference in file class/module.textsanitizer.php line 220
Notice [PHP]: Only variable references should be returned by reference in file kernel/object.php line 241
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 380
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 202
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 338

Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 380
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 380
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 202
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 338
Notice [PHP]: Only variables should be assigned by reference in file class/database/mysqldatabase.php line 202
Notice [PHP]: Only variable references should be returned by reference in file class/database/mysqldatabase.php line 338
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 380
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 380
Notice [PHP]: Only variable references should be returned by reference in file include/functions.php line 380

Queries
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data FROM xoops_session WHERE sess_id = '50d6bf299c6bcf7062a2d8104539f41f'
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_modules WHERE dirname = 'system'
SELECT * FROM xoops_configcategory WHERE confcat_id=1
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT * FROM xoops_modules WHERE (hasmain = '1' AND isactive = '1') ORDER BY weight ASC, mid ASC
SELECT * FROM xoops_tplset
SELECT * FROM xoops_configoption WHERE conf_id = '13' ORDER BY confop_id ASC
SELECT * FROM xoops_groups WHERE groupid != '3'
SELECT * FROM xoops_configoption WHERE conf_id = '32' ORDER BY confop_id ASC
SELECT * FROM xoops_configoption WHERE conf_id = '33' ORDER BY confop_id ASC
SELECT * FROM xoops_smiles
SELECT * FROM xoops_modules WHERE hasmain = '1' ORDER BY weight ASC, mid ASC
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2'))
Total: 15 queries

Blocks
Total: 0 blocks

Execution Time
XOOPS took 0.44735312461853 seconds to load.

Extra
Close

SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data FROM xoops_session WHERE sess_id = '50d6bf299c6bcf7062a2d8104539f41f'
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2'))
Total: 4 queries

Blocks
Total: 0 blocks

Execution Time
XOOPS took 0.20636415481567 seconds to load.

8
gestroud
Re: Parse error: syntax error, unexpected )
  • 2006/4/17 0:54

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


The Notices and everything following them aren't a real concern - basically means that the coders have some "grammatical" errors in their coding. The rest is a database query report.

This is the real problem:

Parse error: syntax error, unexpected ')' in /home/mysite/templates_c/%%22^222^222153D0%%db%3Asystem_block_user.html.php on line 18

Are you still getting a blank page?

9
Liliplanet
Re: Parse error: syntax error, unexpected )
  • 2006/4/17 0:59

  • Liliplanet

  • Just popping in

  • Posts: 31

  • Since: 2006/4/16


Thank You for Your Help! It's 3.30 am in Cape Town and still going.

I've got debug php on, so it shows the following:

http://www.filmmaker.co.za/cms/index.php

without the debug, yes a blank page.

It would be fabulous to make this work ...
Lilian

10
gestroud
Re: Parse error: syntax error, unexpected )
  • 2006/4/17 1:21

  • gestroud

  • Home away from home

  • Posts: 1538

  • Since: 2004/12/22


Just out of curiousity, is there any way you could download a fresh version of XOOPS and replace this file on your server?

class/smarty/Smarty_Compiler.class.php

Login

Who's Online

305 user(s) are online (242 user(s) are browsing Support Forums)


Members: 0


Guests: 305


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