+ Reply to Thread
Results 1 to 7 of 7

Thread: Large Attachment problem

  1. #1
    New Member fredtp has disabled reputation
    Join Date
    Jul 2006
    Posts
    4

    Large Attachment problem

    I've gone through posts and made all the php.ini changes to allow posting of large attachments including memory, max upload, etc...i'm able to upload files of up to about 8MB, bigger than that i get internal server error. other php scripts are able to upload larger files with no problem.
    the file i was uploading was called test.zip

    i'm receiving the following error messages:

    in file error_log:
    [20/Jul/2006:19:14:59 +0000] [error] [client 65.34.37.191] File does not exist: /usr/home/nsuasd/www/htdocs/forum/images/attach/ppt.gif
    [20/Jul/2006:19:22:15 +0000] [error] [client 65.34.37.191] Premature end of script headers: /usr/local/apache/global-bin/php.cgi

    in file script.error_log:
    FATAL: emalloc(): Unable to allocate 13918229 bytes

    here's what i have set in php.ini:
    max_execution_time = 400
    max_input_time = 600
    memory_limit = 1024M
    post_max_size = 240M
    upload_max_filesize = 120M

    mySql packet size is set to 240MB
    attachment storage is in file system

    I have no plugins installed and no modifications have been made to vbulletin code.

    any help is appreciated, thanks
    Fred

  2. #2
    Customer Support Manager Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol's Avatar
    Join Date
    Jul 2000
    Location
    Jelsoft InterGalactic HQ
    Posts
    142,692
    Are you running PHP as CGI? This is a CGI issue.

    [20/Jul/2006:19:22:15 +0000] [error] [client 65.34.37.191] Premature end of script headers: /usr/local/apache/global-bin/php.cgi
    Steve Machol, vBulletin Customer Support Manager
    "Have Copy, Will Paste" (when appropriate)

    Please do not email or PM me for vBulletin support. I will be more than glad to answer your questions on the vB Forums and in the support system.

    Just remember that what happens in localhost, stays in localhost.


  3. #3
    New Member fredtp has disabled reputation
    Join Date
    Jul 2006
    Posts
    4
    how would i be able to tell whether it's run as cgi? i'm on shared hosting by verio. if this is the problem, can it be resolved?
    thanks

  4. #4
    Customer Support Manager Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol's Avatar
    Join Date
    Jul 2000
    Location
    Jelsoft InterGalactic HQ
    Posts
    142,692
    You'll need to contact Verio about this. The problem appears to be in their script: php.cgi
    Steve Machol, vBulletin Customer Support Manager
    "Have Copy, Will Paste" (when appropriate)

    Please do not email or PM me for vBulletin support. I will be more than glad to answer your questions on the vB Forums and in the support system.

    Just remember that what happens in localhost, stays in localhost.


  5. #5
    New Member fredtp has disabled reputation
    Join Date
    Jul 2006
    Posts
    4
    if this is a problem with verio's script, wouldn't it affect any php script? this issue only occurs with vbulletin, not other scripts.

  6. #6
    Customer Support Manager Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol's Avatar
    Join Date
    Jul 2000
    Location
    Jelsoft InterGalactic HQ
    Posts
    142,692
    Since php.cgi is not a vB script or file, it seems to me that Verio would be in a better position to answer any questions related to it.
    Steve Machol, vBulletin Customer Support Manager
    "Have Copy, Will Paste" (when appropriate)

    Please do not email or PM me for vBulletin support. I will be more than glad to answer your questions on the vB Forums and in the support system.

    Just remember that what happens in localhost, stays in localhost.


  7. #7
    New Member fredtp has disabled reputation
    Join Date
    Jul 2006
    Posts
    4
    i wish verio was more forthcoming with tech support....would any of these mySql variables affect attachment uploading?

    bdb cache size = 8388600
    innodb buffer pool size = 8388608
    these seem to be set to exactly the maximum file size i'm able to upload in bytes. i have access to mysql through phpmysql but i haven't been able to find the syntax to modify these.

    thanks for your continued help,
    Fred

+ Reply to Thread

Similar Threads

  1. Large Attachment Problem.
    By The_Enigma in forum vBulletin 3.5 'How Do I' Questions and Troubleshooting
    Replies: 5
    Last Post: Fri 18th Nov '05, 7:14am
  2. Attachment too large error
    By bchertov in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 2
    Last Post: Wed 27th Apr '05, 1:31am
  3. Attachment Thumbnails + large attachment table
    By Essam in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 1
    Last Post: Mon 18th Aug '03, 4:08pm
  4. Attachment Problem with Large files
    By Logician in forum vBulletin 2 'How Do I' and Troubleshooting
    Replies: 8
    Last Post: Mon 13th Jan '03, 1:12pm

Bookmarks

Posting Permissions

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts