Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[#3833] Error when deleting Cbsubs users from backend

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 1 month ago #234012 by krileon
The fix is to a CB core file. Has nothing to do with your database. Please click the icon next to the patch on forge from the link provided above. It'll tell you what file and what lines to apply the patch. Aside from that you can wait for next release for the fix or just disable debug mode and error reporting then delete your users, CBSubs just can't reverse its integrations which is fine as they're being deleted anyway.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
11 years 1 month ago #234017 by dotcom22
I did not see the icon... So for what I understand is required to modify red code line and replace with green code line. But after this change I get this:

Warning: Unterminated comment starting line 4357 in /home/myuser/domains/mydomain.com/public_html/administrator/components/com_comprofiler/comprofiler.class.php on line 4357

Parse error: syntax error, unexpected $end, expecting T_FUNCTION in /home/mydomain.com/domains/agendex.ch/public_html/administrator/components/com_comprofiler/comprofiler.class.php on line 4361

??

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 1 month ago #234021 by krileon
You didn't apply the patch properly. Please just forget the patch if you don't know how to apply them as you risk breaking the files. Please revert your changes or replace the file with the original included with CB package. The fix will be in next release. If you want to apply patches please lookup WinMerge or similar programs to help you apply them.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
11 years 1 month ago #234023 by dotcom22
Winmerge is a software who permit to compare files for see what change was made. I use similar tools like this one on my Ubuntu desktop. However even using this kind of tools will not help because I will get the same result then what is published on the forge when viewing differences side by side.

If the bug is only related to these 2 line of code, I don't understand why my change make problem. I just modified these 2 lines by deleting the red one and replacing with the green one and nothing else.

Instead to propose a patch, it will be more simple to propose the updated comprofiler.class.php file.

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 1 month ago #234025 by krileon
The fix is as follows.

IN: administrator/components/com_comprofiler/comprofiler.class.php
ON: Line 2396
FROM:
Code:
$user = $_CB_database->loadObjectList();
TO:
Code:
$user = $_CB_database->loadObjectList( null, 'moscomprofilerUser', array( &$_CB_database ) );

If the above doesn't fix your issue then there's nothing more I can do for you except tell you to wait for next release where it is fixed in source. I'm sorry, but I can not keep providing quickfixes for every single bug as am trying to focus on CB 1.10.0 release and my time is limited.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
11 years 1 month ago #234035 by dotcom22
Ok the issue is now fixed. It seem I got some problem when uploading the file. These last weeks Filezilla became unstable and even if it show well the uploaded file, in practice the file could be corrupted I don't know why. I uploaded the file from Virtualmin and this solved the issue.

Last thing:

On the forge you say is required to modify 2 line and here you say is required to change one line only. So I must modify one or 2 lines ?

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum