Olivier van Helden
Forum Replies Created
-
Forum: Plugins
In reply to: [w4os - OpenSimulator Web Interface] Profile picture are not showing on W4OSWe need to make sure that imagemagick is working properly before trying any further with the plugin. As long as you get errors like “no decode delegate”, there is no way it could work anywhere, including in the plugin. Here are some example tests you could try:
- Try converting a jp2 file from command line and check the result image:
convert /your/opensim/dir/bin/assets/TexturesAssetSet/brick_mono.jp2 image.jpg2. Try converting a jp2 file from a simple php script. Create a script convert-test.php
<?php $inputFile = '/your/opensim/dir/bin/assets/TexturesAssetSet/brick_mono.jp2'; $outputFile = 'converted.jpg'; $image = new Imagick(); $image->readImage($inputFile); $image->setImageFormat('jpg'); $image->writeImage($outputFile); $image->destroy(); echo 'Image converted successfully.';Then run
php7.4 ./convert-test.php
and check any error message, verify the result image (converted.jpg)
(make sure to specify php7.4, according to the php version used by your web server)3. copy the php script and the source jp2 image in your web root and test it through your web server (https://yourgrid.org/convert-test.php). Make sure to adjust $inputFile (in some installation, php cannot access the whole disk, hence the copy of the image alongside the script).
As long as these tests fail, I am afraid I can’t help any further, you’ll have to check php and imagemagick documentation and/or forums
Forum: Plugins
In reply to: [w4os - OpenSimulator Web Interface] Profile picture are not showing on W4OSYour issue seems related to imagemagick, not the plugin itself. I found some related issue, and one of them is that ImageMagick requires OpenJpeg to decode j2k files, which is not always installed automatically. You might need to install it manually.
(I found it in package libopenjp2-7 but your mileage may vary)
Please try and tell me if it works. If it works, it might be worth a few notes in the installation instructions.Forum: Plugins
In reply to: [w4os - OpenSimulator Web Interface] Profile picture are not showing on W4OSThat’s strange, I never installed anything special for imagick to handle j2k, only php-imagick extension.
What is your setup? (OS, versions of php, apache, wp…)
Forum: Plugins
In reply to: [License Manager for WooCommerce] 3.0 Update broke WordPress siteTwo workarounds on the most detailed post about this duplicate issue (until we get a real fix)
https://ww.wp.xz.cn/support/topic/plugin-broke-my-whole-website-after-update/#post-17201832
Forum: Plugins
In reply to: [License Manager for WooCommerce] Plugin broke my whole website after updateMy workaround (not involving a downgrade) was to make soft links for all concerned folders (to avoid creating new bugs if both uppercase and lowercase names are used in the code)
But of course it won’t survive the next update if the issue is not fixed then.
cd wp-content/plugins/license-manager-for-woocommerce/ ln -s abstracts Abstracts ln -s api Api ln -s controllers Controllers ln -s integrations Integrations ln -s interfaces Interfaces ln -s repositories Repositories ln -s settings Settings cd api ln -s v2 V2 cd ../integrations ln -s woocommerce WooCommerce cd woocommerce ln -s emails EmailsForum: Plugins
In reply to: [License Manager for WooCommerce] 3.0 Update broke WordPress siteI gave another workaround (without downgrading) on the first post about this issue.
https://ww.wp.xz.cn/support/topic/plugin-broke-my-whole-website-after-update/#post-17201832
Of course it’s not the fix we are all waiting for…
- This reply was modified 2 years, 6 months ago by Olivier van Helden.
Forum: Reviews
In reply to: [w4os - OpenSimulator Web Interface] First Tests WorkPS: our wp installation on speculoos.world website is also in a subfolder, so it should not be the issue with your DreamGrid attempt.
Forum: Reviews
In reply to: [w4os - OpenSimulator Web Interface] First Tests WorkThank you for your feedback.
A profile page must exist, with the same slug as the slug set in permalink settings page. After setting it, it might be necessary to save the permalink settings twice (not related to w4os, it is a common WP suggestion with permalinks). A smoother process is planned in v3.0
The assets slug does not appear in permalink settings until the w4os helpers settings page is saved (with assets server enabled of course). This is a confusing little bug: it should either appear disabled by default, either be fully enabled on new installations, including in permalink settings page.
https://github.com/GuduleLapointe/w4os/issues/65
- This reply was modified 3 years, 7 months ago by Olivier van Helden.
BTW, could you tell me which versions you use for the plugin, PHP, WordPress and OpenSimulator?
The user profile do not need to be stored in a separate user database, IMHO this option is only relevant for very large grids (and I mean very, very large).
Anyway, w4os currently supports only one DB for all robust services.
That said, I made a test grid with Robust.ini and I could reproduce the userprofile issue (I guess you don’t have read warnings anymore, only the mention under the web profile settings), so hopefully I will be able to make some test and fix it.
I didn’t, however, get empty shordcodes for gridinfo and gridstatus, like you got. This might –or not– be related, I’ll explore that after having fixed userprofile stuff.
The table userprofile is not to be mandatory for w4os general functioning, and it should not hurt if it’s empty (although it might indicate user profiles are not properly activated in Robust.ini).
Somme mysql installations are case-sensitive, could you tell me if the table is named userprofile (in lower cases) or UserProfile?
I assume you installed the latest versions (the database check method was updated in 2.3.8)
- This reply was modified 3 years, 7 months ago by Olivier van Helden.
Hi phmaitre
Mysql can be tricky for user permissions. I cannot tell for your specific configuration, but often users are configured by default for local access only. You might need to create specific credentials for access from your WordPress server, something like:
CREATE USER 'opensim'@'1.2.3.4' IDENTIFIED BY 'yourpassword';You might also want to check if your firewall settings (if any) allow external connections from your WP server to mysql port. Again, in most setup, mysql port is not open for external access.
Currently, w4os connects only to the database, so it is normal you don’t have any message in your Robust console, but you could find helpful information in your mysql log.
Hi Giang
Usually this is a message appearing where the database is not or wrongly configured. Did you set the database in OpenSimulator > Settings with the same credentials as in your Robust.ini file?
Using a Robus or Robust.HG should not make a difference, but I must admit I did not test a non-hypergrid setup, maybe some expected parameters or tables are absent.
I think the error message should contain the explicit mention that the connection failed or, if connection worked, the name of the missing tables. If not, you might find it in your web server error log.
For your PHP issue, I cannot help you (I use a linux setup), you should check on PHP-related forums.
Forum: Plugins
In reply to: [Image Switcher] Multiple ImageProbably same bug, with a slightly different result: When using rows, the 2nd row becomes a third of the 1st one, etc. It looks like an ending </div> tag is missing.
I found a workaround by inserting a raw html block in each column, containing the shortcode followed by the missing “</div>”. It works fine, but it would be cool to fix the bug.