The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Error Message - 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: Error Message (/showthread.php?tid=783) Pages:
1
2
|
Error Message - devvy2 - Jul 17th, 2010 Hi, Can anyone tell me what this error message means? ft_get_form, failed query: Unknown column 'cf.user_id' in 'where clause' Thanks Devern RE: Error Message - Ben - Jul 20th, 2010 Hi Devern, It means the syntax of the SQL query to retrieve the form information is invalid. When does this occur - where do you see it happening? In the core script or in your own custom SQL? - Ben RE: Error Message - devvy2 - Jul 21st, 2010 (Jul 20th, 2010, 3:22 PM)Ben Wrote: Hi Devern, Thanks again Ben, OK, one last thing. First, I put everything back the way it was previously. If you remember I mentioned that this site was up before and running fine. I am trying to get it back up without the luxury of the previous webmaster. Anyway, the forms work fine and do all the things they're supposed to (i.e. verify email address, verify all required boxes are filled in, etc.) My problem is when I go to the admin (the form tools folder was renamed admin), The page is blank. What would cause this? The url is http://www.lmpassports.com/admin. I changed the config.php to the correct info. It looks like this : Code: <?php I am assuming there is some sort of error in the index.php in the admin folder. It looks like this: Code: <?php What am I doing wrong? Again this worked perfectly, but ever since I changed hosts, I've been having problems. I don't know what else to do. HELP!! RE: Error Message - Ben - Jul 21st, 2010 Heya, Ah! In your config file, the last line needs a semicolon at the end of the line: PHP Code: $g_db_ssl = true; That may well fix it... - Ben RE: Error Message - devvy2 - Jul 21st, 2010 (Jul 21st, 2010, 12:54 PM)Ben Wrote: Heya, Thanks Ben, Unfortunately, that didn't fix it. Do you see any other errors? Devern RE: Error Message - Ben - Jul 22nd, 2010 Hmm... no, the page looks fine. Could you post _index.php? - Ben RE: Error Message - devvy2 - Jul 22nd, 2010 (Jul 22nd, 2010, 9:55 AM)Ben Wrote: Hmm... no, the page looks fine. Could you post _index.php? Sure, it looks like this: <?php require_once("global/library.php"); // verify setup ft_verify_setup(); $is_upgraded = ft_upgrade_form_tools(); // default settings $g_logo = "logo_1.gif"; $g_user_id = ""; $g_css = ""; $g_query_params = ""; $settings = ft_get_settings(); $g_title = $settings['program_name']; $g_footer = ""; // if an user id is included in the query string, use it to determine the appearance of the // interface - including logo and footer if (isset($_GET['id']) && !empty($_GET['id'])) { $info = ft_get_account_info($_GET['id']); if (!empty($info)) { $g_user_id = $_GET['id']; $g_css = $info['css']; $g_logo = $info['logo']; $g_footer = $info['footer_text']; $g_title = $info['page_titles']; } $g_query_params = "?id=$g_user_id"; } if (isset($_POST['username']) && !empty($_POST['username'])) $error = ft_login($_POST); $username = (isset($_POST["username"]) && !empty($_POST["username"])) ? $_POST["username"] : ""; $password = (isset($_POST["password"]) && !empty($_POST["password"])) ? $_POST["password"] : ""; ?> RE: Error Message - MatthewHarri - Jan 30th, 2020 This is especially designed for finding the error mistakes and resolve them like you have used the wrong syntax. In spite of help with dissertation it is used to gives us the syntax's of all the topics that we implement in it. RE: Error Message - Gracawling - Jan 31st, 2020 It means your query is not correct or also shows the mistake in error, this is a basic thing and if you can't understand the basics then you do not become a good programmer. If I don’t understand the basic writing rules then I can’t become a team member of college essay writers or mistaken I will be become part then not a good writer. RE: Error Message - samuelddarden - Apr 21st, 2020 I hope that it doesnt disappoint me as much as this one. Check out one of the most played games on smartphone but also have a pc version now. |