Oh OK, so it worked for you on Linux directly, but not on Windows directly? And now you are going to try WSL? Let us know how it goes!
PrimitiveTypeConstraint
erro not coming in WSL2 Ubuntu 20.04. but, when installing farmOS it showing only MySQL,MariaDB like server option. Not showing other PostgreSQL and SQLite option.And, initial route also problem (GET ‘http:example.com/’ - route not found).
Below image is farmos direct installation on linux. Here also only showing MySQL,MariaDB option.
Hmm I’m not sure why that is.
I’d love to get to the bottom of the issue on Windows, but unfortunately I don’t have access to a Windows box to do testing on. It isn’t a high priority to support Windows hosting since the vast majority of servers are Linux, and WSL2 works. I would welcome contributions from anyone who wants to spend time digging into it and debugging though.
I wonder if you have time to try installing Drupal 10 by itself, and see how that behaves. It would be interesting to see if it works with Drupal by itself but not with farmOS. That would tell us if this is a farmOS question specifically or a Drupal question generally. I’m guessing this is Drupal generally.
will check free time.
thank you for your response.
That This value should be of the correct primitive type.
error solved.
This problem causing by bcpow()
function in
Drupal\fraction\Fraction::createFromDecimal($valur)
module.
Above, php 7.3 bcpow()
returns trailing zero. if run bcpow(10,0);
it will return “1.000000000”(in windows).
solution, just run bcpow(10,0,0);
in terminal it will solve problem on all using place.
thank you.
Wow great investigating @aathi179! Thanks for the persistence! We should open a bug report in the Fraction module’s issue queue here: https://www.drupal.org/project/issues/fraction
Thank you for your response, Should i register this bug or would you resister?.
Go ahead @aathi179 you can create the Fraction issue. Thanks!
Hi, issue created https://www.drupal.org/project/fraction/issues/3439575
Thanks @aathi179! I’m not seeing that issue (shows 403)… but that might be because you created a new drupal.org username, and it needs to be approved (to prevent spam). Can you send me a link to your new user? I might be able to confirm it.
Edit: Nevermind I found you! https://www.drupal.org/u/aathi179 - I confirmed your user… but I’m not sure if it takes effect immediately.
Thank you @mstenta , If it doesn’t reflect can I recreate it?
@aathi179 It’s working now! Fraction module give floating point denominator value on createFromDecimal($value) function [#3439575] | Drupal.org
Thanks to the help of @pcambra and @fjgarlin.
Thanks again @aathi179 - I will follow up on the issue on drupal.org…