This is a comment on Cannot refer to uploaded files, posted by WikiAdmin at 13.05.2022 09:07

View source for Re: Cannot refer to uploaded files

When you upload a file, the correct ##file:## syntax is displayed in the filemeta handler. Normally, the relative path is sufficient. The absolute path is required only when you embed a local file attached to a page in another page.

file:/wackowiki_r6_en_upload2.png

A ##404 ~file:/test/image_21.png## message indicates that either 
  1. the path to the file is false 
    * Please check if the file is already attached to the ##/test## page.
    * Check if the page syntax is correct, the page tag is case sensitive.
    * Check if the image was uploaded as local file and not as global file (attached to a page / global name space)
      * test for ##~file:image_21.png## and ##~file:/image_21.png##
  2. the file upload  failed
    * Is the file visible in the filemeta handler? (##/test/attachments## -> to page -> click on the image)
    * Could you see the image after the file upload?
  3. the file folder has insufficient access rights

Please check the ##file/perpage/## and ##file/folder/## folder as well the ##file## table in the database, if the uploaded file is there.

Do you use mod_rewrite?