mpesi
2 June 2016 11:18
1
Hey, I know this topic has been discussed many times. I’ve searched the forum and the web for almost 2 weeks now, but so far have not found a workable solution.
I’m running a suitecrm server and joomla server as virtual machines on virtualbox. Virtualbox is running on Debian 8.4/jessie. Networking is in bridge mode for the virtual machines.
The suitecrm and joomla servers were both obtained as ISOs from turnkeylinux.org , and are both also running Debian 8.4.
SuiteCRM verrsion is 7.4.3
Joomla version3.2
I downloaded the latest AOP plugin for Joomla and installed it.
I set the permissions as described here: https://salesagility.com/downloads/RC/AOP/AdvancedOpenPortalUserGuide.pdf
I have double, triple, and quadruple checked the credentials for the suitecrm admin account in joomla setup.
I am using known, verified email addresses for the contacts.
I can ping the joomla server from the suitecrm server, and vice-versa.
Yet, I still get the same failed to create portal user error message.
Anybody have advice?
1 Like
I’ve read somewhere in the forums that some people had errors regarding the “url” that you set in SuiteCRM of the Joomla Portal, something about a / at the end of the url, try to search that in the forums or try to add it if you don’t have it or remove if you do, I don’t remember the exact problem.
best regards
1 Like
mpesi
2 June 2016 13:04
3
Saw that too, I don’t have, and never had, the / at the end of the url.
1 Like
mpesi
2 June 2016 13:38
5
Sorry, forgot to mention that I have been looking at syslog. Nothing there when I try to create the portal user.
syslog? you should check your suitecrm.log, sugarcrm.log, apache.log, mysql.log, etc.
best regards
1 Like
mpesi
3 June 2016 11:09
7
Thanks Mike.
Tail of error.log captured after I tried to create a portal user again.
mpesi
3 June 2016 11:10
8
Screen shots not attaching for some reason, stand by.
mpesi
3 June 2016 11:12
9
[Fri Jun 03 10:00:34.322893 2016] [:error] [pid 1132] [client 192.168.1.6:58233] PHP Notice: Undefined index: screen_height in /var/www/suitecrm/modules/Calendar/processScreenSize.php on line 10, referer: https://192.168.1.252/index.php?module=Home&action=index
[Fri Jun 03 10:00:57.015659 2016] [:error] [pid 1731] [client 192.168.1.6:58237] PHP Warning: file_get_contents(http://192.168.1.250/index.php?option=com_advancedopenportal&task=create&sug=b5d807c2-43f9-3573-0d71-575007911870 ): failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error\r\n in /var/www/suitecrm/custom/modules/Contacts/createPortalUser.php on line 38, referer: https://192.168.1.252/index.php?action=ajaxui
[Fri Jun 03 10:00:57.015775 2016] [:error] [pid 1731] [client 192.168.1.6:58237] PHP Notice: Trying to get property of non-object in /var/www/suitecrm/custom/modules/Contacts/createPortalUser.php on line 40, referer: https://192.168.1.252/index.php?action=ajaxui
[Fri Jun 03 10:00:57.015790 2016] [:error] [pid 1731] [client 192.168.1.6:58237] PHP Notice: Trying to get property of non-object in /var/www/suitecrm/custom/modules/Contacts/createPortalUser.php on line 41, referer: https://192.168.1.252/index.php?action=ajaxui
[Fri Jun 03 10:04:57.835851 2016] [:error] [pid 1735] [client 192.168.1.6:58257] PHP Warning: file_get_contents(http://192.168.1.250/index.php?option=com_advancedopenportal&task=create&sug=b5d807c2-43f9-3573-0d71-575007911870 ): failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error\r\n in /var/www/suitecrm/custom/modules/Contacts/createPortalUser.php on line 38, referer: https://192.168.1.252/index.php?module=Contacts&action=DetailView&record=b5d807c2-43f9-3573-0d71-575007911870
[Fri Jun 03 10:04:57.836155 2016] [:error] [pid 1735] [client 192.168.1.6:58257] PHP Notice: Trying to get property of non-object in /var/www/suitecrm/custom/modules/Contacts/createPortalUser.php on line 40, referer: https://192.168.1.252/index.php?module=Contacts&action=DetailView&record=b5d807c2-43f9-3573-0d71-575007911870
[Fri Jun 03 10:04:57.836197 2016] [:error] [pid 1735] [client 192.168.1.6:58257] PHP Notice: Trying to get property of non-object in /var/www/suitecrm/custom/modules/Contacts/createPortalUser.php on line 41, referer: https://192.168.1.252/index.php?module=Contacts&action=DetailView&record=b5d807c2-43f9-3573-0d71-575007911870
[Fri Jun 03 10:59:11.870666 2016] [:error] [pid 1133] [client 192.168.1.6:58380] PHP Warning: file_get_contents(http://192.168.1.250/index.php?option=com_advancedopenportal&task=create&sug=b5d807c2-43f9-3573-0d71-575007911870 ): failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error\r\n in /var/www/suitecrm/custom/modules/Contacts/createPortalUser.php on line 38, referer: https://192.168.1.252/index.php?module=Contacts&action=DetailView&record=b5d807c2-43f9-3573-0d71-575007911870
[Fri Jun 03 10:59:11.870955 2016] [:error] [pid 1133] [client 192.168.1.6:58380] PHP Notice: Trying to get property of non-object in /var/www/suitecrm/custom/modules/Contacts/createPortalUser.php on line 40, referer: https://192.168.1.252/index.php?module=Contacts&action=DetailView&record=b5d807c2-43f9-3573-0d71-575007911870
[Fri Jun 03 10:59:11.871026 2016] [:error] [pid 1133] [client 192.168.1.6:58380] PHP Notice: Trying to get property of non-object in /var/www/suitecrm/custom/modules/Contacts/createPortalUser.php on line 41, referer: https://192.168.1.252/index.php?module=Contacts&action=DetailView&record=b5d807c2-43f9-3573-0d71-575007911870
I’ve had problem setting secure socket layer when configuring the Joomla Portal in SuiteCRM, if you don’t have a valid certificate which I don’t think you have because you’re using ip address. Try to remove the S in https and try again.
best regards
mpesi
4 June 2016 01:03
11
The S isn’t there. You’re correct - I don’t have a valid cert.
mpesi
4 June 2016 01:26
12
On the joomla server, I get this in error.log:
[Sat Jun 04 01:17:23.330469 2016] [:error] [pid 1566] [client 192.168.1.252:34895] PHP Fatal error: Call to undefined function curl_init() in /var/www/joomla/components/com_advancedopenportal/sugarRestClient.php on line 82
Do you have curl installed? php5-curl
Best regards
1 Like
mpesi
4 June 2016 16:41
14
It was installed on suitecrm server, not on joomla. After installing on joomla and restarting both servers I can create portal users!
Woohoo!
Thanks buddy!
1 Like
Great! Have you tried with Joomla 5 and working too?