Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

parse error, unexpected T_STRING

Parse error: parse error, unexpected T_STRING in c:\Inetpub\vhosts\pgn.gen.tr\httpdocs\hershey\conf\settings.php on line 41 What is it?

Comments

  • We're not psychic! If you could paste lines 39-43 of your settings.php it would help :D
  • sorry :) but i didn't change this lines; line 38 if ($Context->Session->User->Permission($RequiredPermissions[$i])) { 39 $Allowed = 1; 40 break; 41 } 42 } 43 if (!$Allowed) header('location:'.GetUrl($Configuration, 'index.php'));
  • That's your conf/settings.php file? What extensions are you running? When did this error first start?
  • edited October 2006
    I'm guessing it has to do with the Announcement extension. That's the same error I got when I put in a br. There is another thread on this topic which I'll look for. Look at this.
  • Thanks, problem is over :)
This discussion has been closed.