|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Support::Windows Servers Support forum for Windows EQEMu users. |
05-04-2011, 05:32 AM
|
Sarnak
|
|
Join Date: May 2010
Location: Oslo, Norway
Posts: 63
|
|
EQEmu\templates .html files don't work?
So, I tossed "C:\EQEmu\templates" to my htdocs folder and loaded up localhost/templates which results in failure. The php portion of them don't seem to function. Not on any server box I put it onto, the apache+php i setup myself, or the xampp on this system.
http://content.screencast.com/users/...05-04_0228.png
It looks really nifty and useful, but appears useless?
Is this a Work In Progress, or intended to be functional?
|
05-04-2011, 05:43 AM
|
Demi-God
|
|
Join Date: Aug 2010
Posts: 1,743
|
|
I could be wrong, but those might be for the HTTP service you can enable on your server:
<!-- Enable and set the port for the HTTP service. Defaults are shown -->
<http port="9080" enabled="true" mimefile="mime.types" />
|
05-04-2011, 06:55 AM
|
|
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
Yes that is exactly what it is for, and I don't think it has to be moved to work. Works fine for me without moving, anyway. You just go to localhost:9080 or whatever your URL is and the port you set in the config line posted by lerxst2112.
|
05-04-2011, 12:50 PM
|
|
Demi-God
|
|
Join Date: Mar 2009
Location: Umm
Posts: 1,492
|
|
Trev, could you post some more details, or is there a guide how to use this thing? What exactly does it allows you to do?
|
05-04-2011, 04:19 PM
|
Demi-God
|
|
Join Date: Aug 2010
Posts: 1,743
|
|
Quote:
Originally Posted by ChaosSlayerZ
Trev, could you post some more details, or is there a guide how to use this thing? What exactly does it allows you to do?
|
It's pretty easy to figure out. You enable it and connect to http://127.0.0.1:9080 or whatever your server address/port is while the server is running and you can see what it does.
|
05-04-2011, 04:29 PM
|
Sarnak
|
|
Join Date: May 2010
Location: Oslo, Norway
Posts: 63
|
|
It asks for a login, and I have no clue at all what info to provide it.
It's rejected: MySQL, Player Account, LoginServer account, default admin/password combinations.
|
05-04-2011, 05:27 PM
|
Demi-God
|
|
Join Date: Aug 2010
Posts: 1,743
|
|
It is looking for an account/password pair from the account table. If your account doesn't have a password assigned use something like this to set one:
UPDATE account SET PASSWORD=MD5("password") WHERE NAME="admin"
You also have to have a status of 100 or higher.
|
05-04-2011, 06:22 PM
|
Sarnak
|
|
Join Date: May 2010
Location: Oslo, Norway
Posts: 63
|
|
Missing password was the problem!
|
05-04-2011, 07:19 PM
|
|
Demi-God
|
|
Join Date: Mar 2009
Location: Umm
Posts: 1,492
|
|
ah cool i got it
how update is this thing?
considering all the changes to Db sql over the years?
|
05-05-2011, 04:47 AM
|
|
Developer
|
|
Join Date: Aug 2006
Location: USA
Posts: 5,946
|
|
It still has the full functionality that it always has. Some of the features in it were never fully implemented, but it still has uses. Works well for changing account status or looking at who is on and what zones are in use and such.
|
05-06-2011, 01:49 AM
|
Sarnak
|
|
Join Date: Nov 2002
Posts: 33
|
|
I am having same problem as OP. the pages aren't loading properly. Also the only way I can access them is by launching the http files from the templates folder. If i try accessing via localhost:9080 I get page not found.
I am trying to figure out why when I start my server the HTTP service is disabled even though I have enabled="true"
From logs:
[05.05. - 19:19:57] [WORLD__INIT] HTTP world service disabled.
From eqemu_config.xml:
<http port="9080" enabled="true" mimefile="mime.types" />
|
05-06-2011, 01:53 AM
|
Demi-God
|
|
Join Date: Aug 2010
Posts: 1,743
|
|
Well, without seeing the rest of your config file it's hard to say anything else other than "you're doing it wrong."
|
|
|
|
05-06-2011, 02:07 AM
|
Sarnak
|
|
Join Date: Nov 2002
Posts: 33
|
|
Is that the only point of failure? Looked fine to me.
Do I need Apache running, special configs, etc?
Code:
<?xml version="1.0"?>
<server>
<world>
<shortname>RallonZek</shortname>
<longname>Rallon Zek PvP (Alpha)</longname>
<!-- address has to be specified for minilogin to work -->
<address>74.216.88.139</address>
<localaddress>192.168.1.201</localaddress>
<!-- Loginserver information. -->
<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account>********</account>
<password>**********</password>
</loginserver>
<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>**********</key>
<!-- Enable and set the port for the HTTP service. Defaults are shown -->
<http port="9080" enabled="true" mimefile="mime.types" />
</world>
<!-- Database configuration, replaces db.ini -->
<database>
<host>localhost</host>
<port>3306</port>
<username>*******</username>
<password>*********</password>
<db>********</db>
</database>
</server>
|
|
|
|
05-06-2011, 04:02 AM
|
|
Developer
|
|
Join Date: Mar 2003
Posts: 1,497
|
|
Did you set up an alias in your httpd.conf file to point to the directory?
|
05-06-2011, 06:54 PM
|
Demi-God
|
|
Join Date: Aug 2010
Posts: 1,743
|
|
That config looks correct, but for whatever reason it isn't picking up the "enabled".
Your best bet is to debug it. The code that reads those values is near the end of EQEmuConfig::do_world.
The world server is the http server, you don't need Apache or any other configuration or aliases for it to work.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 04:41 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|