Project

General

Profile

Actions

Bug #3692

closed

User deletion from backend gives failure message

Added by nant over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
26 September 2012
Due date:
% Done:

100%

Estimated time:

Description

With logger version 1.4 when you delete a user from backend you get error message:

https://www.joomlapolis.com/forum/153-professional-member-support/210782-unable-to-delete-user-error-msg

JDatabaseMySQLi::query: 1054 - Unknown column 'userid' in 'where clause' SQL=DELETE FROM iso41_comprofiler_plug_pulogger WHERE userid=415

Quick patch is to edit line 734 of the cb.pulog.php file and replace the userid with profileid

new line becomes:

$sql="DELETE FROM #__comprofiler_plug_pulogger WHERE profileid=" . (int) $user->id;

Actions #1

Updated by Diesel9a1 over 11 years ago

Can you specify where the file "cb.pulog.php" is located please?

Actions #2

Updated by Diesel9a1 over 11 years ago

/components/com_comprofiler/plugin/user/plug_cbprofileupdatelogger/cb.pulog.php

Actions #3

Updated by nant over 11 years ago

  • Status changed from New to Resolved

resolved with r1039

Actions #4

Updated by nant over 11 years ago

  • Target version changed from 1.5 to 1.4.1
Actions #5

Updated by nant over 11 years ago

  • % Done changed from 0 to 100
Actions #6

Updated by nant over 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF