Menu
Welcome, Guest
Username: Password: Remember me
Support for Advanced Open Workflow, Sales, Portal for SugarCRM Community Edition

TOPIC: [ERROR] Failed to create portal user

[ERROR] Failed to create portal user 3 months 2 days ago #87333

  • tnf2425
  • tnf2425's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Hey Guys,

I’ve installed SuiteCRM and the Advanced OpenPortal on an Joomla Webserver.

I’ve followed every step in this documentation:
docs.suitecrm.com/user/advanced-modules/cases-with-portal/

No when I try to create a portal User it says “Failed to create portal user”

Seems like there is a authentication Problem when looking into the logs

Joomla! Log:
JRequest is deprecated

SuiteCRM Log:
Fri Jul 19 11:08:42 2019 [26643][-none-][FATAL] SECURITY: User authentication for crmadmin failed
Fri Jul 19 11:08:42 2019 [26643][-none-][FATAL] FAILED LOGIN:attempts[1], ip[127.0.0.1], username[crmadmin]

Now I’ve found out that the AOP uses JRequest for Joomla. This Class is deprecated and was replaced by JInput in the Joomla Version 1.7.

Is the AOP still supported and is there any chance to fix this?

Greetings
Tim
The administrator has disabled public write access.

[ERROR] Failed to create portal user 1 month 3 days ago #89444

  • pstevens
  • pstevens's Avatar
  • Offline
  • Elite Member
  • Posts: 243
  • Thank you received: 29
  • Karma: 4
Did you ever get this solved? I'm running into the same issue. I found a bunch of suggestions in the forum but none worked:

1. Suitecrm URL with and without the trailing slash
2. Ensured Curl is enabled
3. Double checked credentials in both suitecrm and joomla
4. verified both are https://

I keep getting failed to create portal user. Both are running PHP 7.1 and there's nothing in the error logs except same as you, user authentication failure.

Does anyone have this working? Is there a trick to it?
The administrator has disabled public write access.

[ERROR] Failed to create portal user 1 month 3 days ago #89445

  • pstevens
  • pstevens's Avatar
  • Offline
  • Elite Member
  • Posts: 243
  • Thank you received: 29
  • Karma: 4
Hey!!! I solved it.

So I checked in the Joomla database and it's not updating the password properly when saved in the portal plugin settings.

So what I did was manually generate an MD5 hash of my password at:

https://www.md5hashgenerator.com/

Then go into the joomla database in the table:

jos_advancedopenportal

Then just copy the correct MD5 hash into the database in the sugar_pass field, save and voila, you can now create portal users!
The administrator has disabled public write access.

[ERROR] Failed to create portal user 1 month 3 days ago #89446

  • pstevens
  • pstevens's Avatar
  • Offline
  • Elite Member
  • Posts: 243
  • Thank you received: 29
  • Karma: 4
Also one other fix is needed:

https://suitecrm.com/suitecrm/forum/advanced-opensales-workflow-portal-support/14819-simple-fix-for-advanced-openportal-with-php-7-1

you need to edit the file in Joomla as described in the above post and all works great!
The administrator has disabled public write access.
Time to create page: 0.051 seconds
Powered by Kunena Forum