From b2a55f1ef25e88a24e4dcc31302890be380154fe Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 3 Aug 2010 12:43:45 -0400 Subject: [PATCH] For BLOB streaming, LONGBLOB colum must be nullable --- Documentation.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation.html b/Documentation.html index 43db8fa1d..8e6e9113b 100644 --- a/Documentation.html +++ b/Documentation.html @@ -4319,7 +4319,7 @@ chmod o+rwx tmp
  1. In config.inc.php your host should be defined with a FQDN (fully qualified domain name) instead of "localhost".
  2. -
  3. Ensure that your target table is under the PBXT storage engine and has a LONGBLOB column.
  4. +
  5. Ensure that your target table is under the PBXT storage engine and has a LONGBLOB column (which must be nullable if you want to remove the BLOB reference from it).
  6. When you insert or update a row in this table, put a checkmark on the "Upload to BLOB repository" optional choice; otherwise, the upload will be done directly in your LONGBLOB column instead of the repository.
  7. Finally when you browse your table, you'll see in your column a link to stream your data, for example "View image". A header containing the correct MIME-type will be sent to your browser; this MIME-type was stored at upload time but in case it's incorrect, it's possible to edit it by clicking on the displayed MIME-type.