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\\httpdocs\hershey\conf\settings.php on line 41 What is it?


  • Options
    We're not psychic! If you could paste lines 39-43 of your settings.php it would help :D
  • Options
    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'));
  • Options
    That's your conf/settings.php file? What extensions are you running? When did this error first start?
  • Options
    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.
  • Options
    Thanks, problem is over :)
This discussion has been closed.