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



Form Tools
Config.php does not exist - 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: Config.php does not exist (/showthread.php?tid=764)



Config.php does not exist - Ken Watson - Jun 28th, 2010

1. I have no config.php file, is this a change in version 2?
2. I want to change $head_title so it says my heading.
3. I want to use and import your form used for Registering on Forum and sending the confirmation email and link. Can I have a copy? I am brand new to php and I think it will speed up my learning curve.
4. The forms are working if i use the API, but using the other way emails do not go out. Test email only works if I disable html mail and send only text.


Thanks in advance,
Ken
p.s. I hope I posted in the right place.


RE: Config.php does not exist - Ben - Jul 4th, 2010

Hi Ken,

Thanks for the post!

(1) Huh... so, regarding config.php - are you looking in the /global folder? If Form Tools is running, that file should definitely be there!
(2) For $head_title, I assume you mean the <title> of the webpages? I think for that, you'll need to modify the theme you're using. Here's a little info on themes:
http://docs.formtools.org/theme_development/
(3) Sure! What you could do is just download myBB and get a copy of the registration form from that. However, I'm not sure it would really help much - it's pretty complicated to make sense of...
(4) Hmmm that's very strange. The email mechanism is the same for both POST and API forms - there's really no difference at all... I'd suggest looking into the Swift Mailer module to send your emails via SMTP. If I had to hazard a guess I'd say your mail() implementation isn't quite up to the task.

Hope this helps a bit.

- Ben