Skip to Content Skip to Menu

[SOLVED] Profile Update stopped working after Joomla 3.6.5 and CB 2.1.0 Upgrade

8 years 1 month ago - 8 years 4 weeks ago #289219 by quantumgravity
In a test site, I upgraded a long-standing site from Joomla 3.6.4 to Joomla 3.6.5 and CB from 2.0.15 to 2.1.0. I also updated to Kunena 5.0.4.1. Now, when I edit a profile, it won't update. Clicking either "Update" or "Cancel" does cause the page to reload, but it returns me to the Edit page with no changes made. This is only true on the front end; back-end updates work fine.

I'm getting no errors on the update attempt when error reporting is set set to "Maximum".

The production site is fine. What might be causing that?

Thanks!
Last edit: 8 years 4 weeks ago by quantumgravity. Reason: Clarify that back end is OK.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48722
  • Thanks: 8320
  • Karma: 1447
8 years 1 month ago #289229 by krileon
Switch to default Joomla protostar template then retry. Sounds like a PHP side validation error is probably occurring, but your template maybe suppressing system messages. A redirect back to profile edit means the save failed and it should display why at the top of the page.


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.

8 years 1 month ago #289244 by quantumgravity
OK, I tried Protostar, and it exhibits the exact same behavior. With maximum error reporting, I do get the following Notice both when the Edit page comes up and again when I try unsuccessfully to update the profile (or cancel the profile update):

Notice: Undefined index: view in .../plugins/editors-xtd/add_attachment/add_attachment.php on line 91


This message comes up with maximum error reporting in both the production site, which works, and in the updated test site, which doesn't. (I assume it has to do with not loading the Attachment button in the editor, which makes sense on Profile Edit for text fields ... it seems like that message isn't really guiding me to the source of the problem?)

Thanks for any further guidance you can provide. It's strange the software updates (CB, Joomla, Kunena?) seem to have caused this.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48722
  • Thanks: 8320
  • Karma: 1447
8 years 1 month ago #289259 by krileon
That's just a notice and shouldn't cause profile update to fail. You should have a validation message above the profile edit tabs when the save fails telling you want didn't validate or what PHP error the save operation threw. If nothing is there check server error logs for any fatal errors during the time of your test. Be sure both debug mode and maximum error reporting are enabled during your tests.

If after the above checks your issue persists ensure your Joomla menu items to CB are all valid by editing them and ensuring their menutypes are correct. This can especially be an issue if SEF is enabled as the routing could be wrong due to broken menu items. If your menu items are fine begin disabling non-core Joomla system and user plugins within Extensions > Plugins 1 by 1 until the issue goes away. If it doesn't repeat with non-core CB plugins in CB > Plugin Management.


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.

8 years 1 month ago - 8 years 1 month ago #289279 by quantumgravity
Thanks ... I checked the server logs and this is what occurred at the same time as the Profile Edit attempt. It's over my head:

[Mon Dec 26 17:02:42 2016] [error] [client [Correct IP Address]] Cannot load the ionCube PHP Loader - extension already loaded, referer: http://www.[domain].com/profile-edit
[Mon Dec 26 17:02:42 2016] [error] [client [Correct IP Address]] Cannot load SourceGuardian - extension already loaded, referer: http://www.[domain].com/profile-edit


where [domain] above is the correct test domain, and [Correct IP Address] is my IP address. It's in red, so it's an unhappy event. This doesn't occur in the production environment with Joomla 3.6.4 and CB 2.0.15, which uses the same host in the same account with the same PHP settings. Does this help narrow down my next steps?

Thanks for the help...
Last edit: 8 years 1 month ago by quantumgravity. Reason: Remove IP Address

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

8 years 1 month ago - 8 years 1 month ago #289281 by quantumgravity
Kyle, I just read recent forum post #235552, which seemed like a similar issue.

Then I looked (as you recommended for all older sites at the end of that thread, and as you alluded to in the post in this thread below the server error log idea) for every CB menu item. I did eventually solve the problem in this thread by reloading those menu options with the correct menu type, but I want to make sure I've done it right.

This website has a separate Community Builder menu which has been there as long as I can remember. The "My Profile" link on the site pointed to the Profile View link in that menu, since there should be only one. When I updated those CB menu links, nothing changed. But when I unpublished the CB Menu Profile View menu item and Profile Edit menu item, and instead had the site menu "My Profile" menu item assigned to the CB Profile View menu type, the problem listed above went away.

So, should there still be a separate CB menu, and if so, should all its links be published? Can there be more than one Profile View link (i.e., one in addition to the one in the CB menu)? Finally, do you know why those server error log entries in my previous post would occur, just so I have some idea what's going on under the hood?

Finally, by looking at my forum post and #235552, it might be worthwhile to blast out in an email or blog post that this needs to be done for older CB sites. It seems to arise only after upgrading to CB 2.1.0 and it's a critical thing to do.

Thanks, Kyle.
Last edit: 8 years 1 month ago by quantumgravity. Reason: Clarity

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

Moderators: beatnantkrileon
Powered by Kunena Forum