January 1, 20232 yr Community Expert 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: Remove any custom redirect/rewrites on your server. Upload a fresh set of files from the Client Area.
January 1, 20232 yr Author I don't have any special redirects there I'll do point 2 (unpacking files on the server)
January 1, 20232 yr Community Expert Just now, adekk said: I don't have any special redirects there I would suggest removing any but our own. You can see our .htaccess in ACP -> System -> Search Engine Optimization -> Rewrite URLs.
January 1, 20232 yr Author I don't know about any redirects to be honest. I disabled rewriting totally - same issue. Edited January 1, 20232 yr by adekk
January 1, 20232 yr Author Uploaded all files from ZIP downloaded to client's area to my server. Overwritten all files. No changes. Not working :(
January 1, 20232 yr Community Expert Please provide SFTP/FTP access and we can perform a courtesy look at what is happening here.
January 1, 20232 yr Author I need to check what's the best way to give you access. Currently it's not so easy because of security stuff (firewalls, ips etc)
January 2, 20232 yr Community Expert 16 hours ago, adekk said: Adding SFTP access Unfortunately, authentication is not valid. Please verify and update.
January 2, 20232 yr Author Any errors? I'm able to login. Do you use SFTP client or SSH.SSH won't be working. On Mac I'm using for example Forklift. No issues.
January 2, 20232 yr Author I checked details. No errors. I just removed path since that user is chrooted to that directory already. Maybe that was a problem.
January 2, 20232 yr Community Expert Please ensure you test exactly what you provided as I am able to connect to the server but getting authentication error as mentioned: Error: Authentication failed. Error: Critical error: Could not connect to server
January 2, 20232 yr Author 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 January 2, 20232 yr by adekk
January 2, 20232 yr Community Expert Thank you, I am able to connect now. Please ensure that our account has full read/write access though. The datastore directory is not allowing me to delete files.
January 2, 20232 yr Author Hmm... that user is in the www group, it should be working. I see there are group permissions...
January 2, 20232 yr Community Expert 2 minutes ago, adekk said: Hmm... that user is in the www group, it should be working. I see there are group permissions... Permission denied on all files...
January 2, 20232 yr Author 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 January 2, 20232 yr by adekk
January 2, 20232 yr Community Expert Solution Something on your community is inserting a custom template called "row_adek" in Forums -> front -> global. This is causing your error and I have removed this from the "Default" theme and it is working now.
January 2, 20232 yr Author 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 January 2, 20232 yr by adekk
January 2, 20232 yr Author 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 January 2, 20232 yr by adekk
January 2, 20232 yr Community Expert 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 🙂 .
January 13, 20232 yr 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