View Full Version : Slashes automatically appearing before apostrophes
JohnScag
01-25-2015, 01:21 AM
I don't know what this started, but on my forum www.grindfactor.com all the sudden now whenever you type a word with an apostrophe, it comes out with like 3 back slashes before it.
Can someone please help?
Thanks.
ozzy47
01-25-2015, 01:44 AM
Ok lets do this, disable plugins via the includes/config.php file.
To do that open your includes/config.php file and below <?php add the following.
define('DISABLE_HOOKS', true);
So it looks like this:
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.2.2
Use a editor like notepad++ (http://notepad-plus-plus.org/download/v6.6.8.html) to edit any files, don't use Notepad or Wordpad.
If that fixes the issue enable plugins again by adding // before the line you added, then navigate to ACP --> Plugins & Products --> Manage Products and disable one mod at a time until you find the one causing the issue.
Once you find the culprit, post in that mods thread what the issue is, and maybe someone in that thread can help. :)
JohnScag
01-25-2015, 06:53 AM
I'm not comfortable messing around with any of the config files and stuff I don't really know what Im doing. But I just straight tried disabling one plugin at a time to see if any were causing the problem and it didn't matter. So if it's not a plugin causing the problem what else could it be?
HM666
01-25-2015, 08:14 AM
I'm not comfortable messing around with any of the config files and stuff I don't really know what Im doing. But I just straight tried disabling one plugin at a time to see if any were causing the problem and it didn't matter. So if it's not a plugin causing the problem what else could it be?
It is more and likely a mod that is installed on your forum. Globally disabling the plugins sometimes works better than doing it one by one for some reason. If you are not comfy with that then perhaps you might want to hire someone to help you fix it in the Paid Requests (https://vborg.vbsupport.ru/forumdisplay.php?f=30) section.
A couple of questions...
1. Has your host made any changes recently to your server or hosting package?
2. What was the last thing you did before this started happening on your forum? Did you install something or make a change etc?
ozzy47
01-25-2015, 09:46 AM
What vB version and PHP version are you running?
I'm not sure how vBulletin handles it, but seems like magicquotes are enabled on your PHP installation.
nerbert
01-25-2015, 12:15 PM
^ function vB_Input_Cleaner(), includes/class-core.php, line 1921 seems to deal with that, at least for user inputs ($_REQUEST, etc)
That this is triple escaped suggests preg_quote() is used somewhere. Do you have any complicated custom bbcodes installed?
Lynne
01-25-2015, 05:17 PM
I just picked a random thread which was started a couple of days ago and I am not seeing this problem with apostophes until January 24. http://www.grindfactor.com/Forum/showthread.php?22-Massachusetts-Drug-Discussion&p=23400#post23400 So, I would suggest you ask your host what they changed on the site around then. then show them the problem they have caused and they should be able to fix it.
JohnScag
01-25-2015, 09:07 PM
What vB version and PHP version are you running?
VB version 4.2.2 and PHP 5.4.35
And I've had people trying to integrate the site with wordpress maybe that had something to do with it. I don't know. The guy who I hired to do something ended up being horrible so I let him go but he claims he didn't' do anything to the code but it does match up to the 24th when he started.
I have another guy who usually helps but he's busy with a new kid.
Then one of my mods said he started using the site from his laptop and it wasn't doing it anymore for him specifically. But it's still doing it now for everyone else. I just tested it again and same thing.
Can any of you take a look under the hood for me? How much would be an acceptable price to charge to have somebody from here look into this for me?
HM666
01-25-2015, 11:25 PM
VB version 4.2.2 and PHP 5.4.35
And I've had people trying to integrate the site with wordpress maybe that had something to do with it. I don't know. The guy who I hired to do something ended up being horrible so I let him go but he claims he didn't' do anything to the code but it does match up to the 24th when he started.
I have another guy who usually helps but he's busy with a new kid.
Then one of my mods said he started using the site from his laptop and it wasn't doing it anymore for him specifically. But it's still doing it now for everyone else. I just tested it again and same thing.
Can any of you take a look under the hood for me? How much would be an acceptable price to charge to have somebody from here look into this for me?
Price depends on the person you hire for obvious reasons you get what you pay for. If you pay someone a low hourly fee be prepared to get ripped off or get someone who does not know what the heck they are doing.
How exactly were they trying to integrate Wordpress into the site? Were they trying to code it themselves? Or were they trying to install an add-on for it? There are actually a couple of add-ons that can be installed to work for Wordpress.
nerbert
01-25-2015, 11:51 PM
Have you tried
Maintenance > Diagnostics > Suspect File Versions
to test for edited files?
Lynne
01-26-2015, 05:31 PM
Or look at Maintenance > View PHP Info > what is the Build Date?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.