Open Marabar opened 8 years ago
Modx version?
On both servers 2.4.3-pl
I'm not sure if this related with Lingua, since the problem is on context's checkPolicy(). How do you set your context's settings?
Hello. Context one - Web. This new site was originally set MODX 2.4.2 - in this version, after the transfer to the customer site, getting the same error. Still, I think this is due to host configuration, which is why it is not on my VPS these problems.
Most interestingly, an error only on the main page. Others - all is well.
@Marabar Problem occurs when different aliases in translations?
Hello. Moved the site to a server version of PHP 5.4, get on the main page error when switching languages. On other pages all is well. This is due to double-slash (address line). If the snippet to replace this line on
$pageURL = $parseUrl['scheme'] . '://' . $parseUrl['host']. $parseUrl['path'];
error disappears. By the way, on my server php 5.5, this error was not.