Date: Wed, 2 Mar 2022 01:21:04 +0000 From: Waitman Gobble <gobble.wa@gmail.com> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: file upload issues with SuiteCRM V7/8 (or apache24 and php8 diff FreeBSD vs Debian) Message-ID: <CAFuo_fzwWoideFk7AEt3JJephZAFfn0Ty_h==H7AUTfoNFe_nA@mail.gmail.com> In-Reply-To: <1987127875.65144097.1646180828091.JavaMail.zimbra@shaw.ca> References: <637715396.61990484.1646149769165.JavaMail.zimbra@shaw.ca> <CAFuo_fzAyeDBvr0UbjJUqQii1ygePUMY-7FM93vCZZYb2S40DQ@mail.gmail.com> <CAFuo_fxjM5Dsy4DGgJtZwneW9SgZM8dHt8uX3KivWKxdgRdCxw@mail.gmail.com> <1894256119.63523696.1646164551088.JavaMail.zimbra@shaw.ca> <CAFuo_fxTRSs7WQ7cSybPjMtHCmQQpqn=pi2i6xvEr2UnvFt2iQ@mail.gmail.com> <1987127875.65144097.1646180828091.JavaMail.zimbra@shaw.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 2, 2022 at 12:27 AM Dale Scott <dalescott@shaw.ca> wrote: > > > > > $sugar_config['allowed_preview'] is set in include/utils.php - what do > > you have it set to in that file? > > > > it's only used (read) twice, once in download.php and again in your > > error file, modeuls/Documents/Document.php > > > > If it "runs on Linux" i put my money that php7 is running on the Linux > > that works. php 8 is much more picky, php 7 wouldn't cause a type > > error from that code. > > Thanks for poking around! :-) I don't think there is any UI access to $sugar_config['allowed_preview'], so unless it's being overwritten somewhere is still as assigned in include/utils.php > > 'allowed_preview' => [ > 'pdf', > 'gif', > 'png', > 'jpeg', > 'jpg' > ], > > Hopefully the comparison, wherever that is, isn't case sensitive. > > The SuiteCRM project has only claimed PHP 8.0 support since their last release, so I wouldn't be surprised if there are still compatibilty issues. This seems a bit obvious though..... > > I have posted to the SuiteCRM project forum and will reply again here when I know more in case you're curious. > > Thanks again, > Dale OK. The latest release they have on their site is 8.x something but there's no mention of it on their git repository, I wonder if they haven't yet released 8.x for PHP 8 to "community". -- Waitman Gobble
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFuo_fzwWoideFk7AEt3JJephZAFfn0Ty_h==H7AUTfoNFe_nA>