{"id":6006,"date":"2018-04-06T08:44:33","date_gmt":"2018-04-06T13:44:33","guid":{"rendered":"http:\/\/www.carnaghan.com\/?post_type=epkb_post_type_1&p=6006"},"modified":"2018-04-06T08:44:33","modified_gmt":"2018-04-06T13:44:33","slug":"jhtmlform-not-supported-invalid-token","status":"publish","type":"epkb_post_type_1","link":"https:\/\/www.carnaghan.com\/knowledge-base\/jhtmlform-not-supported-invalid-token\/","title":{"rendered":"JHTMLform not supported. Invalid Token"},"content":{"rendered":"
After you upgraded from\u00a0Joomla! 1.5.0<\/strong>\u00a0to\u00a01.5.2<\/strong>\/1.5.3<\/strong>\u00a0you receive the error message\u00a0JHTMLform not supported. Invalid Token.<\/strong>\u00a0when trying to login to the\u00a0backend<\/strong>. Or when trying to fill in a\u00a0form<\/strong>\u00a0or\u00a0login<\/strong>\u00a0on\u00a0Front End<\/strong>\u00a0you get\u00a0Invalid Token or\u00a0<\/strong>JHTMLform not supported. Invalid Token.<\/strong><\/p>\n Follow the steps below in order to solve this problem<\/p>\n STEP 1<\/strong><\/u><\/p>\n Locate the following path in your\u00a0Joomla! installation<\/strong>\u00a0in the\u00a0root<\/strong>\u00a0directory\u00a0\/libraries\/joomla\/html\/html\/<\/strong>and check if the file\u00a0form.php\u00a0<\/strong>is present.<\/p>\n STEP 2<\/strong><\/u><\/p>\n If the file is missing create the file\u00a0form.php<\/strong>\u00a0in the\u00a0\/libraries\/joomla\/html\/html\/<\/strong>directory and add the code below in the\u00a0form.php\u00a0<\/strong>file.<\/p>\n CODE<\/u><\/p>\n <?php<\/p>\n \/** \/** }<\/p>\n ?><\/p>\n STEP 3<\/strong><\/u><\/p>\n Save the file and refresh your\u00a0Joomla!<\/strong>\u00a0page and the problem should now be solved.<\/p>\n","protected":false},"excerpt":{"rendered":" After you upgraded from\u00a0Joomla! 1.5.0\u00a0to\u00a01.5.2\/1.5.3\u00a0you receive the error message\u00a0JHTMLform not supported. Invalid Token.\u00a0when trying to login to the\u00a0backend. Or when trying to fill in a\u00a0form\u00a0or\u00a0login\u00a0on\u00a0Front End\u00a0you get\u00a0Invalid Token or\u00a0JHTMLform not supported. Invalid Token. Follow the steps below in order to solve this problem STEP 1 Locate the following path in your\u00a0Joomla! installation\u00a0in the\u00a0root\u00a0directory\u00a0\/libraries\/joomla\/html\/html\/and check if […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"epkb_post_type_1_category":[4442],"epkb_post_type_1_tag":[],"yoast_head":"\n
\n* @version $Id: form.php 9944 2008-01-14 21:10:22Z eddieajau $
\n* @package Joomla.Framework
\n* @subpackage HTML
\n* @copyright Copyright (C) 2005 – 2008 Open Source Matters. All rights reserved.
\n* @license GNU\/GPL, see LICENSE.php
\n* Joomla! is free software. This version may have been modified pursuant
\n* to the GNU General Public License, and as distributed it includes or
\n* is derivative of works licensed under the GNU General Public License or
\n* other free or open source software licenses.
\n* See COPYRIGHT.php for copyright notices and details.
\n*\/<\/p>\n
\n* Utility class for form elements
\n*
\n* @static
\n* @package Joomla.Framework
\n* @subpackage HTML
\n* @version 1.5
\n*\/
\nclass JHTMLForm
\n{
\n\/**
\n* Displays a hidden token field to reduce the risk of CSRF exploits
\n*
\n* Use in conjuction with JRequest::checkToken
\n*
\n* @static
\n* @return void
\n* @since 1.5
\n*\/
\nfunction token()
\n{
\nreturn ‘<input type=”hidden” name=”‘.JUtility::getToken().'” value=”1″ \/>’;
\n}<\/p><\/blockquote>\n