Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2022 17:41:21 +0100
From:      freebsd@boosten.org
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Cc:        Rob <rob@stanleygoose.com.au>
Subject:   Re: Laravel livewire live search does not work on FreeBSD
Message-ID:  <5CFB39FE-CE6A-49E1-BBC3-91A25B0C561E@boosten.org>
In-Reply-To: <6df95d19627aa97b4a1c4e914f4271a8@stanleygoose.com.au>
References:  <6df95d19627aa97b4a1c4e914f4271a8@stanleygoose.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_274704FC-3DC4-4153-8008-8AF76FECBDE1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> Op 2 mrt. 2022, om 04:32 heeft Rob <rob@stanleygoose.com.au> het =
volgende geschreven:
>=20
>=20
>=20
> Everything works as expected on the Vagrant box, but the live search =
does not work on the FreeBSD server. I have tried different versions of =
FreeBSD and Linux, and MySQL/MariaDB, and a number of demo live search =
applications, but the live search fails consistently on FreeBSD and =
works consistently on Linux.
>=20
> Any ideas on how to activate this function on FreeBSD would be greatly =
appreciated.
>=20
>=20


Just tried this one on my system: =
https://github.com/sjardim/livewire-advanced-filter-by-tags-demo =
<https://github.com/sjardim/livewire-advanced-filter-by-tags-demo>;

And it worked like charm (well, I tried pointing an alias of my main =
domain to that Laravel installation, however some urls were hardcoded, =
and also didn=E2=80=99t like my https setup, so I ended up putting the =
entire installation under its own FQDN).

FreeBSD 12.2-RELEASE-p12 FreeBSD 12.2-RELEASE-p12 GENERIC  amd64
MySQL 5.7.37

On that specific server I run Apache, didn=E2=80=99t try with nginx.

As far as I can tell the only thing needed for Live search to work is =
Full Text Searching on your MySQL, which is standard since 5.6. Not sure =
if you can turn it off somehow.


--=20
Peter Boosten






--Apple-Mail=_274704FC-3DC4-4153-8008-8AF76FECBDE1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">Op 2 mrt. 2022, om 04:32 heeft Rob &lt;<a =
href=3D"mailto:rob@stanleygoose.com.au" =
class=3D"">rob@stanleygoose.com.au</a>&gt; het volgende =
geschreven:</div><br class=3D"Apple-interchange-newline"><div =
class=3D""><div class=3D""><br class=3D""><br class=3D"">Everything =
works as expected on the Vagrant box, but the live search does not work =
on the FreeBSD server. I have tried different versions of FreeBSD and =
Linux, and MySQL/MariaDB, and a number of demo live search applications, =
but the live search fails consistently on FreeBSD and works consistently =
on Linux.<br class=3D""><br class=3D"">Any ideas on how to activate this =
function on FreeBSD would be greatly appreciated.<br class=3D""><br =
class=3D""><br class=3D""></div></div></blockquote></div><div =
class=3D""><br class=3D""></div><div class=3D"">Just tried this one on =
my system:&nbsp;<a =
href=3D"https://github.com/sjardim/livewire-advanced-filter-by-tags-demo" =
class=3D"">https://github.com/sjardim/livewire-advanced-filter-by-tags-dem=
o</a></div><div class=3D""><br class=3D""></div><div class=3D"">And it =
worked like charm (well, I tried pointing an alias of my main domain to =
that Laravel installation, however some urls were hardcoded, and also =
didn=E2=80=99t like my https setup, so I ended up putting the entire =
installation under its own FQDN).</div><div class=3D""><br =
class=3D""></div><div class=3D""><div style=3D"margin: 0px; =
font-stretch: normal; line-height: normal; font-family: Menlo;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">FreeBSD 12.2-RELEASE-p12 FreeBSD 12.2-RELEASE-p12 =
GENERIC&nbsp; amd64</span></div></div><div style=3D"margin: 0px; =
font-stretch: normal; line-height: normal; font-family: Menlo;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">MySQL&nbsp;</span>5.7.37</div><div style=3D"margin: 0px; =
font-stretch: normal; line-height: normal; font-family: Menlo;" =
class=3D""><br class=3D""></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal; font-family: Menlo;" class=3D"">On that =
specific server I run Apache, didn=E2=80=99t try with nginx.</div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal; =
font-family: Menlo;" class=3D""><br class=3D""></div><div style=3D"margin:=
 0px; font-stretch: normal; line-height: normal; font-family: Menlo;" =
class=3D"">As far as I can tell the only thing needed for Live search to =
work is Full Text Searching on your MySQL, which is standard since 5.6. =
Not sure if you can turn it off somehow.</div><div class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""><br =
class=3D""></span></div><br class=3D""><div class=3D"">
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
font-size: 12px; font-variant-ligatures: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
line-height: normal; border-spacing: 0px; =
-webkit-text-decorations-in-effect: none;"><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;" class=3D""><div class=3D"">--&nbsp;</div><div =
class=3D"">Peter Boosten</div><div class=3D""><br class=3D""></div><div =
class=3D""><br class=3D""></div></div></span><br =
class=3D"Apple-interchange-newline"><br =
class=3D"Apple-interchange-newline">
</div>

<br class=3D""></body></html>=

--Apple-Mail=_274704FC-3DC4-4153-8008-8AF76FECBDE1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5CFB39FE-CE6A-49E1-BBC3-91A25B0C561E>