[SUPPORT] Dayz Server Control Panel [PHP]

That worked thanks.

Start button is not in place and this shows all the time: Server is currently Online"; } else { echo "Offline"; } ?>
and this also: "Please wait 5 seconds for server to shut down. Page will refresh automatically."
and this: "Server should be fully up in about 60 seconds."
 
That worked thanks.

Start button is not in place and this shows all the time: Server is currently Online"; } else { echo "Offline"; } ?>
and this also: "Please wait 5 seconds for server to shut down. Page will refresh automatically."
and this: "Server should be fully up in about 60 seconds."

Open your php.ini again, and search for : short_open_tag and set it to On....so its :

short_open_tag = On

restart the apache server and you are good to go.
 
OK I have done all the steps but what would I put in my web address to get the page up ?

Well depends, from the same machine ? Its http://localhost or http://127.0.0.1

If you want to see it from another PC then use the global IP address of the hosting machine. (go to whatsmyip.org to see it). If its the same machine where you have the game server running then you know the IP :)
Worst case scenario if you have a router/modem, open port 80, in case you dont see it from another pc.
 
Had to sound dumb but im using XAMPP and was wondering where I can find the php.ini?
Im getting the same error as this....
Fatal error: Class 'COM' not found in C:\*snip\index.php on line 125

Well it should be here: /xampp/php/php.in
If its not there then open my index.php and add this at the very top:

<?php phpinfo();?>

Then check the the page again on the browser and search for this ---> php.ini

It should show you the path of file.
Delete the phpinfo after :)
 
Still getting this....
Online"; } else { echo "Offline"; } ?>

And the buttons don't do anything.

Here is my starter.bat

@Echo off
echo Stopping game server...
taskkill /F /IM arma2oaserver.exe
ping 127.0.0.1 -n 1 >NUL
echo.
echo Stopping BEC...
taskkill /F /IM Bec.exe
ping 127.0.0.1 -n 1 >NUL
echo.
echo Starting server...
cd /D "C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead"
start "arma2" /min "Expansion\beta\arma2oaserver.exe" -port=2302 -mod=@DayzOverwatch_Server;@DayzOverwatch -name=dayz_overwatch -config=dayz_overwatch\config_1234.cfg -cfg=dayz_overwatch\basic.cfg -profiles=dayz_overwatch
ping 127.0.0.1 -n 3 >NUL
echo.
echo Starting BEC...
cd /D "C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\BEC"
rem start Bec.exe -f config.cfg
rem ping 127.0.0.1 -n 1 >NUL
exit

If I dbl click on the starter bat in the folder it works.
 

Did you restart your XAMPP after you changed the values ?
Are you sure you are editing the right php.ini ?
That problem you are having is because you dont have short_open_tags enabled in your php.ini

Redownload the file...I changed it so it works with just the COM fix:
https://www.dropbox.com/s/arfjn4fzqjeg9d2/dayzController.rar

if it doesnt work please make a new file in that folder called:

info.php

and inside just put this :
<?php phpinfo();?>

and let me know when you do
 
Back
Top