DOMDocument doesn’t work on my variable, but it does if I add the HTML to the variable directly in the file

I’m using mod_feed. I’m calling in an RSS feed from the Joomla! security strike team http://feeds.joomla.org/JoomlaSecurityNews. I want to show certain parts of that feed on our Joomla! User Group site. The variable is $text and echoing that fires out some HTML. That is the default action of mod_feeds. If I copy and paste the…

Custom Registration Form getInstance() Could Not Load File

Joomla 3.9.14 I have an external script that allows users to register on my Joomla site. The code is below; php <?php include(‘conn.php’); require_once JPATH_BASE .’/components/com_users/models/registration.php’; $model = new UsersModelRegistration(); jimport(‘joomla.mail.helper’); jimport(‘joomla.user.helper’); $language = JFactory::getLanguage(); $language->load(‘com_users’, JPATH_SITE); $language->load(‘com_content’, JPATH_ADMINISTRATOR); $language->load(‘lib_joomla’, JPATH_ADMINISTRATOR); $username = ‘adam’; $name = ‘adam24’; $email = ‘[email protected]’; $password = ‘password’; $data =…

Language Constant Not Displaying in External Script

Joomla 3.9.14 I have an external script allowing users to register as a user on my Joomla site. It all appears to be working apart from error displaying. My code is below; register.php <?php // database connection include(‘conn.php’); require_once JPATH_BASE .’/components/com_users/models/registration.php’; $model = new UsersModelRegistration(); jimport(‘joomla.mail.helper’); jimport(‘joomla.user.helper’); $language = JFactory::getLanguage(); $language->load(‘com_users’, JPATH_SITE); // hard coded…