PDA

View Full Version : Weird Posting Problem


hobbybox
06-25-2008, 11:17 PM
I have come across a problem that happens in all my forms...

If you copy and past something into a post (say from another site, word, etc) that post will get cut off after special characters such as ' " -

So if I copied/pasted an article that had Player's Union (example) the post would save only as Player. the rest would be cut off. if you go to edit it the rest isnt there. This happens in the forums and also when I create a page with Logicians webtemplates hack so It seems to be a vbulletin problem as opposed to a hack problem.

Opserty
06-26-2008, 07:22 AM
This is not a problem with normal vBulletin, disable all your modifications.

You can do so by adding:
define('DISABLE_HOOKS', true); To the start of the second line of config.php

If your issue persists, create a New Style with No Parent Style and test again.

Finally, if you still have your issue, upload all the non-image vBulletin files.

Marco van Herwaarden
06-26-2008, 08:24 AM
Sounds more a problem caused something like mod_security or Suhosin/Hardened PHP..

hobbybox
06-26-2008, 02:25 PM
This is not a problem with normal vBulletin, disable all your modifications.

You can do so by adding:
define('DISABLE_HOOKS', true); To the start of the second line of config.php

If your issue persists, create a New Style with No Parent Style and test again.

Finally, if you still have your issue, upload all the non-image vBulletin files.

Will try and see what happens - will post if problem not resolved.

Sounds more a problem caused something like mod_security or Suhosin/Hardened PHP..

In the case of the above not working - I really have no idea what this is :confused:

This is just so weird - I can type a post that has those characters and there is no issue - however If I copy/paste then it breaks down.

hobbybox
06-28-2008, 12:47 AM
Ok - I disabled hooks - not fixed
Upgraded to 3.72 - redid all the files still have the problem.

This is what I need to do to post a copied item.

1) Post the item
2) edit
3) repaste info in the post edit
4) save

when I go through that process it will be fine. It wont work if I copy/paste with bbcode...this means I have to go to the post on my other site, copy as is (no bbcode) then paste in my second site...

hobbybox
06-29-2008, 12:24 PM
Addtional Ideas?

Marco van Herwaarden
06-29-2008, 12:41 PM
In the case of the above not working - I really have no idea what this is :confused:
You can ask your host if any of these are installed on the server.

Boofo
06-29-2008, 12:57 PM
You can also check the Problematic Webserver Modules under "Diagnostics" under the Maintenance tab in the Admin CP.

hobbybox
06-29-2008, 10:51 PM
You can also check the Problematic Webserver Modules under "Diagnostics" under the Maintenance tab in the Admin CP.

I get this

AJAX Unicode Issue Yes
Results
The above setting will indicate if mod_security is preventing some AJAX requests from being submitted to vBulletin. If this shows Yes then you either need to disable mod_security or change the AJAX settings with the vBulletin Options and disable Problematic features.

I dont want to turn AJAX off - any suggestions what I should do? Im not really sure what this stuff means.

--------------- Added 1214783919 at 1214783919 ---------------

I 'disabled problematic ajax features' and still have the problem.

Boofo
06-30-2008, 01:58 AM
I added this to the top of my .htaccess file to turn off mod_security when I got that same notice.

SecFilterEngine Off
SecFilterScanPOST Off

Opserty
06-30-2008, 08:52 AM
<a href="http://www.vbulletin.com/forum/showthread.php?t=274487" target="_blank">http://www.vbulletin.com/forum/showthread.php?t=274487</a>

Boofo
06-30-2008, 10:03 AM
I added my htaccess to the domain root, not the forums root. Is there a difference?

Dismounted
06-30-2008, 11:11 AM
.htaccess rules will affect the directory it is in and any child folders.

Boofo
06-30-2008, 11:15 AM
OK, thanks. But can you have one in the domain and one in the forum that will override the domain one (in case you have like a test forum or something also)?

Dismounted
06-30-2008, 11:24 AM
.htaccess rules in child folders should override the ones in the parent.

Boofo
06-30-2008, 11:26 AM
Great! Thanks. Good to know. ;)

hobbybox
06-30-2008, 11:31 AM
I modified the htaccess file in my 'Forums' directory and I still have to post, edit, repaste the info for it to stay.