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



Form Tools
The "../../global/smarty/messages.tpl" - 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: The "../../global/smarty/messages.tpl" (/showthread.php?tid=1574)



The "../../global/smarty/messages.tpl" - pereira - Aug 30th, 2011

Hi,

i'm setting up a multipage form. Everything seemed to work properly, but after several changes (who can recall exactly ?) on submission of page 3 of the form I get this error message:

The "../../global/smarty/messages.tpl" template could not be located at the following locations: D:\EPHP\www\form_tools/themes/default/../../global/smarty/messages.tpl and D:\EPHP\www\form_tools/themes/default/../../global/smarty/messages.tpl.


I have checked repeatedly the code, but I cant find the point.

Any ideas ?

Thanks


RE: The "../../global/smarty/messages.tpl" - Ben - Aug 31st, 2011

Hmm... that sounds suspiciously like a bug, like the error isn't being handled properly. It's possible I introduced a problem in one of the more recent updated.

Try this: log out of Form Tools altogether and continue setting up your form. Only log in when you need to.

Is there anything special about step 3? Is that where you're finalizing the submission or something?

- Ben


RE: The "../../global/smarty/messages.tpl" - pereira - Aug 31st, 2011

Hi Ben,
thank you for your feedback. I actually got the point: somehow I had the same variable coded twice in formtools fields. The problem began after deleting one of the two entries I must have oveloocked the warning "undefined variable....", and resolved after deleting the wariable and adding it again.

Thank tou again, it is great to have such a timely support.


(Aug 31st, 2011, 6:50 AM)Ben Wrote: Hmm... that sounds suspiciously like a bug, like the error isn't being handled properly. It's possible I introduced a problem in one of the more recent updated.

Try this: log out of Form Tools altogether and continue setting up your form. Only log in when you need to.

Is there anything special about step 3? Is that where you're finalizing the submission or something?

- Ben




RE: The "../../global/smarty/messages.tpl" - Ben - Sep 4th, 2011

Phew! That's a relief. One less bug for me to worry about. :-)

Glad it's all working now.

- Ben