Jump to content

Community not working after upgrading to PHP 8.x


adekk
Go to solution Solved by Jim M,

Recommended Posts

Sorry, we would need direct access to look at what we want here. We would not be able to go back/forth like you are suggesting.

I would suggest doing a few things right:

  1. Remove any custom redirect/rewrites on your server.
  2. Upload a fresh set of files from the Client Area. 
Link to comment
Share on other sites

Hmm... maybe it's some global firewall settings in OVH. My guess. I tested credentials from different IPs - no issues. I'll check over some VPN. 

Edit: Yes. It's additional firewall form OVH. I checked connection from US. I'll ask them how to add your IP to whitelist (it's not server's (linux) firewall)

Edited by adekk
Link to comment
Share on other sites

Just FYI. I checked logs. There's only one error:

AH01071: Got error 'PHP message: PHP Fatal error:  Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /var/www/(mysite)/public_html/system/Theme/Theme.php(885) : eval()'d code on line 1210'

Everytime you see 500 error. It's this error.

Edited by adekk
Link to comment
Share on other sites

It was my custom row for ads in the past. But I reverted themes. How this is possible that this is still there.

 

Thank you very much! 

Honestly, I'm impressed with the support. I didn't except for example replies during NYD for example. 

 

BTW. How did you get to this. How can I (and others) detect issues like this? 

Edited by adekk
Link to comment
Share on other sites

Edited my other themes: Fixed! (thas was my own template).

Once again, thanks! If you have any tips where to look in future to detect errors like this, maybe this will be helpful for other. I was sure reverting themes is also removing custom templates like this. 

Edited by adekk
Link to comment
Share on other sites

12 minutes ago, adekk said:

BTW. How did you get to this. How can I (and others) detect issues like this? 

I honestly just compared what was showing up as modified in your themes to what templates were in an unmodified theme on one of my test communities. There is no logging for this because it is failing at the PHP side, just some creative troubleshooting 🙂 .

14 minutes ago, adekk said:

Thank you very much! 

Honestly, I'm impressed with the support. I didn't except for example replies during NYD for example. 

You're very welcome. Glad we could be of assistance and get this resolved for you 🙂 . 

Link to comment
Share on other sites

  • 2 weeks later...

similar problem:

Jan 13 16:58:00 apache_error[78350]: [Fri Jan 13 16:58:00 2023] [error] [pid 96827] sapi_apache2.c(353): [client 108.162.221.49:36904] PHP Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /home/c/cv96675/public_html/uploads/template_17_ad9ae6e9ced8695954ac11f917afdfac_global.php on line 533

forum not working

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...