Actually, I had passwd set to passwd since that is the variable name in the script. I fixed the problem by setting my password directly in the script. I think that my server has an issue with passing a parameter through the cronjob command line. Therefore, everything after cronjob.php just messed it up. Obviously, my host provider should know this but they didn't. I read on some websites that passing parameters varies from host configuration. Anyway, it does work now though.Blackpawn wrote:you need to make sure your link is pointing to the file with the right variable namesgylippus wrote:/usr/bin/php -f /var/www/vhosts/mrdgeography.com/httpdocs/phpBB3/games/aod/crons/cronjob.php?password=mypassword
should beCode: Select all
cronjob.php?password
let me know if you still have problems after you make the changes in the linkCode: Select all
cronjob.php?passwd
this line #!/usr/local/bin/php -q is some times required by the host in order to run cronjobs all though it may differ from host to host.plasmino wrote:in /games/aod/crons/cronjob.php
remove this line
#!/usr/local/bin/php -q
Now you have access to this page
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4200: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4202: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4203: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4204: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
By any chance did you update your phpBB version after you installed the game console because I just upgraded my phpBB version to the latest version and everything is still working fine. But if you chose to use the new files instead of merging the code changes this might exaplain why your getting these errors.Differentiation wrote:Hey, I am interested in helping you develop this mod.
I have basic knowledge of PHP (Sadly no database related stuff yet)
I have quite a few ideas in mind and after seeing your screen shots, it looks "do-able"
I am willing to learn the database related material.
You can contact me through PM if you are interested.
Thanks.
Edit: Tried running this on my localhost machine and using PHPBB 3.0.6.
Doesn't seem to work.
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4200: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4202: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4203: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1) [phpBB Debug] PHP Notice: in file /includes/functions.php on line 4204: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 295: Undefined variable: game_sql
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 308: Undefined variable: error_msgs
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 311: Undefined variable: game_name
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 312: Undefined variable: game_desc
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 313: Undefined variable: game_ver_major
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 314: Undefined variable: game_ver_minor
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 315: Undefined variable: game_ver_build
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 316: Undefined variable: game_path
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 317: Undefined variable: game_author
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 318: Undefined variable: game_email
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 319: Undefined variable: game_website
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 320: Undefined variable: game_credits
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 321: Undefined variable: game_history
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 322: Undefined variable: game_license
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 323: Undefined variable: game_copyrights
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 324: Undefined variable: game_sql
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 324: Undefined variable: query_code
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 326: Undefined variable: game_member_slots
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 327: Undefined variable: game_ticks_left
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 328: Undefined variable: game_round
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 329: Undefined variable: game_round_length
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 330: Undefined variable: game_bulletin
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 332: Undefined variable: newgame
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 333: Undefined variable: tab
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 334: Undefined variable: gameselected
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 335: Undefined variable: formdata
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 336: Undefined variable: game_online
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 337: Undefined variable: game_open
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 338: Undefined variable: game_time_mgt
[phpBB Debug] PHP Notice: in file /includes/acp/acp_gameconsole.php on line 339: Undefined variable: game_bulletin_show
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3504)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3504)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3504)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3504)
Code: Select all
[phpBB Debug] PHP Notice: in file /games/aod/includes/functions.php on line 1005: Undefined variable: kingdom_data
[phpBB Debug] PHP Notice: in file /games/aod/create.php on line 21: Undefined variable: available_slots
[phpBB Debug] PHP Notice: in file /games/aod/create.php on line 58: Undefined variable: custom_css
[phpBB Debug] PHP Notice: in file /games/aod/create.php on line 65: Undefined variable: kingdom_advantage
[phpBB Debug] PHP Notice: in file /games/aod/create.php on line 66: Undefined variable: kingdom_ruler
[phpBB Debug] PHP Notice: in file /games/aod/create.php on line 67: Undefined variable: kingdom_name
Code: Select all
// Default Vars
$error_msgs = null;
$admin = 0;
$gold_total = 0;
$food_total = 0;
$gold_total = 0;
$gold_total = 0;
Code: Select all
// Default Vars
$error_msgs = null;
$admin = 0;
$land_total = 0;
$gold_total = 0;
$food_total = 0;
$wood_total = 0;
$iron_total = 0;
Code: Select all
// Default Vars
$error_msgs = null;
$admin = 0;
$gold_total = 0;
$food_total = 0;
$gold_total = 0;
$gold_total = 0;
Code: Select all
// Default Vars
$error_msgs = null;
$admin = 0;
$gold_total = 0;
$food_total = 0;
$soldier_total = 0;
$wood_total = 0;
$iron_totall = 0;