Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

All group wall posts are deleted

7 years 7 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

I found the problem this issue is coming from com_easyblog component, please you contact easyblog developer or remove this block code


administrator/components/com_easyblog/includes/jomsocial/jomsocial.php:				$query	= 'DELETE FROM ' . $db->quoteName('#__community_activities' ) . ' '

thank you

Attachments:
7 years 7 months ago
Licenses:
JomSocial Active iSEO Expired Socialize Expired

We only installed EasyBlog recently. So if this is causing it, there is something else that does it too..

:(

Please investigate further.

7 years 7 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

please try to delete the block query code on this file administrator/components/com_easyblog/includes/jomsocial/jomsocial.php, and let we see how it goes

7 years 7 months ago
Licenses:
JomSocial Active iSEO Expired Socialize Expired

No, this can not be it. The SQL goes like this:

if ($exists) {

				$query	= 'DELETE FROM ' . $db->quoteName('#__community_activities' ) . ' '
						. 'WHERE ' . $db->quoteName('app') . '=' . $db->Quote('com_easyblog' ) . ' '
						. 'AND ' . $db->quoteName('cid') . '=' . $db->Quote($commentId) . ' '
						. 'AND ' . $db->quoteName('comment_type') . '=' . $db->Quote('com_easyblog.comments');

				$db->setQuery($query);
				$db->Query();
			}

Our "problem" is that it only deletes the "group.walls". And it does not delete the whole table

7 years 7 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Ehm, open this file components/com_community/events/wall.trigger.php and delete this code :

$sql = 'DELETE FROM ' . $db->quoteName('#__community_activities')
			.' WHERE ' . $db->quoteName('cid') .' = '. $db->Quote($id)
			.' AND ' . $db->quoteName('app') .' = ' . $db->Quote('groups.wall');
		$db->setQuery($sql);
		$db->execute();

hard to inspect this, I just provided some possiblity

7 years 7 months ago
Licenses:
JomSocial Active iSEO Expired Socialize Expired

OK, I've made this code block inactive (by commenting out the last two lines of that block).

7 years 7 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

So, lets we wait how it goes then

7 years 7 months ago
Licenses:
JomSocial Active iSEO Expired Socialize Expired

We will have to wait, but this is probably not the reason.

The SQL this one generates is something like:

DELETE FROM 'bu_community_activities'
WHERE cid = '($id)' AND app = 'groups.wall'

I do not see that this can generate a SQL that deletes all the groups.wall posts, since it will have to have a CID

SELECT * FROM `bu_community_activities` WHERE cid = '__' AND app = 'groups.wall'
where __ is * or ? etc will not generate any results.

So I guess we will just have to wait until it happens again.. :(

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW