-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike,

Line 40 is an eval statement that executes the javascript handed back from the 
AJAX call.  Most likely, there is an error that is being printed instead of 
the normal output; so, the content is not actually javascript.

Can you install the Firebug add-on to Firefox and see what the actual data 
being handed back is?  After installing it, open Firebug, look at the Console 
tab, and try creating a new site maintenance window.  Then, expand the new 
line that is added to the console to see what was returned.

One thing to check is that the user your web server process runs as has write 
access to the vcl/.ht-inc/maintenance directory.

Josh

On Wednesday November 02, 2011, Waldron, Michael H wrote:
> I was trying to test the Site Maintenance feature on my VCL test system,
> and I get the following error when I click Create Site Maintenance after
> filling in the fields:
> 
> AJAX Error: missing ; before statement
> Line 40 in
> https://mysite_url/js/sitemaintenance.js<https://vcltest.its.unc.edu/js/si
> temaintenance.js>
> 
> This is VCL 2.2.1 by the way.
> 
> Mike Waldron
> Systems Specialist
> ITS Research Computing
> University of North Carolina at Chapel Hill
> CB #3420, ITS Manning, Rm 2509
> 919-962-9778
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk6xgnsACgkQV/LQcNdtPQO2LwCeIvn5gYqwd0fkf0o8bzxM78iB
AY4AnipZFFq78woSXHNcmfkNASOVcbuI
=WLGQ
-----END PGP SIGNATURE-----

Reply via email to