Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lingua.selector #51

Open
Marabar opened this issue Mar 14, 2016 · 7 comments
Open

lingua.selector #51

Marabar opened this issue Mar 14, 2016 · 7 comments

Comments

@Marabar
Copy link

Marabar commented Mar 14, 2016

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.
kazam_screenshot_00074
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.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31870175-lingua-selector?utm_campaign=plugin&utm_content=tracker%2F1919378&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1919378&utm_medium=issues&utm_source=github).
@goldsky
Copy link
Owner

goldsky commented Mar 14, 2016 via email

@Marabar
Copy link
Author

Marabar commented Mar 15, 2016

On both servers 2.4.3-pl

@goldsky
Copy link
Owner

goldsky commented Mar 17, 2016

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?

@goldsky
Copy link
Owner

goldsky commented Mar 17, 2016

Is this an upgrade?

@Marabar
Copy link
Author

Marabar commented Mar 17, 2016

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.

@Marabar
Copy link
Author

Marabar commented Mar 17, 2016

Most interestingly, an error only on the main page. Others - all is well.

@kundius
Copy link

kundius commented Feb 3, 2017

@Marabar Problem occurs when different aliases in translations?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants