- Web templates
- 3 Color Templates
- CSS Templates
- Dynamic Flash
- Dynamic Flash Photo Gallery
- Flash Animated Templates
- Flash CMS Intro
- Flash Intro Templates
- Flash Templates
- Dynamic SWISH Templates
- Full Package Templates
- Full Site templates
- JS Animated
- PSD Templates
- Razor Templates
- Stretched Template
- SWISH Animated templates
- Swish Templates
- XML Flash Templates
- PRO templates
- Responsive web templates
- E-commerce Templates
- CMS & Blog Templates
- Corporate Design
- Silverlight
- Video Templates
- Facebook Layouts
This entry was posted in Joomla! Tutorials and tagged comment, error, framework, Joomla, k2, troubleshooter. Bookmark the permalink.
Related posts:
Submit a ticket
If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket
Joomla K2 Troubleshooter. Error “The Name or Email Address you typed is already in use!”
Testing K2 Joomla Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful online applications. Many aspects, including its ease-of-use and extensibility, have made Joomla the most popular Web site software available. Best of all, Joomla is an open source solution that is freely available to everyone. components we’ve located the following issue: trying to post a comment using the name and the email if the registered user (typing them into the name and email fields) you can see the error message:
The Name or Email Address you typed is already in use!
To resolve this issue you need to perform some updates to the K2 core file.
Open your Joomla installation directory and open “components/com_k2/models/item.php” with your editor.
There locate and delete or comment the following code:
if ($user->guest){ $db = & JFactory::getDBO(); $query = "SELECT COUNT(*) FROM #__users WHERE name=".$db->Quote($userName)." OR email=".$db->Quote($commentEmail); $db->setQuery($query); $result = $db->loadresult(); if ($result>0){ echo JText::_('The name or email address you typed is already in use!'); $mainframe->close(); } }In other words replace it with
/*if ($user->guest){ $db = & JFactory::getDBO(); $query = "SELECT COUNT(*) FROM #__users WHERE name=".$db->Quote($userName)." OR email=".$db->Quote($commentEmail); $db->setQuery($query); $result = $db->loadresult(); if ($result>0){ echo JText::_('The name or email address you typed is already in use!'); $mainframe->close(); } }*/This should solve the issue.