w4os

WordPress interface for OpenSimulator

Troubleshooting

While this plugin aims to simplify your experience, it is important to keep in mind that it is a work in progress and relies on various components such as OpenSimulator, WordPress, PHP, and MySQL. With multiple dependencies involved, it’s natural to encounter challenges along the way.

To help you address any issues you may encounter, we have put together a comprehensive checklist. This checklist will guide you through the necessary steps to identify and resolve most problems you may face while setting up and using the w4os plugin.

Before installing w4os:

If any issues arise with either of them, refer to their respective documentation for troubleshooting steps and resolve them before proceeding with the w4os installation.

If you have successfully completed the initial checks mentioned above and are still encountering issues with w4os, please proceed with the following troubleshooting steps. If the problem persists, don’t hesitate to reach out for assistance. We are here to help you resolve any difficulties you may be facing.

If you need further assistance or want to seek help from the community, we recommend visiting the w4os GitHub repository issues page. There, you can find a wealth of information and solutions provided by other users who may have encountered similar issues. Sharing your experience can also contribute to helping others in the community.

If you decide to submit an issue, please ensure that you include the following information: the versions of w4os, WordPress, and PHP that you are using. Additionally, provide any relevant error messages from your web server log. These details will help us understand the context of the issue and assist you more effectively in resolving it.

1. Check your web server error log

The first step in troubleshooting w4os issues is to review your web server error log. The web server error log contains valuable information that can help identify problems related to database connections or code errors. Follow these instructions to access and review your web server error log:

2. Ensure the grid is up and running

Before proceeding with further troubleshooting, it is crucial to confirm that your OpenSimulator grid is operational. Follow these steps to ensure the grid is set up correctly:

  1. Download the stable release of OpenSimulator from the official website: http://opensimulator.org/wiki/Download.
  2. Follow the instructions provided on the website to set up your OpenSimulator grid. This typically involves installing OpenSimulator and configuring the necessary .ini files.
  3. Once the setup is complete, start the grid and create your first avatar and your first region from the console.
  4. Attempt to log in-world using your newly created avatar. Verify that you can successfully access the virtual environment and interact with the grid’s features and objects.

By ensuring that your OpenSimulator grid is up and running properly, you can establish a solid foundation for troubleshooting any issues related to the w4os plugin. This step helps identify whether any problems you encounter are specific to the plugin or stem from the grid setup itself.

3. Verify server requirements

To ensure smooth operation of the w4os plugin, it’s important to verify that your server meets the following requirements:

3.1 Note for Nginx users

You must add this config before the location ~ \.php$ {...} directive, to make sure the plugin can process the helpers requests:

location ~* ^/helpers/.*\.php$ {
  try_files $uri $uri/ /index.php?$args;
}

4. Review Admin > OpenSimulator > Settings

To continue troubleshooting, review the settings in the OpenSimulator section of your WordPress admin panel. Follow these steps:

By reviewing and adjusting these settings, you can ensure that the OpenSimulator configuration is correctly aligned with your grid setup and that the necessary features, such as avatar profiles, are properly enabled.

5. Verify Admin > OpenSimulator > Helpers

To ensure proper configuration of the Helpers settings in the OpenSimulator section of your WordPress admin panel, follow these steps:

If you have completed the above steps and the plugin is still not working, you can try using “http://” instead of “https://” in the OpenSim.ini file. This is not related to the plugin or WordPress but rather a limitation associated with certain .Net/mono versions used in OpenSimulator binaries. In some cases, the compiled version may not handle recent root certificates, even if they are legitimate. While it is possible to fix this by recompiling OpenSimulator with the correct root certificates, it can be a challenging process. Therefore, using “http://” (and “/helpers/”) is often a more straightforward solution.

Note about the search feature

The search feature relies on three parts: the simulator, sending regular updates to the register, storing them for the search engine to query them to deliver results.

So it is very important that, after w4os is set up correctly, you compare the examples given in w4os settings pages and the content of your .ini files, making sure each simulator of your grid has the right settings for the search query and the search register, and restart each of them for the data to start being sent.

The search register honors the “Show Place in Search” in-world setting for each parcel (in “About Land” > “Options”), so it must be set for every parcel supposed to appear in results.

6. Check the grid settings of the viewer

In addition to storing the grid login URI, the viewer also retains a set of URLs provided by the grid when it is added. These URLs include the services offered by the w4os plugin. It’s important to note that if you make any changes to these URLs in your grid settings, the viewer will still use the previously stored values until you refresh them.

To ensure that the viewer reflects the updated URLs and services provided by the plugin, follow these steps:

  1. Open the “OpenSimulator” or “Grids” tab in your viewer’s Preferences. The specific name of this tab may vary depending on the viewer you are using.
  2. Select your grid from the list of grids displayed.
  3. Click on the “Refresh” button or a similar option available in the viewer. This action will update the stored URLs and services associated with your grid.

By refreshing the grid settings in your viewer, you ensure that any changes made to the URLs provided by the w4os plugin are recognized and utilized by the viewer. This step is crucial to ensure that the viewer is synchronized with the latest configuration of the plugin and its associated services.