LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Unable to create Rails EasyHost Template

Reply
 
Thread Tools Display Modes
  #1  
Old 12-31-2006, 11:53 AM
djsodom djsodom is offline
Member
 
Join Date: Sep 2006
Posts: 37
Default Unable to create Rails EasyHost Template

When I create a virtual host using the Rails Template and then restart, I get this warning:
[config:server:vhosts] missing <virtualHostList>

And if I instantiate it, and then try to view it, I get this error:
/opt/lsws/conf/quizical.xml is not a valid file.

these notices show up in my log too:

2006-12-31 14:46:44.602 NOTICE [66.90.167.160:55903-0#_AdminVHost] [STDERR] PHP Warning: array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in /opt/lsws/admin/html.3.0RC1/classes/ConfCenter.php on line 67
2006-12-31 14:46:44.602 NOTICE [66.90.167.160:55903-0#_AdminVHost] [STDERR] PHP Warning: Invalid argument supplied for foreach() in /opt/lsws/admin/html.3.0RC1/classes/Service.php on line 72
2006-12-31 14:46:44.602 NOTICE [66.90.167.160:55903-0#_AdminVHost] [STDERR] PHP Warning: array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in /opt/lsws/admin/html.3.0RC1/classes/ConfCenter.php on line 67
2006-12-31 14:46:44.602 NOTICE [66.90.167.160:55903-0#_AdminVHost] [STDERR] PHP Warning: Invalid argument supplied for foreach() in /opt/lsws/admin/html.3.0RC1/classes/Service.php on line 72
2006-12-31 14:46:51.327 NOTICE [66.90.167.160:55904-0#_AdminVHost] [STDERR] PHP Warning: array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in /opt/lsws/admin/html.3.0RC1/classes/ConfCenter.php on line 67
2006-12-31 14:46:51.328 NOTICE [66.90.167.160:55904-0#_AdminVHost] [STDERR] PHP Warning: Invalid argument supplied for foreach() in /opt/lsws/admin/html.3.0RC1/classes/Service.php on line 72
2006-12-31 14:47:58.068 NOTICE [66.90.167.160:55906-8#_AdminVHost] [STDERR] /opt/lsws/conf/quizical.xml is not a valid file.
2006-12-31 14:50:04.169 NOTICE [66.90.167.160:55922-1#_AdminVHost] [STDERR] /opt/lsws/conf/quizical.xml is not a valid file.

the /opt.lsws/conf/ directory exists and is owned by the same user as is running lsws.

any thoughts?
Reply With Quote
  #2  
Old 01-01-2007, 12:15 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
looks like a bug in the new admin interface, we will check.
Reply With Quote
  #3  
Old 01-17-2007, 12:29 AM
phallstrom phallstrom is offline
Member
 
Join Date: Jan 2007
Posts: 28
I have the same problem. Creating a virtual host in the easyrailstemplate works fine. Instantiating it results in it complaining that the xml config file is invalid...

this is on freebsd6, 3.0RC1.

Last edited by phallstrom; 01-17-2007 at 12:29 AM.. Reason: more info
Reply With Quote
  #4  
Old 01-17-2007, 11:38 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
This should have been addressed in our upcoming 3.0RC2 release.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:31 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.