Forum OpenACS Q&A: Fileshare POST error

Collapse
Posted by Ben Koot on
Can anybody tell what I need to do to solve this?

Thanks
Ben

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request POST /esd/files/file-add.

Reason: Error reading from remote server

________________________________________________________

Here is the error message:

Server Error

can't read "folder_id": no such variable
while executing
"fs_folder_p $folder_id"
("uplevel" body line 1)
("uplevel" body line 1)
(procedure "ad_page_contract_eval" line 1)
invoked from within
"ad_page_contract_eval uplevel 1 $code"
(procedure "ad_page_contract" line 562)
invoked from within
"ad_page_contract {
page to add a new file to the system

@author Kevin Scaldeferri (mailto:kevin@arsdigita.com)
@creation-date 6 Nov 2000
@cv..."
("uplevel" body line 2)
invoked from within
"uplevel {
ad_page_contract {
page to add a new file to the system

@author Kevin Scaldeferri (mailto:kevin@arsdigita.com)
@creation-date 6..."
(procedure "code::tcl::/usr/local/www/timedeskblog.com/openacs-5.1.5/pac..." line 2)
invoked from within
"code::tcl::$__adp_stub"
invoked from within
"if { [file exists $__adp_stub.tcl] } {

# ensure that data source preparation procedure exists and is up-to-date
adp_init tcl $__adp_stub
..."
("uplevel" body line 3)
invoked from within
"uplevel {

if { [file exists $__adp_stub.tcl] } {

# ensure that data source preparation procedure exists and is up-to-date
adp_init t..."
(procedure "adp_prepare" line 2)
invoked from within
"adp_prepare "
(procedure "template::adp_parse" line 30)
invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 5)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file $file"

Posted by Ben Koot

Collapse
2: Re: Fileshare POST error (response to 1)
Posted by Dave Bauer on
I don't know any way you can get to the file-add page without a folder_id. It would be a good idea to work backward to the page that was before the one that caused the error. The URL for the file-add page should always look like

file-add?folder_id=123