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
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
Can not add form due to fatal error - 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: Can not add form due to fatal error (/showthread.php?tid=432)



Can not add form due to fatal error - gangesh - Jan 9th, 2010

Hello everyone, I am trying to add a simple form with direct method.
whenever i proceed after 4th step, it gets stuck and gives fatal error:

Fatal error: Maximum execution time of 60 seconds exceeded in C:\wamp\www\formtools\global\code\general.php


Is this any bug or my mistake?
Please tel me.

Thank you


RE: Can not add form due to fatal error - Ben - Jan 9th, 2010

Hi Gangesh,

How large is your form? 60 seconds is a very long time for a form submit - even on that page, which is sending a great deal of data.

It's certainly not your mistake, so I'd classify this as a bug. However, it may well be being caused by some server idiosyncracy.

I don't suppose it would be possible for you to give me Form Tools & FTP access so I could log in and see the problem myself? If it is, email me at ben.keen@gmail.com.

- Ben


RE: Can not add form due to fatal error - gangesh - Jan 10th, 2010

Really appreciate your quick reply.
I am running it on wamp server with all permissions to the files.
and form is real small ..just five fields. So that's why I said may be it can be my mistake.
Is running it on local server can be a problem?

Thanks


RE: Can not add form due to fatal error - Ben - Jan 10th, 2010

Hi Gangesh,

No, that shouldn't be a problem at all - I do my local dev work on a WAMP server too.

Interesting..... I remember encountering a problem like this before, but I can't for the life of me remember the cause. Drat.

How's your PHP? We'll have to do some debugging. Specifically, you'll need to examine these three functions:

PHP Code:
// reorder fields
ft_reorder_form_fields($_POST$form_idtrue);

// update their values
ft_set_form_database_settings($_POST$form_id);

// delete unwanted fields
ft_delete_form_fields($_POST$form_id); 

What I usually do for something like this is find each function (they'll be defined in /global/code/fields.php and /global/code/forms.php) and add a line like:

PHP Code:
echo "working!"

at various junctures in the code, then resubmit the form. When you see "working!" appear, that means the problem spot is AFTER that line. Keep moving around your "echo" line until you find the problem. Low-tech, but it'll help locate the problem and then we can diagnose it further.

- Ben