The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Post Upgrade Problem - 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: Post Upgrade Problem (/showthread.php?tid=1624)



Post Upgrade Problem - Dogen - Sep 14th, 2011

Hi Ben,

Well, I guess I spoke to soon. Everything seemed to be in working order but I just found out that cannot view submissions via the admin. Forms are updating the database just fine, e-mails are been sent, but when you click on the "VIEW" link, you get a blank page after the form title appears. IE is reporting errors on the page. I've attached a screen capture.

[attachment=141]
I just installed the Database Integrity Manager. It found errors in the Core and Export Manager:

FORM TOOLS CORE - hook_calls - Invalid column: action_location
- is: enum('start','end')
- should be: varchar(100)

Export Manager - module_export_groups - missing column: form_view_mapping

Export Manager - module_export_groups - missing column: forms_and_views



RE: Post Upgrade Problem - Ben - Sep 15th, 2011

Hi Dogen,

hah, I responded to your previous post too soon too. :-)

For the javascript error, empty your browser's cache. Most probably, it's just cached an old version of one of the JS files which is causing the error you're spotting. Or, possibly, it's related to the Export Manager module problem.

For the Export Manager problem, have you made any customizations to the module? If not, simply uninstall then re-install it. That will recreate the module database tables.

Lastly, for the Core problem, that's a worry... still, it's easy to fix. Do you have access to phpMyAdmin? If so, edit the table column and change the type from an ENUM field to a VARCHAR field of size 100. It's very simple to do through the phpMyAdmin interface.

Let me know how it goes!

- Ben


RE: Post Upgrade Problem - Dogen - Sep 16th, 2011

Hi Ben,

Thanks again for helping me work through these issues.

So, I followed your instructions. Export Manager is now installed correctly. Changed the database structure. Database Integrity Manager now reports NO problems.

However....

The View Submissions issue is still unresolved. Cleared cache, cookies, temp files, etc. Tried with Firefox and IE. Both fail to show submissions. However, I also found something else wonky that is probably related.

On the Forms page, in IE the links to pages 2, 3 and 4 of our forms will not work. IE is reporting an error on the Forms page itself:

Line: 1
Char: 1
Error: 'ft' is undefined
Code: 0

In Firefox, however, the links to the other pages work just fine!

So I browsed around the admin menu some more. IE is reporting various errors on nearly every page (Settings, Clients, Modules, etc.). The Update button won't even work in IE.


(Sep 15th, 2011, 8:43 PM)Ben Wrote: Hi Dogen,

hah, I responded to your previous post too soon too. :-)

For the javascript error, empty your browser's cache. Most probably, it's just cached an old version of one of the JS files which is causing the error you're spotting. Or, possibly, it's related to the Export Manager module problem.

For the Export Manager problem, have you made any customizations to the module? If not, simply uninstall then re-install it. That will recreate the module database tables.

Lastly, for the Core problem, that's a worry... still, it's easy to fix. Do you have access to phpMyAdmin? If so, edit the table column and change the type from an ENUM field to a VARCHAR field of size 100. It's very simple to do through the phpMyAdmin interface.

Let me know how it goes!

- Ben




RE: Post Upgrade Problem - Ben - Sep 16th, 2011

Hi Dogen,

Hmm... yeah, if it's in one of the main JS files, it'll throw errors all over the place and a lot of the functionality won't work.

The fact that it works in FF kind of makes me think it's still the cache, though... What theme are you using? If it's not the default, could you try switching temporarily to the default theme and try again in IE? I'm just wondering if it's theme-specific...

Oh - and also, what version of IE? (Form Tools 2 has never supported IE6!)

- Ben


RE: Post Upgrade Problem - Dogen - Sep 16th, 2011

Hi Ben,

I'm using IE 7 and the default theme.

Tried clearing all browsing data from Chrome, FF and IE. No dice.

D.

(Sep 16th, 2011, 10:20 AM)Ben Wrote: Hi Dogen,

Hmm... yeah, if it's in one of the main JS files, it'll throw errors all over the place and a lot of the functionality won't work.

The fact that it works in FF kind of makes me think it's still the cache, though... What theme are you using? If it's not the default, could you try switching temporarily to the default theme and try again in IE? I'm just wondering if it's theme-specific...

Oh - and also, what version of IE? (Form Tools 2 has never supported IE6!)

- Ben




RE: Post Upgrade Problem - Ben - Sep 19th, 2011

HI Dogen.

I'm stumped. Any chance I could log in and take a look myself?

(ben.keen@gmail.com).

- Ben