How does Webserver works in the new Ptokax ?
What do i need for running it ? What files and finaly how do i setup the htm files ?
Hope for some help
u can still use the old web Files from older Ptokax's...just tested and it works
try this --> Ptokax Webfiles (http://ptokax.psycho-chihuahua.net/html.rar)
Hmm, tried copying the html folder from previous Ptokax version, but cant get web pages back up - anyone got any suggestions?
I always wondered why not make PHP files with access to PtokaX's DB? Would be a more elegant and flexible one IMHO.
I use ptokax DC hub 0.3.3.0 build 15.25 [debug] BufA: 220, BufB: 520
The only folders i have are...
Language
logs
scripts
texts
how do i get the hmtl folder??
tnx for your answer
Put the html folder in your PtokaX folder
QuoteOriginally posted by Psycho_Chihuahua
u can still use the old web Files from older Ptokax's...just tested and it works
try this --> Ptokax Webfiles (http://ptokax.psycho-chihuahua.net/html.rar)
tnx.. i already found this v0.326 version on my other hard disc, and in there is the html folder
Mutor, could u convert your hubstats script to Lua 5?
atm i only get an "onliune.lst" can't be found so userstats arn't correct - it always show 0 users in the hub ^^
Try this one..
Webstats Lua 5 (http://www.wooshman.ath.cx/downloads/)
thnx M8 :D
PHP is under BSD license, so the source does not have to be re-released, so a php plugin for PtokaX which embeds MSSQL/SQLite support would be fine. :)
I enabled the webserver on port 8080 and i forward port 8080 in my router to my PtokaX server. But i can't connect to the webserver? My hub adress is gamergun.mine.nu:411 so the webserver adress need to be gamergun.mine.nu:8080 right? The hub is working perfect.
Thanks in advance.
Sorry for my bad English, i'm Dutch
can you connect to it by using 127.0.0.1:8080 ?
No.
192.168.2.100 is the network ip from my server. I also forwarded port 411 to 192.168.2.100 so everyone can join the hub and that works. But forwarding 8080 to 192.168.2.100 doesnt work?
I gave it a closer look and did the following with version 0.3.3.0.b17.07.
i created a html directory with the same files in it as provided by older ptokax version.
First i tested the webserver on port 80. And noticed that the port editbox is greyed out. ( i think this has a reason).
connected on 127.0.0.1 and the page was displayed.
closed ptokax.
then i changed the port number in the ini file to 8080
webserver still enabled.
and it didn't work on 127.0.0.1:8080.
But as i sayed earlier the box is greyed out where you normally fill in the port number. So it's not a bug or wrong port forwarding , the feature is just not there ;)
i guess this belongs in feature requests then...
I downloaded the zip in post #2 from this topic and i use the HTML folder in that zip. But the port box is not greyed out when you STOP the hub. I did that, changed the port number and started the hub. But i will change to 80 and check it :) Edit; changed and deleted the 8080 forwarding in my router but it still doesnt work :( What do i need to do?
Ah is seemed to have tested first with 17.07.
17.08 doesn't have the textbox flaw anymore.
Also i tried now on 8080 again and it worked too, i had a tomcat server running on 8080 earlier , i guess you can't run 2 servers on 1 port. ^.^
Also whould suggest the following:
Don't forward your ports
Test ptokax webserver on 127.0.0.1 (localhost)
if that works, then you know ptokax isn't the problem.
then try to forward a port
and test again with the outside address.
if that fails, then you are doing something wrong in your router. if that works congrat :)
Everything is on "standard" now. But it still doesnt work:
http://members.lycos.nl/gamerguntk/uploads/2/1.PNG
http://members.lycos.nl/gamerguntk/uploads/2/2.PNG
Strange... Am i missing something or am i doing something wrong?
u also have to add the webpage folder to ur ptokax folder, and other stuff , good luck!
get the newest version from ptokax.org (http://www.ptokax.org)
17.08 or higher preferbly
Installed but still doesnt work.
Dessamator, how do you mean?
I got this:
PtokaX dir with:
html -> templates -> hubchat.html & hubstats.html
html -> webstats -> index.html & other layout files / images
As i sad, i got this from the ZIP file at post #2. Thanks in advance and for all te help here :)
I tried this also:
http://board.univ-angers.fr/thread.php?threadid=4002&boardid=26&styleid=1
But i saw this topic with the same problem:
http://board.univ-angers.fr/thread.php?threadid=4232&boardid=9&styleid=1&sid=279adfa179807846c5d2ca40223608ea
And Mutor says:
"to disable and then enable the WebServer on the oprions page. It seems sometimes the web server is not started at hub start."
I tried a couple times (disable / enable) and it works now on local host! Lets forward the port!
Edit; and it works now at other people too!
Thanks all! Thanks thanks thanks !
Only one question left:
The online members page, there is only one member called [Admin]Mutor. I saw that this file is linking to members.html. But how can i let this work so i really see the online members?
I have written in file hubstats.html tag <--HUBUPTIME--> , and in statistics appear time of the working the hub. Can be there is else some tags?
i will like to have html files which will support ptokax webserver
and it must be like this site means only the user who are registered
in the hub must be able to login with the same nick and pass tht they
have in the hub and it should have forum were user can write there
request or problems or anything they want if possible it must also show
Total time Logged in etc etc
thanks in adavace :D
Quote from: Yahoo on 23 May, 2007, 16:16:37
i will like to have html files which will support ptokax webserver
and it must be like this site means only the user who are registered
in the hub must be able to login with the same nick and pass tht they
have in the hub and it should have forum were user can write there
request or problems or anything they want if possible it must also show
Total time Logged in etc etc
thanks in adavace :D
At the mo the only script about for the webserver is Mutors pxstats HERE (http://forum.ptokax.org/index.php?topic=4002.0) Which if you click links on his signature you can see a demo or click HERE (http://euro-op.no-ip.info:8080) to see my version
sir i know both mutor pxstats and urs (Tw?sT?d-d?v?l) pxstats but sir i am requesting for new one .. i think the forum like thing will be nice one as it will attract some user to have a look over hubs website
thanks for the quick reply
The provblem is that PPK would add a Lua-enabled webserver if it were built upon nonblocking sockets - i. e. if the webserver does something, the hub won't lag.
i have added the web template v2 by mutor and followed the instructions of changing name to pxstats.lua no chages done in html folder which is kept in my root folder with ptokax.exe
then when i try to connect ip i c this in iexplorer
$Lock EXTENDEDPROTOCOLxXZr\i]LP5oIhEIUyRYlQndq>kPwin Pk=PtokaX|
what have i done wrong?
thks, achiever
Uhm, use the webserver port
http://your.hubs.add:port
i have the
tcp port = 80 and secondary port = 411
and error
[20:26] Syntax F:\0.3.6.0\scripts\pxstats.lua:56: attempt to call a table value
[20:26] Syntax F:\0.3.6.0\scripts\pxstats.lua:150: attempt to call a table value
thks,
achiever.
you cant run the hub on port 80 if you want to use its webserver on that port as well
where is the webserver post to be set
Quote from: achiever on 11 July, 2007, 18:42:34
where is the webserver post to be set
im taking that you made a typo and post shud be port ... and its set in the options tab in ptokax GUI
When you set port make sure you tick box :)
ya i did,
thanks i got it! i can connect to hub thru html now.
and still the script pxstats from Web_Template_2.rar by mutor gives this errors
[02:44] Syntax F:\0.3.6.0\scripts\pxstats.lua:56: attempt to call a table value
[02:44] Syntax F:\0.3.6.0\scripts\pxstats.lua:150: attempt to call a table value
plzz check,
thks,
achiever.
sorry my bad,
thanks for help,
achiever.