Hello,
I migrated my site (openacs) from aolserver 4.0.10 to the new 4.5 (thanks to the developpers for the job ;-)). Everything is working fine excepted for images returned by a ns_write. Did anybody see/solve this problem ?
Marc

log:
no encoding for type "image/jpeg"
   while executing
"ns_startcontent -type $content_type"
   (procedure "ReturnHeaders" line 6)
   invoked from within
"ReturnHeaders $mime_type"
   ("lob" arm line 2)
   invoked from within
"switch $storage_type {
       text {
           ReturnHeaders $mime_type
           ns_write [db_string write_text_content ""]
       }
       f..."
   (procedure "cr_write_content" line 25)
   invoked from within
"cr_write_content -item_id $item_id"
   ("uplevel" body line 17)
   invoked from within
"uplevel {
code:
switch $storage_type {
       text {
           ReturnHeaders $mime_type
           ns_write [db_string write_text_content ""]
       }
       file {
           set path [cr_fs_path $storage_area_key]
           set filename [db_string write_file_content ""]
           ns_returnfile 200 $mime_type $filename
       }
       lob  {
           ReturnHeaders $mime_type
           db_write_blob write_lob_content ""
       }


--
Programmers.ch
Solutions libres et Opensources
Tel: ++41 76 44 888 72
Site: http://www.programmers.ch
Site: http://openprojects.ch


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to