Index: openacs-4/packages/acs-bootstrap-installer/installer.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/installer.tcl,v diff -u -r1.24.2.6 -r1.24.2.7 --- openacs-4/packages/acs-bootstrap-installer/installer.tcl 9 Aug 2014 08:48:10 -0000 1.24.2.6 +++ openacs-4/packages/acs-bootstrap-installer/installer.tcl 9 Aug 2014 08:51:02 -0000 1.24.2.7 @@ -53,7 +53,7 @@ for OpenACS installation. @return An array list with variable names as values - and pretty names as keys. + and pretty names as keys. } { return { email "Email" @@ -72,7 +72,7 @@ for OpenACS installation. @return An array list with variable names as values - and default values as keys. + and default values as keys. } { return { username "" @@ -90,9 +90,9 @@ more primitive proc instead. @param mandatory_params An array list where keys are param names and values - are pretty names. + are pretty names. @param optional_params An array list with param names as keys and default - values as keys. + values as keys. @author Peter Marklund } { @@ -136,7 +136,7 @@ # If there are missing mandatory params - return a complaint # page and exit if { [llength $missing_params] > 0 } { - ns_write "[install_header 200 "Missing parameters"] + ns_write "[install_header 200 {Missing parameters}] The following mandatory parameters are missing:
$script
, doesn't exist. Please check
your URL and try again.
"
@@ -292,30 +292,30 @@
# Engage a mutex for double-click protection.
ns_mutex lock [nsv_get acs_installer mutex]
if { [catch {
- # Source the page and then unlock the mutex.
- apm_source $path errors
- ns_mutex unlock [nsv_get acs_installer mutex]
+ # Source the page and then unlock the mutex.
+ apm_source $path errors
+ ns_mutex unlock [nsv_get acs_installer mutex]
} error] } {
- # In case of an error, don't forget to unlock the mutex.
- ns_mutex unlock [nsv_get acs_installer mutex]
- global errorInfo
- install_return 500 "Error" "The following error occurred in an installation script:\n\
+ # In case of an error, don't forget to unlock the mutex.
+ ns_mutex unlock [nsv_get acs_installer mutex]
+ global errorInfo
+ install_return 500 "Error" "The following error occurred in an installation script:\n\
\n" } if {[array size errors] > 0} { - install_return 500 "Error" [install_load_errors_formatted errors] + install_return 500 "Error" [install_load_errors_formatted errors] } return "filter_return" } proc install_admin_widget {} { return " -[ns_quotehtml $errorInfo]