Author |
|
onhiatus Senior Member
Joined: May 12 2004 Location: United States
Online Status: Offline Posts: 279
|
Posted: May 29 2006 at 18:49 | IP Logged
|
|
|
So I'm trying to get the PH webserver up and running.
When I try to set it up in the explorer (Setup > Web) I get an error dialog: "An error occured while trying to retrieve the value for: webserver|trustedips" and the ph immediately exits?
I'm running release 1.03.4.3 (DB 1.03.6)
Thoughts?
Thanks, The other Tony
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: May 29 2006 at 21:14 | IP Logged
|
|
|
Do you have any trusted ip's entered?
|
Back to Top |
|
|
onhiatus Senior Member
Joined: May 12 2004 Location: United States
Online Status: Offline Posts: 279
|
Posted: May 29 2006 at 23:01 | IP Logged
|
|
|
No. No settings at all. I can't get to the setup tab to enter any settings because of the above error...
|
Back to Top |
|
|
Manny Senior Member
Joined: March 23 2003 Location: United States
Online Status: Offline Posts: 172
|
Posted: May 30 2006 at 01:22 | IP Logged
|
|
|
When you say no settings at all does that mean your powerhome.ini file has no entries in the [WebServer] section?
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: May 30 2006 at 10:21 | IP Logged
|
|
|
Tony,
When you get an error message such as above, it means that parameters are missing in your pwrhome.ini file. In this case the [WebServer] section. Your INI file may not have gotten properly upgraded from a previous PowerHome upgrade.
Easy enough to fix though. I cant remember if 1.03.4.3 has it or not, but there is most likely a pwrhome.10343.ini file in your PowerHome directory. You can just copy and paste the [WebServer] section from there into your pwrhome.ini file and then try again. Or, Ive included the [WebServer] section for the latest version below (I don't think it changed significantly).
Code:
ENABLEWEBSERVER=NO
WEBSERVERPORT=8000
WEBSERVERUSERID=
WEBSERVERPASSWORD=
WEBSERVERDIRECTORY=c:\program files\powerhome\web
WEBSERVERALLOWGUEST=NO
WEBSERVERSECPSP=2
WEBSERVERSECHTM=1
WEBSERVERSECGIF=1
WEBSERVERSECJPG=1
WEBSERVERSECOTHER=1
TRUSTEDIPS=
ENABLESMARTNEXTURL=NO
MAINTITLE=Main
MAINURL=/ph-cgi/main
MENUTITLE1=Control Center
MENUTITLE2=Direct SQL
MENUTITLE3=SQL Query
MENUTITLE4=Event Log
MENUTITLE5=Timed Events
MENUTITLE6=Global Variables
MENUTITLE7=Formula
MENUTITLE8=Uptime
MENUTITLE9=
MENUTITLE10=
MENUTITLE11=
MENUTITLE12=
MENUTITLE13=
MENUTITLE14=
MENUTITLE15=
MENUTITLE16=
MENUTITLE17=
MENUTITLE18=
MENUTITLE19=
MENUTITLE20=
MENUURL1=/ph-cgi/controlcenter?
MENUURL2=/ph-cgi/directsql?
MENUURL3=/ph-cgi/sqlquery?
MENUURL4=/ph-cgi/eventlog?page=1
MENUURL5=/ph-cgi/timedevent?
MENUURL6=/ph-cgi/globalvar?
MENUURL7=/ph-cgi/formula?
MENUURL8=/ph-cgi/uptime
MENUURL9=
MENUURL10=
MENUURL11=
MENUURL12=
MENUURL13=
MENUURL14=
MENUURL15=
MENUURL16=
MENUURL17=
MENUURL18=
MENUURL19=
MENUURL20=
|
|
|
Let me know how it goes,
Dave.
|
Back to Top |
|
|
onhiatus Senior Member
Joined: May 12 2004 Location: United States
Online Status: Offline Posts: 279
|
Posted: May 30 2006 at 12:22 | IP Logged
|
|
|
Hey Dave, thanks for the quick response! (as almost always!)
I'll try it out tonight, Tony
|
Back to Top |
|
|