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 09-19-2006, 04:56 PM
Insert Username Insert Username is offline
 
Join Date: Feb 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Problems with attachment uploading after upgrade

I've got one user reporting that he's getting a limit error when he uploads an attachment. Others don't even have the option to attach when creating a new post or reply, but they do when editing a post. I'm stumped.

I've checked the settings. Their usergroup has permission to upload, and the limit is set to zero (which is unlimited).

Is there a setting somewhere that limits the total number of attachments per user? I can't find one.

I'm getting frustrated, because it all worked fine before upgrading to 3.6.1 and, without changing any settings, now it doesn't.

Any help would be greatly appreciated.
Reply With Quote
  #2  
Old 09-27-2006, 04:54 PM
perfphysio's Avatar
perfphysio perfphysio is offline
 
Join Date: Sep 2006
Location: London, UK
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep I am getting an error when trying to upload any pdf file near 1MB. Even though I have set permissions to upload up to 3MB. The error says something like the MYSQL server has gone away. It almost looks like a time out issue during the upload. Smaller files however are no problem!
Reply With Quote
  #3  
Old 09-28-2006, 10:58 PM
dseften dseften is offline
 
Join Date: Sep 2006
Location: Shelton, CT
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, same here. Any help on this one guys? I have freaks in my forum that really want to be able to post attachments without limitations.

The error message I got...

MySQL Error : Got a packet bigger than 'max_allowed_packet' bytes
Error Number : 1153
Classname : vb_database

It would appear that the problem lies within MySQL?
Reply With Quote
  #4  
Old 09-29-2006, 01:56 PM
perfphysio's Avatar
perfphysio perfphysio is offline
 
Join Date: Sep 2006
Location: London, UK
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

More information on my error is copied below:

Database error in vBulletin 3.6.1:

Invalid SQL:
INSERT INTO vb_attachment
(dateline, thumbnail_dateline, visible, userid, extension, filename, posthash, filehash, filesize, filedata)
VALUES
(1159540897, 1159540897, 1, 1, 'pdf', 'hemme.pdf', 'f617ae8dbc7e1414a9d56bc0e4f8c8d6', '0224e470428fc96d106fa9060783ade7', 1099652, '%PDF-1.3\r%????\r\n2675 0 obj\r<< \r/Linearized 1 \r/O................................................. ........
...............
...............

MySQL Error : MySQL server has gone away
Error Number : 2006
Date : Friday, September 29th 2006 @ 07:41:38 AM
Script : http://www.physiobob.com/forum/newat...anageattach&p=
Referrer : http://www.physiobob.com/forum/newat...d56bc0e4f8c8d6
IP Address : 86.132.155.235
Username : physiobob
Classname : vb_database
Reply With Quote
  #5  
Old 09-30-2006, 12:46 AM
Insert Username Insert Username is offline
 
Join Date: Feb 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My users just get a message that they don't have permission to access the page. But if they post, then go back and edit the post, they can then add an attachment.
Reply With Quote
  #6  
Old 09-30-2006, 06:45 AM
perfphysio's Avatar
perfphysio perfphysio is offline
 
Join Date: Sep 2006
Location: London, UK
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Insert Username
I've got one user reporting that he's getting a limit error when he uploads an attachment. Others don't even have the option to attach when creating a new post or reply, but they do when editing a post. I'm stumped.

I've checked the settings. Their usergroup has permission to upload, and the limit is set to zero (which is unlimited).

Is there a setting somewhere that limits the total number of attachments per user? I can't find one.

I'm getting frustrated, because it all worked fine before upgrading to 3.6.1 and, without changing any settings, now it doesn't.

Any help would be greatly appreciated.

There is a limit on the size of the uploads in the admin under attachments. There is also a user upload limit amount also in the user admin. Maybe you don't have these settings set to high enough values?
Reply With Quote
  #7  
Old 09-30-2006, 08:59 AM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See if this help's, go to your user admincp, and scroll down to attachments and open that, then click on attachment permissions.
Now you will see the document permission types, doc, pdf, etc....and then you will see the admin, moderators, users, etc.......choose say pdf and select admin, select use custom permissions, then change the 20000, to what ever number you want, like 20000000, and click save.

Try to reupload your pdf file.......
Reply With Quote
  #8  
Old 09-30-2006, 07:40 PM
Insert Username Insert Username is offline
 
Join Date: Feb 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by perfphysio
There is a limit on the size of the uploads in the admin under attachments. There is also a user upload limit amount also in the user admin. Maybe you don't have these settings set to high enough values?
I've checked those. There are no attachment limits for the users. And these are just small images they're trying to attach.

hotwheels, I've done that, too. No luck.

I've checked every setting that I can find that might have an effect. Nothing. It's really confusing.
Reply With Quote
  #9  
Old 10-08-2006, 08:22 PM
perfphysio's Avatar
perfphysio perfphysio is offline
 
Join Date: Sep 2006
Location: London, UK
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by perfphysio
There is a limit on the size of the uploads in the admin under attachments. There is also a user upload limit amount also in the user admin. Maybe you don't have these settings set to high enough values?
I have finally managed to find out what the issue was on my hosting. The following is the note from my support guys as to my issue. I suppose this might be common as a possible cause in the failing of large pdf uploads when all admin sections are set up correctly.

"The mysql start up paramemter was not high enough to accomodate the upload, and that has been corrected."

Hope this assists others with possible issues that are the same
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 11:59 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.04296 seconds
  • Memory Usage 2,243KB
  • 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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete