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

Incorrect URLs when installed with non-standard port #27

Closed
justvovus opened this issue May 7, 2012 · 5 comments
Closed

Incorrect URLs when installed with non-standard port #27

justvovus opened this issue May 7, 2012 · 5 comments

Comments

@justvovus
Copy link

All urls that have /litecommerce/ in their path are broken, if LiteCommerce host URL contains port definition.
e.g.: https://example.com:8080/litecommerce/images/category/demo_c14015.jpeg appears as https://example.com/litecommerce/images/category/demo_c14015.jpeg
The same situation with links to litecommerce pages, javascript, css files:
e.g: http://example.com/litecommerce/admin.php?drupalReturnURL=https%3A%2F%2Fexample.com%3A8080%2F instead of http://example.com:8080/litecommerce/admin.php?drupalReturnURL=https%3A%2F%2Fexample.com%3A8080%2F

@svowl
Copy link
Member

svowl commented May 7, 2012

Please check [host_details] section in the file litecommerce/etc/config.php:

[host_details]
http_host = "example.com:8080"
https_host = "example.com:8080"
web_dir = "/litecommerce"

@justvovus
Copy link
Author

Thanks, it helped.
Is it expected behavior and opened issue redundant?

@svowl
Copy link
Member

svowl commented May 7, 2012

When you installed ECommerceCMS did you use URL like https://example.com:8080/install.php or https://example.com/install.php ?

@justvovus
Copy link
Author

Definitely the first one. In other way I would get to other vhost.

@svowl
Copy link
Member

svowl commented May 7, 2012

Thank you for the details. I've reported bug to our bugtracker. We will check it and release the fix in one of next versions.

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

2 participants