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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-20-2012, 12:29 PM
mk craig 42 mk craig 42 is offline
 
Join Date: Feb 2009
Location: Bedford
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Attachment size error

Everytime I try to upload an attachment larger than 100kb, it gives me this message:

Quote:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mywebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
These are my settings:

Quote:
Server Type Linux
Web Server Apache (cgi-fcgi)
PHP 5.3.8
PHP Max Post Size 8.00 MB
PHP Maximum Upload Size 128.00 MB
PHP Memory Limit 128.00 MB
MySQL Version 5.1.56
MySQL Packet Size 1.00 MB
I've spoke to my hosting company and they said that the problem seems to be coming from my side.. they asked me if I had any inner vBulletin settings, and I have none that I know of.

I deleted the php.ini file with the settings on, but no luck, I try to use .htaccess to change this (as hosting company said I can edit it via .htaccess) but I get the same message as above when I add this into there:

Quote:
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 200
php_value max_input_time 200
Any help would be great.. I'd be more than happy with an upload size of 8MB
Thanks.
Reply With Quote
  #2  
Old 01-20-2012, 03:46 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you looked in the attachment manager? Each file type has a size limit. I don't think exceeding it should cause that error, but that could be a different problem.
Reply With Quote
  #3  
Old 01-20-2012, 04:09 PM
mk craig 42 mk craig 42 is offline
 
Join Date: Feb 2009
Location: Bedford
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Have you looked in the attachment manager? Each file type has a size limit. I don't think exceeding it should cause that error, but that could be a different problem.
I have yes.

I had PNG files set at 3MB, but even when uploading a 1MB or lower PNG image, I'll be presented with the error message as above.

I tried whacking the limit up, so I now have PNG files set stupidly high (along with all other file types) at 65MB's but even before it fully finishes uploading, I get the error.
Reply With Quote
  #4  
Old 01-20-2012, 04:31 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, googling the error (which you may already have done) unfortunately only tells me that a lot of people have the same problem. A couple things, you might increase the php time limit if it's low, and also if you have access to the server error logs maybe look in there to see if there's any more info on that error.
Reply With Quote
Благодарность от:
mk craig 42
  #5  
Old 01-20-2012, 04:36 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check Options > Message Attachment Options > Limit Space Taken Up By Attachments (Total)

But I can't imagine having this set too low would cause a server error

Question for kh99: In vB3 whenever I was working on a php file and made a coding error I would get a page with an error message but that doesn't happen in vB4 unless I edit in ini-set('display_errors, '1'); Is there a setting to change that to display errors automatically? This would be applicable to the problem here I think.
Reply With Quote
Благодарность от:
mk craig 42
  #6  
Old 01-20-2012, 04:39 PM
mk craig 42 mk craig 42 is offline
 
Join Date: Feb 2009
Location: Bedford
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
Well, googling the error (which you may already have done) unfortunately only tells me that a lot of people have the same problem. A couple things, you might increase the php time limit if it's low, and also if you have access to the server error logs maybe look in there to see if there's any more info on that error.

Yea, I tried googling, and found nothing in terms of a possible fix to this.

In my error logs are just errors for when I tried to install custom http error vB generic shell templates, which didn't work.. Aside from that, nothing.
My whole forum is based on uploading attachments.. So without even being able to upload a filesize larger than (it seems) 100KB.. I can't really do a lot.

Quote:
Originally Posted by nerbert View Post
Check Options > Message Attachment Options > Limit Space Taken Up By Attachments (Total)

But I can't imagine having this set too low would cause a server error
It's set at 0
as well as attachments per post
----------------------------------

EDIT

Just saw this in my error log

Quote:
[Fri Jan 20 13:07:01 2012] [error] [client xx.xxx.x.xx.x.x] File does not exist: /[mypath]public_html/forum/images/attach/mp4.gif, referer: http://[myURL]/forum/newattachment.p...3b7560430f3849
[Fri Jan 20 13:07:01 2012] [error] [client xx.xxx.xxxx.x.x.x] File does not exist: /home/[mypath]/public_html/forum/images/attach/rar.gif, referer: http://[myURL]/forum/newattachment.p...3b7560430f3849
[Fri Jan 20 13:07:01 2012] [error] [client xx.xxx.x.x.x.x.xx] File does not exist: /home/[mypath]/public_html/forum/images/attach/avi.gif, referer: http://[myURL]/forum/newattachment.p...3b7560430f3849
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 02:48 AM.


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.04132 seconds
  • Memory Usage 2,219KB
  • Queries Executed 11 (?)
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
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (2)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete