No announcement yet.

Error when trying to login to admincp after upgrade...

  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Error when trying to login to admincp after upgrade...

    I just upgraded a forum hosted on godaddy to vb4 thought everything was going good, forum although its still closed seems to be loading up fine...however when trying to access either the admincp or the modcp I get the following error

    [B]Parse error[/B]:  parse error, unexpected T_STRING, expecting  T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in [B]/home/content/c/h/r/xxxxxx/html/vBulletin/includes/init.php[/B]  on line [B]321[/B]

  • #2
    I would try uploading all you files except for images again.
    Be sure you are loading them as text.

    Or at least includes/init.php but you may have problems elsewhere.
    ...steven (vB3.8) | (vB4.2) |
    "I tried to clean this up but this thread is beyond redemption." - Steve Machol


    • #3
      Is it running php 4? I think you need to edit a file or something in order to use php 5 on their servers.

      Please don't PM or VM me for support - I only help out in the threads.
      vBulletin Manual & vBulletin 4.0 Code Documentation (API)
      Want help modifying your vbulletin forum? Head on over to
      If I post CSS and you don't know where it goes, throw it into the additional.css template.

      W3Schools <- awesome site for html/css help


      • #4
        Yes it is running 4, anyone know how to resolve the issue


        • #5
          Before the upgrade, I noticed all their .php files were named .php5


          • #6
            nevermind, found an option in godaddy to run .php under php5 and it seems to load fine now


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