trying to enable plugins

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • waz000000
    Member
    • Aug 2009
    • 31

    trying to enable plugins

    hi when i try to enable plugins by remove disable hooks from config.php i get the following error:

    Parse error: syntax error, unexpected '<' in PATH\forum\includes\init.php(351) : eval()'d code on line 68


    the only products ive got installed are:
    forum 4.2.2
    forum runner 4.2.2
    skimlinks plugin 4.2.2

    plugins are:
    (attached in screen shot)

    any advice the forum only works if i set disable hooks to true
  • waz000000
    Member
    • Aug 2009
    • 31

    #2
    this is the line i think it's complaining at
    ($hook = vBulletinHook::fetch_hook('init_startup')) ? eval($hook) : false;

    Comment

    • donald1234
      Senior Member
      • Oct 2011
      • 1953
      • 4.1.x

      #3
      What text editor are you using to edit config.php?

      Comment

      • waz000000
        Member
        • Aug 2009
        • 31

        #4
        textpad
        Last edited by waz000000; Mon 6 Apr '15, 10:28am.

        Comment

        • kh99
          Senior Member
          • Aug 2009
          • 533

          #5
          Check the second and third ones in the list, the ones using init_startup. If you don't know what they are then you probably want to deactivate them (uncheck the boxes and click "Save Active Status").

          Comment

          • donald1234
            Senior Member
            • Oct 2011
            • 1953
            • 4.1.x

            #6
            Originally posted by waz000000
            textpad
            Try again with notepad++

            Comment

            • waz000000
              Member
              • Aug 2009
              • 31

              #7
              textpad is as good as notepad++ (not talking windows textpad it's a product called textpad)

              anyway disabling those 2 plugins seems to have done the trick so brilliant thank you

              Comment

              • Wayne Luke
                vBulletin Technical Support Lead
                • Aug 2000
                • 73981

                #8
                Did you write those plugins assigned to the vBulletin product? By default there should not be any plugins assigned to that product and they are most likely compromising your site's security if you did not write them. I suggest deleting them outright if you don't know where they came from.
                Translations provided by Google.

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

                Comment

                • waz000000
                  Member
                  • Aug 2009
                  • 31

                  #9
                  as far as i know they came with the upgrade, however it's clear they are not needed so will delete them.

                  Comment

                  • Mark.B
                    vBulletin Support
                    • Feb 2004
                    • 24286
                    • 6.0.X

                    #10
                    Also just for information, yes Textpad is fine as a text editor, it works just as well as Notepad++.

                    Issues arise using things like Windows Notepad, Wordpad, MS Word etc.
                    MARK.B
                    vBulletin Support
                    ------------
                    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                    Comment

                    • kh99
                      Senior Member
                      • Aug 2009
                      • 533

                      #11
                      Originally posted by waz000000
                      as far as i know they came with the upgrade, however it's clear they are not needed so will delete them.

                      Just to make sure, as Wayne said that includes all the plugins in the vbulletin section, so you should also disable or delete that first one called "Security" if you don't know what it is.

                      Comment

                      • waz000000
                        Member
                        • Aug 2009
                        • 31

                        #12
                        thanks all i have removed them and no issues so far.

                        Comment

                        • Wayne Luke
                          vBulletin Technical Support Lead
                          • Aug 2000
                          • 73981

                          #13
                          Originally posted by waz000000
                          as far as i know they came with the upgrade, however it's clear they are not needed so will delete them.
                          They did not. We do not install any plugins in the vBulletin product.
                          Translations provided by Google.

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

                          Comment

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