Announcement

Collapse
No announcement yet.

Error uploading attachement, file...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [CMS] Error uploading attachement, file...

    Hi..

    Vbull ver. 4.1.0 p2, Windows 2008 r2 server.

    I get error when uplaoding a file with extension .f4v (19mb)... Se error on picture..

    I have allowed the extension and set the max size to 2500000.

    max post size in php settings are 256mb
    Click image for larger version

Name:	error_vbull.jpg
Views:	1
Size:	31.1 KB
ID:	3719329

  • #2
    That's a server error.

    First of all, it is VERY unlikely that you will be able to successfully upload files of that size with a PHP/MySQL application such as vBulletin. PHP and MySQL are simply not set up to handle this.

    Second, to even give this a try, you will need to modify the server and all of your users will have to be on very fact connections.

    In addition to the vB settings, the allowed size of the attachments depends on the PHP and MySQL configuration. You may need to check and change the upload size for both PHP and for MySQL. Note, you'll need to have root
    access to the server to do this (or have your host do it.) Make these changes to php.ini:

    upload_max_filesize = xM

    ..and my.cnf (or my.ini for Windows systems)

    set-variable=max_allowed_packet=xM

    Change it to the size ('x') you want in Megabytes. Restart the webserver and MySQL after making these changes.

    Note: Do NOT use MB, just M for the megabytes setting.

    You may also need to increase the memory_limit, max_execution_time and max_input_time variables in php.ini.

    Also you might want to take a look at this for other settings that affect file uploads:

    http://www.vbulletin.com/forum/showp...0&postcount=12
    http://www.vbulletin.com/forum/showt...319#post748319
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      2500000 is just 2.4 mb isn't it? Even if you could, that wouldn't allow you to upload 19mb. (19 X 1024 X 1024 = 19922944)

      Comment


      • #4
        Oh.. yes of course, the files is saved in the DB, hmm.. Im building a extension for video uploads instead that saves on the servers hdd instead..

        Thank you!!

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X