Log in

View Full Version : How do I enable Mods in Config.php


jrock1
08-15-2010, 11:16 PM
I upgraded to 3.8.5 and had to disable the mods via config.php by inserting 'disable hooks...'

After the upgrade process, I've been trying to turn them back on and no one has been able to give me step by step instructions to do so. There is plenty of info on disabling them, but none on enabling them again.

Just telling me to enable them via config or to check my admincp is not very helpful.

I've done two things that haven't worked:

1. Changed 'true' to 'false' in the "disable hooks..." line of the config file
2. Deleted the line altogether.

My admincp tells me that mods are disabled via config.

Any help is greatly appreciated.

Boofo
08-15-2010, 11:22 PM
Comment out the line.

DataHero
08-15-2010, 11:33 PM
If he removed the line all-together and didn't work, how would commenting it out work at all?

@jrock1:
After removing the line entirely, have you tried looking at the Plugin Manager to see if any of them are set to disabled? If so, enable them again. You might also want to check the global setting in vBulletin Options just to be sure.

That's pretty much all I can suggest, personally.

Boofo
08-15-2010, 11:36 PM
Because he didn't say if the line was still in there now.

BirdOPrey5
08-16-2010, 12:24 AM
I would bet he's uploading config.php to the wrong location after editing out the line... it needs to go in your /forums/includes/ or if your forum is installed in the root, your /includes/ directory.

jrock1
08-16-2010, 12:35 AM
Boofo...

You have to explain things better in order for non-computer coders to understand. Simply saying 'comment out the line' make no sense to me. And that is what I've been getting for 6 weeks of back and forth from others.

Anyway, I deleted the line and tried that and it didn't work. That version of config is currently uploaded to my (/forums/includes) folder.

As for my admincp, when I go to Plugins they all show up, but the warning at the top says that the mods are globally disabled via config.php.

They all seem to be enabled in the admincp, so just figuring out the config file is my problem.

Thank you all for trying to help me.

DataHero
08-16-2010, 12:49 AM
And you're very certain you haven't edited the default config.php (which was in your package of vBulletin) which is named .php.new still?

jrock1
08-16-2010, 12:53 AM
Positive...

The upgraded is completed and I deleted or changed the files that I was supposed to.

BirdOPrey5
08-16-2010, 01:01 AM
can you link to your forum?

jrock1
08-16-2010, 01:14 AM
www.rapidstockprofits.net

Here's a couple snapshots:

https://vborg.vbsupport.ru/external/2010/08/33.jpg

https://vborg.vbsupport.ru/external/2010/08/34.jpg

BirdOPrey5
08-16-2010, 01:31 AM
www.rapidstockprofits.net



That's what I thought... while you do have a www.rapidstockprofits.net/forums/ directory for some reason your forum is installed in your root so your config.php needs to be uploaded to your /includes/ directory, not /forum/includes/ ;)

jrock1
08-16-2010, 09:53 AM
That's what I thought... while you do have a www.rapidstockprofits.net/forums/ directory for some reason your forum is installed in your root so your config.php needs to be uploaded to your /includes/ directory, not /forum/includes/ ;)

You are THE man! I don't know how you figured that out with just two pictures and no access to the cp, but it is finally working after 6 weeks of inactivity.

Also, I guess I did something incorrectly during the upgrade that caused me to have two directories?!

PM me your address and I'll send you a copy of my Trading 101 DVD for free.

Thanks again.

Naan-Kadavul
08-16-2010, 11:15 AM
How to enable Mods in Config.php ? is it automatically enabled ??

jrock1
08-16-2010, 12:34 PM
How to enable Mods in Config.php ? is it automatically enabled ??

In order to upgrade, I had to disable my mods by putting a line of code (disable hooks...) into the config file.

After the upgrade was complete, all I needed to do was to delete that line of code and re-upload the config file and my mods were back in place.

My problem came because I had to directories for some reason (probably my mistake during the upgrade) and I was uploading config to the wrong directory.

BirdOPrey5
08-16-2010, 12:53 PM
You are THE man! I don't know how you figured that out with just two pictures and no access to the cp, but it is finally working after 6 weeks of inactivity.

Also, I guess I did something incorrectly during the upgrade that caused me to have two directories?!

PM me your address and I'll send you a copy of my Trading 101 DVD for free.

Thanks again.

It was kind of a 'when you rule out the impossible, whatever remains, no matter how improbable, must be the truth' situation. If you really removed the line on the right file it was impossible for the hooks to still be disabled- therefore you didn't remove the line on the right file. When you gave me the link to the forum I saw it was installed in the root so checked if yourdomain/forum/ existed and sure enough it did, though there were php errors which I'd expect from a bad install or upgrade maybe, so I was pretty certain that was the issue. :up:

I would double check your files in your /forum/ directory in case you installed anything in it lately but it's probably safe to just delete the whole folder- there's no logical reason you need it.