Plug in not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 1yesfan
    Senior Member
    • Feb 2002
    • 616
    • 3.6.x

    Plug in not working

    ANYTHING I try to do in the plug in area of my admin panel I get the below error.



    Fatal error: Cannot redeclare delete_product() in /home/yesrocks/public_html/includes/adminfunctions.php on line 3195


    I relaoded the php file listed but still not working.
    Tim L
    www.yesfans.com
  • Scott MacVicar
    Former vBulletin Developer
    • Dec 2000
    • 13286

    #2
    Disable plugins manually by adding the following in config.php

    Code:
    define('DISABLE_HOOKS', true);
    I suspect you've got a plugin with a duplicate function name since thats where the delete_product function should be.
    Scott MacVicar

    My Blog | Twitter

    Comment

    • 1yesfan
      Senior Member
      • Feb 2002
      • 616
      • 3.6.x

      #3
      I have not added any plug ins. The site is a fresh install with no additions yet. This is a error, new out of the box.
      Tim L
      www.yesfans.com

      Comment

      • Scott MacVicar
        Former vBulletin Developer
        • Dec 2000
        • 13286

        #4
        Then you have an old file, run the suspect file checking facility within the diagnostics section of the admin panel.
        Scott MacVicar

        My Blog | Twitter

        Comment

        • 1yesfan
          Senior Member
          • Feb 2002
          • 616
          • 3.6.x

          #5
          I did, it says all files of 3.5.2 i am runnign 3.5.4, how can the files be older if this is a new install, not a upgrade!
          Tim L
          www.yesfans.com

          Comment

          • Steve Machol
            Former Customer Support Manager
            • Jul 2000
            • 154488

            #6
            You need to download the 3.5.4 zip file and upload those files. Make sure you overwrite the ones on the server.
            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
            Change CKEditor Colors to Match Style (for 4.1.4 and above)

            Steve Machol Photography


            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


            Comment

            • 1yesfan
              Senior Member
              • Feb 2002
              • 616
              • 3.6.x

              #7
              WHY? I just uploaded all the stuff from 3.5.4 2 nights ago. why didnt that have the up to date info???
              Tim L
              www.yesfans.com

              Comment

              • Colin F
                Senior Member
                • May 2004
                • 17689

                #8
                Possibly one of the files got corrupted during the down- or upload.
                Best Regards
                Colin Frei

                Please don't contact me per PM.

                Comment

                • 1yesfan
                  Senior Member
                  • Feb 2002
                  • 616
                  • 3.6.x

                  #9
                  OK, i figured it out. Thanks for pointing me in the right direction.
                  Tim L
                  www.yesfans.com

                  Comment

                  • 1yesfan
                    Senior Member
                    • Feb 2002
                    • 616
                    • 3.6.x

                    #10
                    tested, all good now! Thanks guys! I did have OLD files from last dec. DUH. This is all new to me. Now that I have to do it all myself, old server owner did it, I am now on a crash course to learn.
                    Tim L
                    www.yesfans.com

                    Comment

                    • Scott MacVicar
                      Former vBulletin Developer
                      • Dec 2000
                      • 13286

                      #11
                      There is a check for old files available in diagnostics to help, its a good idea to run it after upgrades to check.
                      Scott MacVicar

                      My Blog | Twitter

                      Comment

                      • rom56
                        New Member
                        • Nov 2005
                        • 1

                        #12
                        Hello all

                        I have the same error, I try to add the line in config.php but it's same... check for old files available. I have file from 3.5.0 but i have overwrite all the files from the zip of the 3.5.4 's version

                        it 's ok : my FTP 's client is bad sorry !
                        Last edited by rom56; Wed 12 Apr '06, 4:21am.

                        Comment

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