The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Warning message with version 2.0.0-beta-20090908 - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: Installation (https://forums.formtools.org/forumdisplay.php?fid=4)
+--- Thread: Warning message with version 2.0.0-beta-20090908 (/showthread.php?tid=292)

Pages: 1 2


RE: Warning message with version 2.0.0-beta-20090908 - martin_undefined - Jan 17th, 2010

Hi,

Just ran in to a similar set of issues myself upgrading from 20091030 to 20100101 (current version).

Similar error messages to what other posters saw:

Reverting the session_start to the old version seemed to resolve the problem.

So the new version that I downloaded that caused the problems was:

PHP Code:
<?php

$folder 
dirname(__FILE__);
$g_defer_init_page true;
require_once(
"$folder/library.php");

if (
$g_session_type == "database")
  
$sess = new SessionManager();

if (!empty(
$g_session_save_path))
    
session_save_path($g_session_save_path);

session_start();
header("Cache-control: private");
header("Content-Type: text/html; charset=utf-8");

$folder dirname(__FILE__);
require_once(
"$folder/init_page.php"); 

But reverting to the version below has made it work again:

PHP Code:
<?php

$folder 
dirname(__FILE__);
require_once(
"$folder/library.php");

if (
$g_session_type == "database")
  
$sess = new SessionManager();

if (!empty(
$g_session_save_path))
    
session_save_path($g_session_save_path);

session_start();
header("Cache-control: private");
header("Content-Type: text/html; charset=utf-8"); 

Don't know what defer_init_page does - but is it the cause of this issue?


RE: Warning message with version 2.0.0-beta-20090908 - Ben - Jan 18th, 2010

Drat... I thought I'd buried this issue once and for all. You can tell it's a Monday.

I added in $defer_init_page to solve this very problem - and it's worked on every installation except yours so far, so I'm hoping this is just a matter of a file being out of whack or something.

I don't suppose I could get temporary access to your site so I could debug this directly? No worries if not. If it works, it works; I'm just concerned about whenever you choose to upgrade. It could mess things up in the long run.

- Ben


RE: Warning message with version 2.0.0-beta-20090908 - martin_undefined - Jan 21st, 2010

Ben - please see PM.

Thanks

(Jan 18th, 2010, 11:17 AM)Ben Wrote: Drat... I thought I'd buried this issue once and for all. You can tell it's a Monday.

I added in $defer_init_page to solve this very problem - and it's worked on every installation except yours so far, so I'm hoping this is just a matter of a file being out of whack or something.

I don't suppose I could get temporary access to your site so I could debug this directly? No worries if not. If it works, it works; I'm just concerned about whenever you choose to upgrade. It could mess things up in the long run.

- Ben



RE: Warning message with version 2.0.0-beta-20090908 - Ben - Jan 29th, 2010

Sorry for the wait, Martin. Will look at this weekend. :-)

- Ben