1
rudycash
Unexpected parse error
  • 2005/12/19 17:29

  • rudycash

  • Just popping in

  • Posts: 70

  • Since: 2004/2/12


Parse error: parse error, unexpected $ in /home/joe/public_html/weddingdirectory/include/common.php on line 172

This site was working fine - but suddenly it has disappeared and gives the above error.

I've emptied the cache and the templates_ c folder

suggestions of how to get this site online would be appreciated.

2
davidthomas1
Re: Unexpected parse error

The error: Parse error: parse error, unexpected $ in...

has a couple of causes I'm aware of:

1) incorrect number of curly braces { } in the PHP code.
2) extra whitespace at the beginning or end of the script file.
3) incorrect file encoding.

Solutions

1) Check that the correct number of opening and closing braces are present in the code.
2) Delete any extra whitespace at front or end of your PHP file.
3) Open the file in notepad or similar and save as ANSI or UTF-8 as the case permits.

HIH
みんなちがってみんないい。

XOOPS 2.0.13.2

3
erzon
Re: Unexpected parse error
  • 2005/12/20 10:09

  • erzon

  • Quite a regular

  • Posts: 211

  • Since: 2005/1/1 3


did you do any changes in core files?

Login

Who's Online

162 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 162


more...

Donat-O-Meter

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

Latest GitHub Commits