jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 12
Total Residents: 485
Online Now: 0
Hypergriders online: 0

Profile module does not work

12 years 1 week ago #1437 by guardian2012
Hi again,

I have upgraded to jOpenSim 0.2.5 on OpenSim 0.7.4 and tried to activate the profiles module.

I have added the lines:
[Profile]
; Change this to your own Joomla url:
Module = "jOpenSimProfile"
ProfileURL = url-to-your-joomla.org/components/com_opensim/interface.php

to the StandaloneCommon.ini, but all that URL points to is a blank page. Changing any of the profile settings In-World has no effect, when you close and re-open the profile window, its blank again.

My grid is at:
biggerstaff.dyndns.org/thegrid/

My Profile URL is:
biggerstaff.dyndns.org/thegrid/component...pensim/interface.php

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

12 years 1 week ago #1438 by DJ Devil
First Try.
Did you check if the profile is activated in the module?
is xmlrpc installed on your server?

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

12 years 1 week ago #1439 by oztrout
Hi DJ ...
I to just updated here and i get a blank page when Create an account ...
I'll look more into it tomorrow ... need sleep ... cheers DJ ...

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

12 years 1 week ago - 12 years 1 week ago #1440 by foto50
Hi guardian

It is normal to get a blank page when pointing the browser to your interface.php :) this script is not made to communicate with a browser ... only with OpenSim.

Did you replace the profile module (the dll file) with the new one? Or are there now maybe 2 profile dll files (the new one has now a different file name) in your opensim/bin folder?

Did you check, are there any entries in your table #__opensim_userprofile? And is there any line with values in it?

Is there maybe more information in the error_log of your Joomla webserver after you try to update a profile?

Greetz
FoTo50

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

12 years 1 week ago #1442 by guardian2012
Hi DJ,

php5-xmlrpc was not installed on my server, so I installed it, but it did not help.

Foto50:

There is no "Profile" table in my opensim database.

there is just the one profile dll in the directory:
ls | grep -i profile
OpenSim.Joomla.Profile.dll

but I notice the line in standalonecommon.ini is:

Module = "jOpenSimProfile"

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

12 years 6 days ago #1454 by foto50
Hi guardian

The file name of the new plugin is "jOpenSim.Profile.dll" and it should replace "OpenSim.Joomla.Profile.dll". The old one did/does not work with 0.7.4 ...

And the table #__opensim_userprofile should be in your Joomla database, not in OpenSim ;)

Greetz
FoTo50

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

12 years 5 days ago #1461 by guardian2012
Thanks foto50!

I deleted all of jopensim and re-installed the latest version, profiles are working now!

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

11 years 11 months ago #1532 by jman
I was having a problem with blank profiles within OpenSim. When viewing a profile created through jOpenSim/Joomla front end, nothing shows up or saves; I received this error:

[LLCLIENTVIEW]: Caught exception while processing OpenMetaverse.Packets.AvatarPropertiesRequestPacket for My World, Object reference not set to an instance of an object. at jOpenSim.Profile.jOpenProfile.OpenProfileModule.GetProfileData(UUID userID)

When I create an account through Robust, the profile works fine. When looking at the database differences between the two account, the following is not stored as default when an account is created through jOpenSim for the userprofile table.

image: 00000000-0000-0000-0000-000000000000
aboutText: No profile stored
firstLifeImage: 00000000-0000-0000-0000-000000000000

When a user is created through Robust, those default values are inserted into those database tables. However, the only important part is the aboutText value. If it is empty an error occurs.

After manually adding the value to the account in the database that was created with jOpenSim, the profile for that avatar worked like it should. Although, if you remove the About text from within OpenSim, the error returns and you have to manually add it to the database table again. This happens to both Robust and Joomla/jOpenSim created accounts on update.

My solution was to change a line in \www\components\com_opensim\includes\functions_profile.php:

$retval[0] = utf8_decode($profile[0]);

To:

if(utf8_decode($profile[0]) == "") $retval[0] = JText::_('NOPROFILEAVAILABLE');
else $retval[0] = utf8_decode($profile[0]);

I am not sure if it is the best solution, but it works. This checks to see if the About text is blank and if so, it adds the "No profile stored" in it's place. Otherwise it will display the text that the user inserts.

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

11 years 11 months ago #1537 by foto50
Hi jman

Thanks for this report :) What OpenSim version are you using?

Greetz
FoTo50

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

11 years 11 months ago #1545 by jman
OpenSim 0.7.4

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

Time to create page: 0.128 seconds

Search

Donate jOpenSim

Please consider supporting our efforts.

Amount

Our Regions

Region: Loc X: Loc Y:
Agora 1000 998
BareBad… 997 997
Bohemas 996 998
BoraBor… 1002 999
Crystal… 1001 1000
DeepTho… 1005 998
FoToSan… 999 995
jCity 1001 997
jOpenWe… 1000 999
JuniorT… 1002 1001
Kanadah… 1002 1000
LindaKe… 1000 997
LittleC… 996 997
MonteSc… 1001 1001
Naos 999 999
Pangaea 1005 1003
RiverSi… 999 1000
Sakani 999 998
Snambin 1001 998
Tartola 997 998
ViewerH… 1002 998
WaterWo… 1001 999
WilderK… 1000 1000

jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 12
Total Residents: 485
Online Now: 0
Hypergriders online: 0