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 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
Error after uploading upgrade - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Error after uploading upgrade (/showthread.php?tid=1477)



Error after uploading upgrade - Pintac - Jul 23rd, 2011

Hello. Just uploaded to upgrade from2.0.5 and now receive the following messages when navigating to the admin page.



Code:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in public_html/forms/global/code/hooks.php on line 131

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in public_html/forms/global/code/hooks.php on line 131

Warning: Cannot modify header information - headers already sent by (output started at public_html/forms/global/code/hooks.php:131) in public_html/forms/global/code/accounts.php on line 270



RE: Error after uploading upgrade - Ben - Jul 23rd, 2011

Hi Pintac,

Sorry you're having trouble!

Upgrading from 2.0.5 to 2.0.6 should actually be totally seamless: there were no database changes between those versions, so if things started going wrong it will be caused by the files you uploaded.

But having said that... you actually shouldn't see those errors: 2.0.6 should have error reporting turned to 1 (errors, not warnings), so that's rather strange...

Still, what I'd do is download a fresh copy of 2.0.6 and re-upload the whole thing, overwriting your old files (always keep a backup, just in case).

If you still encounter the error, let me know.

Oh - one other question: do you see errors on multiple pages, or just the forms page?

- Ben