By René on Sunday, 25 January 2015
Posted in General Issues
Replies 5
Likes 0
Views 837
Votes 0
i get a strange issue in backend blog entries (Trashed) and Frontend Dashboard if admin try to delete a Blog entry!

steps to reproduce with admin account..

backend blog entries:
1. create a test entry in backend
2. select a test post and trash the test entry
3. select "state trashed" and delete test entry
4. test entry is deleted but admin are logged out from backend

frontend layout dashboard:
1. create a test entry in frontend
2. go to dashboard and click on Delete Button under test entry
3. confirm delete in popup
4. test entry is deleted but admin are logged out from dashboard
5. go to backend and check user status
6. frontend admin is stll showed as logged in!?
After spending almost an hour checking this, this issue seems to be caused by the AUP api. Did you recently updated AUP? As soon as their API is triggered, the user account is logged out automatically.

I have commented out line 463 - 466 in the file /administrator/components/com_easyblog/tables/blog.php


// if ( EasyBlogHelper::isAUPEnabled() )
// {
// AlphaUserPointsHelper::newpoints( 'plgaup_easyblog_delete_blog', AlphaUserPointsHelper::getAnyUserReferreID( $this->created_by ) , '', JText::sprintf('COM_EASYBLOG_AUP_BLOG_DELETED', $this->title) );
// }


It no longer logs you out now but this also means that AUP wouldn't work too. You should check this with AUP.
·
Sunday, 25 January 2015 20:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Please provide us with the ftp access.
·
Sunday, 25 January 2015 19:31
·
0 Likes
·
0 Votes
·
0 Comments
·
hi mark, wow reply within 20 min..new record!

ftp added!
·
Sunday, 25 January 2015 19:43
·
0 Likes
·
0 Votes
·
0 Comments
·
hi mark, many thanks for your help on weekend! i will contact AUP Dev about thia and let you know what he mean about this logout issue..
·
Monday, 26 January 2015 01:09
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Monday, 26 January 2015 02:10
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post