Jim M Posted January 1 Share Posted January 1 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. Link to comment Share on other sites More sharing options...
adekk Posted January 1 Author Share Posted January 1 I don't have any special redirects there I'll do point 2 (unpacking files on the server) Link to comment Share on other sites More sharing options...
Jim M Posted January 1 Share Posted January 1 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. Link to comment Share on other sites More sharing options...
adekk Posted January 1 Author Share Posted January 1 (edited) I don't know about any redirects to be honest. I disabled rewriting totally - same issue. Edited January 1 by adekk Link to comment Share on other sites More sharing options...
adekk Posted January 1 Author Share Posted January 1 Uploaded all files from ZIP downloaded to client's area to my server. Overwritten all files. No changes. Not working :( Link to comment Share on other sites More sharing options...
Jim M Posted January 1 Share Posted January 1 Please provide SFTP/FTP access and we can perform a courtesy look at what is happening here. Link to comment Share on other sites More sharing options...
adekk Posted January 1 Author Share Posted January 1 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) Link to comment Share on other sites More sharing options...
adekk Posted January 1 Author Share Posted January 1 Adding SFTP access Link to comment Share on other sites More sharing options...
Jim M Posted January 2 Share Posted January 2 16 hours ago, adekk said: Adding SFTP access Unfortunately, authentication is not valid. Please verify and update. Link to comment Share on other sites More sharing options...
adekk Posted January 2 Author Share Posted January 2 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. Link to comment Share on other sites More sharing options...
adekk Posted January 2 Author Share Posted January 2 I checked details. No errors. I just removed path since that user is chrooted to that directory already. Maybe that was a problem. Link to comment Share on other sites More sharing options...
Jim M Posted January 2 Share Posted January 2 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 Link to comment Share on other sites More sharing options...
adekk Posted January 2 Author Share Posted January 2 (edited) 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 by adekk Link to comment Share on other sites More sharing options...
adekk Posted January 2 Author Share Posted January 2 Please. Try to connect now. Link to comment Share on other sites More sharing options...
Jim M Posted January 2 Share Posted January 2 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. Link to comment Share on other sites More sharing options...
adekk Posted January 2 Author Share Posted January 2 Hmm... that user is in the www group, it should be working. I see there are group permissions... Link to comment Share on other sites More sharing options...
Jim M Posted January 2 Share Posted January 2 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... Link to comment Share on other sites More sharing options...
adekk Posted January 2 Author Share Posted January 2 I did some chmod right now. Please, check it now. Link to comment Share on other sites More sharing options...
adekk Posted January 2 Author Share Posted January 2 (edited) 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 by adekk Link to comment Share on other sites More sharing options...
adekk Posted January 2 Author Share Posted January 2 OK. I see you did something! I clicked on forums and it works. Link to comment Share on other sites More sharing options...
Solution Jim M Posted January 2 Solution Share Posted January 2 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. adekk 1 Link to comment Share on other sites More sharing options...
adekk Posted January 2 Author Share Posted January 2 (edited) 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 by adekk Link to comment Share on other sites More sharing options...
adekk Posted January 2 Author Share Posted January 2 (edited) 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 by adekk Link to comment Share on other sites More sharing options...
Jim M Posted January 2 Share Posted January 2 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 🙂 . adekk 1 Link to comment Share on other sites More sharing options...
_Mike_ Posted January 13 Share Posted January 13 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 More sharing options...
Recommended Posts