Have you backed up YOUR database today
Started by Ronald, Apr 14, 2019, 12:55 PM
0 Members and 1 Guest are viewing this topic.
Quote from: Bigguy on Apr 14, 2019, 01:24 PMIf I go to uninstall a mod and there is an error I stop right there. I get the code changes I need for that mod by parsing it. Than I uninstall and do the manual edits to removed what errored. The only reason to remove the left over files or folders is if you are not going to re-install that mod again.
Quote from: Skhilled on Apr 14, 2019, 03:38 PMDo what Geoff says. If you get errors then you will need to manually remove the parts that show errors. After removing a mod you should play with the forum to see if you have any problems. If you do have a problem then you may have to check for all of the code a mod installed and make sure all of the mod's code has been removed. Do this for each mod in turn or you'll have a really hard time trying to figure out which mod has caused the problem if you remove them all then play with the forum.
Quote from: Ronald on Apr 14, 2019, 04:58 PMThe Google one
Quote from: Bigguy on Apr 14, 2019, 05:07 PMWhat one is that.
Quote from: live627 on Apr 14, 2019, 09:07 PMthis one? https://custom.simplemachines.org/mods/index.php?action=parse;mod=2210;attach=241334;smf_version=2.0.15
Quote from: Bigguy on Apr 14, 2019, 09:12 PMNo code shows up for me.
Quote from: Oldiesmann on Apr 14, 2019, 09:20 PMThere is no code showing because that mod doesn't edit any files. It just runs the install.php script and adds three new files, which likely means it's using integration hooks to do whatever it needs to do.
Quote from: Ronald on Apr 14, 2019, 09:25 PMBut how do you uninstall this mod. I have tried three times, and after a long period of time it ends up showing a blank page with all kinds of codes..which makes me think it's an error..
Quote from: Bigguy on Apr 14, 2019, 09:56 PMI started to think that after I parsed it the last time. It does sound like something is wrong though. It's not supposed to do that.
Quote from: Skhilled on Apr 15, 2019, 08:55 AMIf it is not removing the hooks then try "fix_packages":https://download.simplemachines.org/index.php?tools
Quote from: lurkalot on Apr 15, 2019, 09:23 AMDoes that tool work in 2.1?I would just remove the hooks in the 2.1 admin panel myself, that's built in. Go admin and put hooks in the search.
Quote from: Ronald on Apr 15, 2019, 12:22 PMI did it this way. After being away from the forum for a short time, I came back to roughly 2900 errors of:Type of error: General:Hook call: function "google_analytics_load_theme" in file /home/coffeeti/public_html could not be called. https://coffeetimeunlimited.com/index.php?action=viewsmfile;filename=current-version.js RonaldToday at 12:18:29 pm126.96.36.1997585ef3d3f4dbd4d65fd7005ca11a28
Quote from: lurkalot on Apr 15, 2019, 01:07 PMWas that before you removed the hooks. You might have uninstalled and it removed the mods files but if the hooks are still calling those missing files.If you no longer have any mods installed, if it was me I'd just upload a fresh set of files from the large upgrade zip. Obviously for the version you are running now. https://download.simplemachines.org/Unless anyone else has a better idea.
Quote from: SychO on Apr 15, 2019, 01:59 PMHooks are usually stored in the database, so a fresh set of files or an upgrade won't stop the errors (unless this hook is somehow actually being called from a file, in wich case I'm wrong here)You can either try the "fix_package" tool from here https://download.simplemachines.org/index.php?tools, But I do not know if it works with 2.1Or you can just go to Admin -> Maintenance -> Integration hookslook for google_analytics_load_theme and disable it, but you won't be able to enable it again because that admin panel is still getting worked on.
Quote from: Ronald on Apr 15, 2019, 02:23 PMYour a life saver. Thanks, this got the errors to stop.Later on tonight I am going to do the upgrade to RC2
Quote from: Bigguy on Apr 15, 2019, 03:08 PMYou might have to click twice to remove it...unless that was fixed.
Loaded in 0.137 seconds with 25 queries.