Announcement

Collapse
No announcement yet.

Attachment feature not working

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

  • Joshs
    replied
    I am having some problems, I am on a Win2k server running IIS. Check out this thread.

    Leave a comment:


  • disco stew
    replied
    hi there!

    i'm having the same problem


    .. but in my case - not even the icon is showing up. it does upload the file and it says that there is an attachment - but no icon



    - Yes, it's the final release
    - No, it's not a w2k server -> w98


    take a look here http://demo8.essernet.de/vbbforum/index.php

    i tried editing the functions.php and tried uploading a .txt and .gif .. but no - not working



    can someone help me out please ?



    thanks in advance
    dicsco stew
    B,S&T



    btw: i uploaded phptest.php .. this could help huh ?
    phptest.php
    Last edited by disco stew; Sat 2 Jun '01, 8:21am.

    Leave a comment:


  • JohnL
    replied
    It seems like all of the people having trouble getting attachments to upload are using Win2K servers. If someone using a Win2K server has this feature working, could you please post here?

    Leave a comment:


  • JohnL
    replied
    Did everyone else have to make that change? Doesn't seem like that's the case.

    Leave a comment:


  • GOD2
    replied
    in functions.php
    find
    Code:
    function acceptupload($moderate=0) {
    now in this function replace as required below

    Code:
      global $attachextensions,$maxattachsize,$bbuserinfo,$maxattachwidth, $maxattachheight;
      global $safeupload,$tmppath, $allowduplicates;
    
      $attachment_name = strtolower($attachment_name);
      $extension=getextension($attachment_name);
    $attachment=str_replace("C:WINDOWSTEMP","C:\\WINDOWS\\TEMP\\",$attachment);
    
      if (strpos("  $attachextensions  "," $extension ")==0) {
        // invalid extension
        eval("standarderror(\"".gettemplate("error_attachbadtype")."\");");
        exit;
      }

    Leave a comment:


  • David
    replied
    Have exactly the same problem

    I have exactly the same problem? I see attachment icon on overview yet no file or link for images

    Win NT, version 2.0.0 final

    Tried many variation in php.ini (also safe_mode on and off)

    Note: avatars don't work either (same upload procedure I guess)

    Very interested in solution

    Leave a comment:


  • JohnL
    replied
    I made that change and it is still not working.

    Here is the forum http://www.reefcentral.com/vb2test/

    Username guest
    Password guest

    Leave a comment:


  • Kier
    replied
    C:/PHP/uploadtemp/

    exactly as it is written above.

    Leave a comment:


  • JohnL
    replied
    Are you supposed to use forward slashes on a Win2K server?

    Leave a comment:


  • Freddie Bingham
    replied
    Change C:\PHP\uploadtemp to C:/PHP/uploadtemp

    Leave a comment:


  • JohnL
    replied
    It's currently set as follows and the directory is valid.

    ;;;;;;;;;;;;;;;;
    ; File Uploads ;
    ;;;;;;;;;;;;;;;;
    file_uploads = On ; Whether to allow HTTP file uploads
    upload_tmp_dir = C:\PHP\uploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
    upload_max_filesize = 2M ; Maximum allowed size for uploaded files

    I don't get an error or anything but the attachment does not display. There is the little paperclip icon on the thread list but that's it.

    Will changing the directory make a difference?

    Leave a comment:


  • Kier
    replied
    Check your upload_tmp_dir setting in php.ini and set it to c:/temp/

    Leave a comment:


  • JohnL
    started a topic Attachment feature not working

    Attachment feature not working

    Is there some trick to getting the attachment feature to work on a Win2K server? Neither the link or the file is being displayed on the post.

Related Topics

Collapse

Working...
X