vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Powerpoint Attachments (Database Error) (https://vborg.vbsupport.ru/showthread.php?t=222009)

topianno 08-28-2009 11:16 PM

Powerpoint Attachments (Database Error)
 
Hello,
I am having a problem uploading powerpoint files via vbulletin. I have added the ppt extension to the extension manager. However, whenever I try and upload a powerpoint file the system gives me the following message:

Quote:

A database has encountered a problem.

Please try the following:
? Load the page again by clicking the Refresh button in your web browser.
? Open the home page, then try to open another page.
? Click the Back button to try another link.

The forum technical staff have been notified of the error, though you may contact them if the problem persists.
+
We apologise for any inconvenience.
I have tried turning the options to "Display thumbnail for this type" on and off as well as for the option to open the attachment in a new window. However, I still get an error and it won't let me upload a powerpoint file.

I know it is not an issue of max file size because I have it set to 20 megabytes and the file Im trying to upload is only 2 megabytes.

Any ideas anyone?

Thanks!

-Gabe

Lynne 08-29-2009 12:18 AM

When you get the error message, view the page source and you will see the actual databaes message at the bottom of the page. Please post it here so we can see what it is.

topianno 08-31-2009 09:35 PM

Hi Lynne,
The database error message I am getting is listed below. The file I am trying to upload is 3.1 megabytes. I have the maximum byte size for the PPT extension set to 20 megabytes (20971520 bytes). Thank you for your help!

Quote:

MySQL Error : Got a packet bigger than 'max_allowed_packet' bytes
Error Number : 1153
Request Date : Monday, August 31st 2009 @ 06:26:57 PM
Error Date : Monday, August 31st 2009 @ 06:26:57 PM
Script : http://forum.lapbandsurgery.com/newa...anageattach&p=
Referrer : http://forum.lapbandsurgery.com/newa...e8b0d82756b89f
IP Address : 70.95.171.30
Username : admin
Classname : vB_Database
MySQL Version : 5.0.81-community

Lynne 08-31-2009 10:34 PM

That is a mysql variable and you would have to change it through my.cnf on your server. You will probably have to ask your host for help with this.


All times are GMT. The time now is 09:15 AM.

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.00933 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete