-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I have once again tested OpenSim Profile with PDO since a new installation of OpenSim in standalone mode from scratch.
On this occasion I discovered a bug and I can reproduce it.
Here are the steps to reproduce it:
-
Create a database for a fresh opensim install
-
Setup OpenSim to run in standalone mode without Hypergrid and with OpenSimProfile
-
Add one region on Region.ini file
-
Go to your web server, create a new folder and put all php files inside
-
Edit databaseinfo.php and change values to reflet your database config
-
Go to the opensim database and add the osprofile.sql
-
Start the Simulator (during install create the new user)
-
Restart the simulator
-
Go to inworld with Singularity
-
Go to only on the first tab on your profile (2nd Life)
-
Add a new picture and click OK
-
Go back to the first tab. The picture IS NOT SAVED
Here is the bug !!! -
Ok don't touch nothing, just try to add again a picture and clic again OK
-
Go back again to the first tab. The picture IS NOT SAVED
OK, bug confirmed !
Ok, just clic OK to go out the profile
Now new Steps (now the strange begin !!!)
15) Go to your webserver and remplace the PDO by the MySqli version
16) Now go to your profile inworld, on the first tab only, add a picture and clic OK
17) Go back to the first tab. The picture IS NOW PROPRELY SAVED, IT WORK !!!
18) Ok don't touch nothing, just go to your web server and remplace the Mysqli with the PDO
19) Now go to your profile inworld, on the first tab only and you can see the picture NOW ONLY !!!
That stange, now you can see and modify with the PDO ...
So to summarize, when you install opensim from the beginning, if you use the PDO, your profile will not work.
There must be a correct 1st record so that it works then correctly.
Here, i hope that you can reproduce also and especially you can fix it.