WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-5e4fb5-40.MAI' (Errcode: 28 "No space left on device")]
SELECT p.*, o.option_value, GROUP_CONCAT(DISTINCT CONCAT(m.meta_key, "::", m.meta_value) separator "::::") as seo_meta, t.slug, tr.language_code as language FROM wp_posts p JOIN wp_postmeta m ON p.ID = m.post_id JOIN wp_options o ON o.option_name = "siteurl" JOIN wp_term_relationships r ON r.object_id = p.ID JOIN wp_term_taxonomy x ON x.term_taxonomy_id = r.term_taxonomy_id JOIN wp_terms t ON t.term_id = x.term_id JOIN wp_icl_translations tr ON p.ID = tr.element_id WHERE post_type = "page" AND post_status = "publish" AND tr.language_code = 'en' AND t.slug IN ('jquery') AND x.taxonomy = "page_cat" AND tr.element_type = "post_page" AND meta_key IN ("_yoast_wpseo_title", "_yoast_wpseo_metadesc") GROUP BY p.ID

File upload

Bootstrap 5 File upload / File input

File Input is a field which the user can use to upload one or more files (photos, documents or any other file type) from local storage.

Note: If you need more advanced functionalities, check also Drag & drop file upload .


Basic example

The file input is the most gnarly of the bunch and requires additional JavaScript if you’d like to hook them up with functional Choose file… and selected file name text.


          <label class="form-label" for="customFile">Default file input example</label>
          <input type="file" class="form-control" id="customFile" />
        

Add the disabled attribute to the <input> and the custom markup will be updated to appear disabled.


          <label for="formFileDisabled" class="form-label">Disabled file input example</label>
          <input class="form-control" type="file" id="formFileDisabled" disabled />
        

Sizing

You may also choose from small and large file inputs to match our similarly sized text inputs.


          <label for="formFileSm" class="form-label">Small file input example</label>
          <input class="form-control form-control-sm" id="formFileSm" type="file" />
          <label for="formFileLg" class="form-label">Large file input example</label>
          <input class="form-control form-control-lg" id="formFileLg" type="file" />
        

Multiple example

You can choose multiple files with one input as well. Just add the multiple attribute to the <input>


          <label for="formFileMultiple" class="form-label">Multiple files input example</label>
          <input class="form-control" type="file" id="formFileMultiple" multiple />
        

If you want to support our friends from Tailwind Elements you can also check out the Tailwind file input documentation.