When doing a manual install of Scriptcase in a top domain, it works fine. But, when installing it in a subdomain (like sub.domain.com), it fails, because it tries to load everything stripping the subdomain. e.g., instead of https://sub.domain.com/prod/third/font-awesome/6/css/all.min.css, it tries to load it from https://prod/third/font-awesome/6/css/all.min.css.
I did a test to check the value of HTTP_HOST and SERVER_NAME in PHP, and both points to the subdomain correctly, so I think is Scriptcase’ code that somehow is not finding the correct subdomain?
Seems this issue has been for a very long time:
And the solution, is to install in a folder inside the subdomain
Not surprised this bug has been there for such a long time, though…
I have several installs running on sub-domains and I’ve never seen this before. I’d check the htaccess file but not sure what else could be causing it sorry. Make sure you clear cache/cookies. That is something SC is not great at.
Hi rperrett, thanks. Yes, I did try different browsers, incognito, delete all cache and cookies and temp files, etc., nothing worked.
I resolved it by installing it in subfolder inside the subdomain.