JohnCourt Posted November 9 Posted November 9 For the life of me I cannot find the compatibility check file here in the community, isn't there a compatibility checker file I need to upload to my server before switching to php 8.1.0 Thanks folks 🙂Â
JohnCourt Posted November 9 Author Posted November 9 So all checks well, but I am trying to make my community work with php 8.1.0. But when I activate the php version my community goes down. Any suggestions are greatly appreciated.
Solution teraßyte Posted November 9 Solution Posted November 9 Do you have any 3rd party applications or plugins installed? Most likely one of those is not compatible with PHP 8.1. JohnCourt 1
JohnCourt Posted November 9 Author Posted November 9 2 minutes ago, teraßyte said: Do you have any 3rd party applications or plugins installed? Most likely one of those is not compatible with PHP 8.1. That's right! Thanks Tera.
JohnCourt Posted November 9 Author Posted November 9 Well shoot, that didn't work either, I disable all customizations, apps, plugins, and the site still went down when I set to php 8.1.0
teraßyte Posted November 9 Posted November 9 Is anything logged in the server/PHP error logs? JohnCourt 1
Marc Posted November 11 Posted November 11 Could I just also check, you are using the requirement checker after switching to 8.1? JohnCourt 1
JohnCourt Posted November 12 Author Posted November 12 On 11/9/2024 at 12:31 PM, teraßyte said: Is anything logged in the server/PHP error logs? I'll check Tera, thank you. 22 hours ago, Marc said: Could I just also check, you are using the requirement checker after switching to 8.1? Marc I used it before switching. Should I switch to 8.1 then run the checker?
JohnCourt Posted November 12 Author Posted November 12 22 hours ago, Marc said: Could I just also check, you are using the requirement checker after switching to 8.1? Marc, I tried the checker after flipping it to 8.1 and got a blank screen.
Marc Posted November 12 Posted November 12 OK, so you need to check your server error logs just after running that, to see what the underlying error is. When you run that, you need to run it on the PHP version you are running the site on. The reason for this, is that it checks there are components enabled on the PHP version that are required for the software. So if you check it prior to changing the PHP version, its essentially not a check. JohnCourt and teraßyte 1 1
JohnCourt Posted November 12 Author Posted November 12 (edited) 8 hours ago, Marc said: OK, so you need to check your server error logs just after running that, to see what the underlying error is. Marc, hopefully this is useful, I am not sure if this is what you are talking about. I flipped it to PHPv 8.1 and ran the ips4 checker then screen shot the error log. Edited November 12 by JohnCourt
Randy Calvert Posted November 12 Posted November 12 Those are not what you are looking for. You need the PHP error log.  The events listed above are not related to your issue.  JohnCourt 1
Jim M Posted November 12 Posted November 12 Did the System Requirement checker state you were missing anything? Â JohnCourt 1
JohnCourt Posted November 13 Author Posted November 13 5 hours ago, Randy Calvert said: Those are not what you are looking for. You need the PHP error log.  The events listed above are not related to your issue.  Thanks for that Randy. I'll get it right! 5 hours ago, Jim M said: Did the System Requirement checker state you were missing anything?  Hey Jim, when I run the checker with php 8.0 I get green check marks all down the line. When I run the checker with 8.1 I get a blank white page.
stu_m Posted November 13 Posted November 13 Did you give it a bit of time for PHP to start up? or are you just changing the php version and refreshing the page? The server needs time to swap over and start working its not instant JohnCourt 1
JohnCourt Posted November 13 Author Posted November 13 29 minutes ago, stu_m said: Did you give it a bit of time for PHP to start up? or are you just changing the php version and refreshing the page? The server needs time to swap over and start working its not instant Hey Stu, I have not given it time. Thanks for the tip!
JohnCourt Posted November 13 Author Posted November 13 On 11/12/2024 at 1:34 PM, Randy Calvert said: Those are not what you are looking for. You need the PHP error log.  The events listed above are not related to your issue.  Randy, can you tell me where to retrieve a PHP error log? Thanks
Jim M Posted November 13 Posted November 13 1 minute ago, JohnCourt said: Randy, can you tell me where to retrieve a PHP error log? Thanks You’ll want to contact your hosting provider or hire a server administrator JohnCourt 1
JohnCourt Posted November 13 Author Posted November 13 I know this is unrelated but just showing yall I'm fine on 8.0
JohnCourt Posted November 13 Author Posted November 13 Hmm, my last post has been hidden for some reason.
Marc Posted November 14 Posted November 14 Ive approved that. Something must have flagged it  JohnCourt 1
JohnCourt Posted November 14 Author Posted November 14 I know this is not something you all have to deal with, looks like I need to go out and get a developer to figure this all out, but just thought I'd keep ya up to speed the correspondence with my host at A2 Hosting, good group of folks by the way. If any php gurus are tracking my issue here, I'd be receptive to you reaching out and giving me a cost to figure this out? Thank you! ME: Hello folks, the software I have installed is going to require php8.1 for the next upgrade, and the current version has been php8.1 compatible for quite awhile now. When I change my php version from 8.0 to 8.1 my website crashes. Can you please help me fix this? A2: I have checked that and indeed it shows errors when set to PHP 8.1. However, I am unable to debug it further, so you will need to ask your developer to check what is actually wrong there. I apologize for the inconvenience; the error message is generic, and I am not seeing any specific error logged here. Debugging can sometimes be tricky, but your developer should be able to handle it since they know the script much better. Please ask them to take a look. Actually, one more thing: I have tried both PHP 8.1 and 8.2, and both versions are throwing errors. However, it seems to be working with PHP 8.3, so please check if that is fully compatible with PHP 8.3. I have reverted PHP back to 8.0, of course. Hope it helps. I am of course standing by to provide you additional assistance, if needed. Remember we are here 24/7. Thank you! ME: Gordon thank you for your help! Appreciate it much. Is there a way I can get a PHP error log for this? The developer is asking. Thank you sir! John A2: You are most welcome, and I am glad that I could be of assistance. However, the PHP log is a bit tricky thing. I wasn't really able to debug that beyond the generic error as per the (attached screenshot), and I didn't see anything in the logs, so that is a kind of mystery to me. I apologize. I wish I could be more helpful to you, but that is the situation.
JohnCourt Posted November 14 Author Posted November 14 My last reply is hidden again 🙂 I'm flagged, and doomed! Marc 1
Jim M Posted November 14 Posted November 14 26 minutes ago, JohnCourt said: A2: You are most welcome, and I am glad that I could be of assistance. However, the PHP log is a bit tricky thing. I wasn't really able to debug that beyond the generic error as per the (attached screenshot), and I didn't see anything in the logs, so that is a kind of mystery to me. I apologize. I wish I could be more helpful to you, but that is the situation. You would want to direct them to the system checker. (Where you're actually seeing the blank white page that is an issue) The error there in your screenshot can be found by going to your admin directory, however. The second line should show the actual error our code is seeing.
Recommended Posts