No announcement yet.

Parse error Global.php

  • Filter
  • Time
  • Show
Clear All
new posts

  • Parse error Global.php

    I continue to got this in my phperror file.
    [05-Mar-2003 09:47:30] PHP Parse error: parse error, unexpected '{', expecting '(' in C:\Inetpub\wwwroot\SWZ\forum\global.php(313) : eval()'d code on line 32

  • #2
    This belongs in the vBulletin 2 Troubleshooting forum

    Anyways... I believe this is the line that belongs to the gettemplate call for the head_newpm template (the one that pops up the message whenever you get a new private message) - which is weird since no PHP is allowed in templates other than phpinclude.

    But since your file may be different than mine, I'd say either revert your phpinclude template if it's not default already, or check the code inside it for the parse error.


    • #3
      Originally posted by Rostor
      I continue to got this in my phperror file.
      Reupload the default files and remove any code from the PHPINCLUDE template and let us know if the problem persists.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API


      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.