Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 01-25-2015, 01:21 AM
JohnScag JohnScag is offline
 
Join Date: Jun 2014
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Slashes automatically appearing before apostrophes

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.
Reply With Quote
  #2  
Old 01-25-2015, 01:44 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

PHP Code:
define('DISABLE_HOOKS'true); 
So it looks like this:
PHP Code:
<?php
define
('DISABLE_HOOKS'true);
/*=================================================  =====================*\
|| ##################################################  ################## ||
|| # vBulletin 4.2.2
Use a editor like notepad++ 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.
Reply With Quote
  #3  
Old 01-25-2015, 06:53 AM
JohnScag JohnScag is offline
 
Join Date: Jun 2014
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #4  
Old 01-25-2015, 08:14 AM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JohnScag View Post
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 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?
Reply With Quote
  #5  
Old 01-25-2015, 09:46 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What vB version and PHP version are you running?
Reply With Quote
  #6  
Old 01-25-2015, 10:33 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure how vBulletin handles it, but seems like magicquotes are enabled on your PHP installation.
Reply With Quote
  #7  
Old 01-25-2015, 12:15 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^ 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?
Reply With Quote
  #8  
Old 01-25-2015, 05:17 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/sho...3400#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.
Reply With Quote
  #9  
Old 01-25-2015, 09:07 PM
JohnScag JohnScag is offline
 
Join Date: Jun 2014
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
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?
Reply With Quote
  #10  
Old 01-25-2015, 11:25 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JohnScag View Post
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:02 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10939 seconds
  • Memory Usage 2,260KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete