Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-14-2013, 02:59 PM
hirebuysell hirebuysell is offline
 
Join Date: Feb 2013
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Upgrade errors

We recently upgraded our forum to vb 4.2.1 from vb 4.1.x
After upgrade we are facing several issues,I tried to fix some of them and i fixed few.
Here is an issue which i can't fix and need your help.
The problem is with image uploader.
When we upload image this error come and nothing happen.

Please tell me how to fix this issue.
Thanks in advance.
Reply With Quote
  #2  
Old 06-14-2013, 04:58 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Disable mod_security for that site.

Add this to your htaccess file

Code:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
Reply With Quote
  #3  
Old 06-14-2013, 05:55 PM
hirebuysell hirebuysell is offline
 
Join Date: Feb 2013
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snakes1100 View Post
Disable mod_security for that site.

Add this to your htaccess file

Code:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
How to disable mod_security ? I mean by simply adding this code to .htaccess ?
Reply With Quote
  #4  
Old 06-14-2013, 05:59 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, thats correct.
Reply With Quote
  #5  
Old 06-14-2013, 06:07 PM
hirebuysell hirebuysell is offline
 
Join Date: Feb 2013
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added the code but still there is issue not fixed ... Can't upload any image...
Reply With Quote
  #6  
Old 06-15-2013, 11:26 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check your file permissions to make sure the uploads directory is set to 777..

Actually my answer is just the most common to image uploading problems but I did not notice the exact error you were having. I will get back to you after I look through my notes. I know I have encountered this issue but can't remember the fix..will get back to you though once I find it.it does have something to do with mod rewrite though.

Are you using Vbseo or mod rewite for your urls? Have you made any other changes to your htaccess?

--------------- Added [DATE]1371299649[/DATE] at [TIME]1371299649[/TIME] ---------------

The issue I had with this same error was related to image sizes. I fixed it simply by going into attachment options. I'm not sure though if this is your problem because mod rewite or even permissions can cause similar results.

I would check your attachment settings and make sure you have them set correctly.
Reply With Quote
  #7  
Old 06-16-2013, 10:35 AM
hirebuysell hirebuysell is offline
 
Join Date: Feb 2013
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
Check your file permissions to make sure the uploads directory is set to 777..

Actually my answer is just the most common to image uploading problems but I did not notice the exact error you were having. I will get back to you after I look through my notes. I know I have encountered this issue but can't remember the fix..will get back to you though once I find it.it does have something to do with mod rewrite though.

Are you using Vbseo or mod rewite for your urls? Have you made any other changes to your htaccess?

--------------- Added [DATE]1371299649[/DATE] at [TIME]1371299649[/TIME] ---------------

The issue I had with this same error was related to image sizes. I fixed it simply by going into attachment options. I'm not sure though if this is your problem because mod rewite or even permissions can cause similar results.

I would check your attachment settings and make sure you have them set correctly.
Using vbseo...
Reply With Quote
Reply


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 07:08 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03655 seconds
  • Memory Usage 2,220KB
  • 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_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete