parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

Unhandled exception in /: is 'file', it has no string representation [parser.runtime]

Сухроб Хусамов 31.10.2006 01:44

Следующий код выдает ошибку, при попытке загрузить файл.
@main[]
<form action="." method="post" enctype="multipart/form-data">

<input name="f1" type="file" accept="text/html">
<input type="submit">

</form>

^if(def $form:f1){
	^throw[dsds;dsds;dsdsd]
}
Текст ошибки такой:
Unhandled exception in /: is 'file', it has no string representation [parser.runtime]

То есть, по непонятной причине, когда в запросе передается файл на сервер, то Парсер вылетает на команде ^throw[...] или какой либо ошибке, выдавая странный текст: Unhandled exception in /: is 'file', it has no string representation [parser.runtime]

Что можно сделать?