ImageUploader doesn't work

The ImageUploader doesn't work. Whenever I select an image It would just put the image name but no image.

Comments

  • Yes, that only works with version 2.9 , I guess your version is 2.5 ? ;)

  • I have Vanilla 2.1 and 1.1.1 of the plugin.

  • ok thanks , if you inspect the source, do you see the url of the image and the image or just the url ?

    Does the url lead to the image ?

  • edited May 2014

    <img src="..../uploads/imageupload/582/6K011XJMI3GF.png" alt="1" title="1" />

    When i click on it in the source, it says bad request.

  • Do you have an imageuploads folder in the uploads ? Are the images there ?

    Are you using Pretty Urls ? That is do you have rewrite Urls TRUE; in the config.php

    And also rewrite engine on in the htaccess file of the forum ?

    Does this happen with file upload as well ?

  • edited May 2014

    No, I did not have a imageuploads folder, but made one and same problem. There is other images in my uploads folder.

    What are Pretty Urls? I set rewirte Urls to true.

    I have htaccess, but I have not edited anything in it.

    I had fileupload but it would just load and just had the uploading gif, so i removed it.

  • Now when i try to post I get a server error.

  • You need to use the fileupload that is compatible with your version .

    http://vanillaforums.org/discussion/26644/a-fix-to-make-fileupload-version-1-8-2-to-work-in-vanilla-2-1-backport

    Please look at the tutorial called About 404 error , it explains what you need to do.

    If there is something about it you dont understand come back here and ask us.

    http://vanillaforums.org/discussion/25111/about-error-404-not-found

  • @jeremybell said:
    Now when i try to post I get a server error.

    Please post the error

  • @vrijvlinder said:
    Please post the error

  • Did you fix the configuration and htaccess file as the tutorial suggests ?

    Please post the contents of you htaccess file . Use 4 spaces before the code so it shows nicely. Or select the code then use the button on the left of the smily and select code to wrap it nicely.

  • When I get the plugin from here https://github.com/vanilla/addons and drag in to my plugins folder, my whole forum gets a 404 error.

    htaccess file
    # Original
    # If you modify this file then change the above line to: # Modified

    RewriteEngine On
    # Certain hosts may require the following line.
    # If vanilla is in a subfolder then you need to specify it after the /.
    # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
    # RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]

  • peregrineperegrine MVP
    edited May 2014

    change

    #RewriteBase /

    remove the # and enter the folder where vanilla is located. if it is in forum folder. it will look like this.

    RewriteBase /forum

  • I still get a 404 error. I kept it RewriteBase / because it is installed on the root.

  • yes but you still have a # so it is a comment. from the looks of the your information.

  • this correct --- > RewriteBase /

    not correct ---- > # RewriteBase /

Sign In or Register to comment.