The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
issues with $criteria and also with blank Submission Accounts for users - 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: issues with $criteria and also with blank Submission Accounts for users (/showthread.php?tid=1607) |
issues with $criteria and also with blank Submission Accounts for users - aningbo - Sep 8th, 2011 I would try to be brief as possible. Firstly, This Form has this code: PHP Code: <?php Code: The "../../global/smarty/messages.tpl" template could not be located at the following locations: /home/aningbo/public_html/form/formtools/themes/default/../../global/smarty/messages.tpl and /home/aningbo/public_html/form/formtools/themes/default/../../global/smarty/messages.tpl. But if i remove this code below, it successfully submits the form!! What could be the problem? I have tried cleaning the cache and using another browser. I need this function since i'm using Submission Accounts and i can't accept duplicate items. Code: $criteria = array("email" => $_POST["email"]); Secondly, I have another form using the module, Submission Accounts. Login: http://iitian.me/form/formtools/modules/submission_accounts/login.php?form_id=2 username: info@gmail.com password: hahaha I'm getting blank fields on all this form items and is not able to let the users edit or update anything. Did i miss out some settings? I've tried it on localhost as well and have been playing around with it for the last 6 hours or so!! Kindly help me out with these two issues. I'm using the latest versions. I just downloaded the latest versions a couple of hours back. Thank You. RE: issues with $criteria and also with blank Submission Accounts for users - aningbo - Sep 8th, 2011 Thank You for the very quick update. Really appreciate it ![]() ![]() btw, Any thoughts on the issue, "global/smarty/messages.tpl"? I seem to be getting the error only when i add the $criteria code. Please give this a look as well and point me to the right direction. I can't accept multiple emails, it has to be unique. Thank You once again |