Author Topic: Parse Error  (Read 5608 times)

Orogan

  • Newbie
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Parse Error
« on: June 10, 2008, 12:17:51 pm »
I have installed the lastest version of +nb and this is what I got:

Code: [Select]
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/shino0/public_html/nb/lib/output.php on line 13
What is wrong?

Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: Parse Error
« Reply #1 on: June 17, 2008, 02:27:23 pm »
Do you REALLY have the latest version?

Because the file you mention does work on my live server without fault. Oo

Download the version from HERE anew and replace the file.
It should be fixed, but it won't be easy and it won't be fast. If you want
to help - wonderful. But keep in mind that it will take months of wading
through the ugliest code we have in the tree. If you've got a weak stomach -
stay out. I've been there and it's not a nice place.

   - Al Viro

Orogan

  • Newbie
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Parse Error
« Reply #2 on: June 19, 2008, 02:41:07 pm »
Ok, I will try that.

Adept

  • Guest
Re: Parse Error
« Reply #3 on: January 26, 2009, 01:33:36 am »
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/shino0/public_html/nb/lib/output.php on line 13

FYI: I got the same error. Resolved it by switching to PHP 5.


Nightborn

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
  • Karma: +20/-0
    • View Profile
    • Shinobilegends
Re: Parse Error
« Reply #4 on: January 26, 2009, 05:47:05 pm »
Thanks - in the install instruction I specifically say I only program for PHP5 =) so everything alright
It should be fixed, but it won't be easy and it won't be fast. If you want
to help - wonderful. But keep in mind that it will take months of wading
through the ugliest code we have in the tree. If you've got a weak stomach -
stay out. I've been there and it's not a nice place.

   - Al Viro