By Luis PM on Thursday, 13 October 2016
Posted in InviteX
Likes 0
Views 2.6K
Votes 0
I am running, InviteX 3.0 and Joomla 3.6.2
TEMPLATE Email Options, and i try to save change.

Error like this is display:

Notice: Use of undefined constant JREQUEST_ALLOWHTML - assumed 'JREQUEST_ALLOWHTML' in /var/www/html/URL/web/administrator/components/com_invitex/controllers/config.php on line 28

Fatal error: Cannot use object of type JInput as array in /var/www/html/URL/web/administrator/components/com_invitex/controllers/config.php on line 28


This is beacuse the config.php file is no saving the html string.
Line 28:
$post['name'] = JFactory::getApplication()->input->get('name', '', 'post', 'string', JREQUEST_ALLOWHTML);

The correct code is:
JFactory::getApplication()->input->get('name', '', 'post', 'string', JREQUEST_ALLOWHTML);

I save the change on the config.php file.
Upload again. and now i can save template email code.
View Full Post