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
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
Step 6 - Internal Server Error - 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: Step 6 - Internal Server Error (/showthread.php?tid=1904)



Step 6 - Internal Server Error - renobird - Feb 17th, 2012

Hi All,

I'm getting an Internal Server Error on Step 6 of the install process.
I can see that step 5 successfully creates the admin account in the DB, but if I try to remove the "Install" folder (thus, skipping step 6 of the install) I can't login with the admin account.

Any help would be much appreciated.


RE: Step 6 - Internal Server Error - Ben - Feb 17th, 2012

Hi Renobird,

Sorry you're having trouble! Are you using the latest main download file, or did you use the Custom Build script to generate your download package?

In either case, however, I think I may need to look at the problem directly. Would it be possible to get your FTP access so I could see the problem myself? If so, email me at ben.keen@gmail.com

- Ben


RE: Step 6 - Internal Server Error - anton@mojo.org - Feb 18th, 2012

I'm having exactly the same issue... If you have any recommendations I'd be very pelased to hear them: I have used previous versions to very great effect!

aa


RE: Step 6 - Internal Server Error - Ben - Feb 19th, 2012

Hi Anton,

Curious! I don't suppose I could get access to your installation (FTP & FT admin)? I haven't heard back from renobird yet, but I'd be very curious to see this problem.

- Ben




RE: Step 6 - Internal Server Error - renobird - Feb 20th, 2012

Hi Ben,

I used the latest main download file. I'll send you an email with FTP access.

Thanks!
--
Tom


RE: Step 6 - Internal Server Error - Ben - Feb 23rd, 2012

Hi Tom,

I just responded by email, but I'll post here as well.

It's all installed now. I came across two problems - I'll explain each in depth, so it's totally clear what's going on.

1. First, PHP sessions aren't working, but your phpinfo() file says that they are. I think this is probably just a simple misconfiguration on the server. Possibly the temporary folder where the session files are being created is either invalid or not writable. Those are the two most usual causes.

It's a bit daft (and will be changed!) but Form Tools doesn't actually need PHP sessions for standard use of the script - only the installation script does. This is simply because the install script is a bit dated and needs that aspect of it to be updated. I've found that on 99% of servers, PHP sessions are enabled so it simply hasn't caused much a problem so far.

Normally, once it's been installed, you can switch over to database sessions by adding the following line to your /global/config.php file:

$g_session_type = "database";

I did this after manually completing the install, and it's bypassed all the problems with sessions. Did you notice that on the config.php generation page, the generated content didn't include the field values you'd entered up to that point? That was caused by this.

2. There's a problem with your mail() script. Again, this looks like a server misconfiguration - or possibly a problem with your sendmail script itself. The 500 error you were getting on step 6 was caused by the installation script attempting to send the "Form Tools has been installed!" email to the administrator's email address. I've actually never seen that before! In every other case, if mail() is misconfigured or simply doesn't work, the line will just be ignored. Fascinating that it caused a complete meltdown here. I'd love to know the cause, but I'm afraid that that's something for your hosting provider / system administrator to answer.

Hope this helps!

- Ben



RE: Step 6 - Internal Server Error - renobird - Feb 24th, 2012

Ben,

Thanks for the amazing support and detailed reply. The install is now working correctly and I've forwarded the info about the server configuration to the host.

Smile


RE: Step 6 - Internal Server Error - anton@mojo.org - Mar 16th, 2012

thank you as well: belated I know, but still really really appreciated!