Leon@rdo Posted January 13, 2018 Posted January 13, 2018 Hello, I have issue after I moved board to new server. The domain is change and after is everything moved, in the core the stylesheets redirects still to old domain. So forums look like crap with only the text. How I can fix that? Best Regads!
opentype Posted January 13, 2018 Posted January 13, 2018 usually clearing the cache in the support section is all it takes.
Leon@rdo Posted January 13, 2018 Author Posted January 13, 2018 I got this: "Sometimes badly cached data can cause problems. We have cleared all cached data." But nothing is changed, it's still redirects to old one.
Nathan Explosion Posted January 13, 2018 Posted January 13, 2018 15 minutes ago, Leon@rdo said: But nothing is changed, it's still redirects to old one. Then it is likely that the stylesheet has the domain hard-coded in to it. Post your site url.
Leon@rdo Posted January 13, 2018 Author Posted January 13, 2018 2 hours ago, Nathan Explosion said: Then it is likely that the stylesheet has the domain hard-coded in to it. Post your site url. Don't look like this, I have tried to search in files, templates and stylesheets. In database I found in "core_cache" the code who redirects to old one, but I can't change this because it will create new ("cache_key" with " cache_value ") one with the old one. On the default IPS theme is the same problem, even when this was not edited. https://forum.devicentrum.net
Nathan Explosion Posted January 13, 2018 Posted January 13, 2018 You say your site is https://forum.devicentrum.net So "moved board to another server" means what exactly? Changed FQDN too? Edit conf_global.php and set it right. Run the support tool again. If it doesn't resolve the problem then give the full picture....
Adlago Posted January 13, 2018 Posted January 13, 2018 9 minutes ago, Nathan Explosion said: Edit conf_global.php and set it right. Run the support tool again. That's the decision resources are on the new domain, example https://devicentrum.net/forum/uploads/css_built_1/341e4a57816af3ba440d891ca87450ff_framework.css.804d5c18bdabdb5443f4f17f5417a30e.css?v=047297c671
Leon@rdo Posted January 13, 2018 Author Posted January 13, 2018 And here is the problem, conf_global.php is set to new domain: $INFO['board_url'] = 'https://forum.devicentrum.net'; It's set from the beginning, and running support tool doesn't help. I can run this tool all day 17 minutes ago, Nathan Explosion said: So "moved board to another server" means what exactly? Changed FQDN too? Edit conf_global.php and set it right. Run the support tool again. If it doesn't resolve the problem then give the full picture.... What's FQDN? 6 minutes ago, Adlago said: That's the decision resources are on the new domain, example https://devicentrum.net/forum/uploads/css_built_1/341e4a57816af3ba440d891ca87450ff_framework.css.804d5c18bdabdb5443f4f17f5417a30e.css?v=047297c671 Yes, the resources are on the new domain, but in the code redirects to old one who no longer exist. It looks like only folder "uploads" and all the file that's board is taking from old one, but why? When applications and other stuff are normal linked.
Nathan Explosion Posted January 13, 2018 Posted January 13, 2018 Is there a .htaccess file, or a configuration on your server, which is rediecting devicentrum.net to forum.devicentrum.net
Leon@rdo Posted January 13, 2018 Author Posted January 13, 2018 7 minutes ago, Nathan Explosion said: Is there a .htaccess file, or a configuration on your server, which is rediecting devicentrum.net to forum.devicentrum.net RewriteCond %{HTTP_HOST} ^devicentrum\.net$ [OR] RewriteCond %{HTTP_HOST} ^www\.devicentrum\.net$ RewriteRule ^forum$ "http\:\/\/forum\.devicentrum\.net\/" [R=301,L] Only something like this on main folder 7 minutes ago, Adlago said: Remove all files directory 'datastore' Done, nothing change then I run support again and nothing results. 4 minutes ago, Nathan Explosion said: What do you mean by that?
Adlago Posted January 13, 2018 Posted January 13, 2018 For me this https://devicentrum.net/ worked fine
Nathan Explosion Posted January 13, 2018 Posted January 13, 2018 4 minutes ago, Leon@rdo said: Only something like this on main folder So you do have something redirecting the site..... Delete it and see what happens 4 minutes ago, Leon@rdo said: What do you mean by that? All IT problems are fixed by "switching it off and on again" or "deleting the datastore" or "running the support tool"....except they're not. I'm old school IT....s**t happens for a reason, and rebooting isn't the answer. 1 minute ago, Adlago said: For me this https://devicentrum.net/ worked fine .....because the problem has now been resolved. MAGIC!!!
Leon@rdo Posted January 13, 2018 Author Posted January 13, 2018 Just now, Adlago said: For me this https://devicentrum.net/ worked fine Yeah but this is homepage, the problem is with forums 4 minutes ago, Nathan Explosion said: So you do have something redirecting the site..... Delete it and see what happens All IT problems are fixed by "switching it off and on again" or "deleting the datastore" or "running the support tool"....except they're not. I'm old school IT....s**t happens for a reason, and rebooting isn't the answer. Nothing happen when I removed it. You mean to reinstall/rebooting whole sewer?
Nathan Explosion Posted January 13, 2018 Posted January 13, 2018 3 minutes ago, Leon@rdo said: Yeah but this is homepage, the problem is with forums Nothing happen when I removed it. You mean to reinstall/rebooting whole sewer? Do not reinstall the server. Do not reboot the server. Ignore my sense of humour. Sheesh. There is something on your site redirecting devicentrum.net/forum to forum/devicentrum.net and thus causing the problem. With each of your replies, you are providing little snippets of information which are filling in the gaps - provide the full picture of what has taken place and give people a chance to understand what has taken place.
Leon@rdo Posted January 13, 2018 Author Posted January 13, 2018 8 minutes ago, Nathan Explosion said: Do not reinstall the server. Do not reboot the server. Ignore my sense of humour. Sheesh. There is something on your site redirecting devicentrum.net/forum to forum/devicentrum.net and thus causing the problem. With each of your replies, you are providing little snippets of information which are filling in the gaps - provide the full picture of what has taken place and give people a chance to understand what has taken place. You have put in one screenshot of this what happening. The stylesheets in the code is showing to domain ".pl", and forums is now on ".net". Quote There is something on your site redirecting devicentrum.net/forum to forum/devicentrum.net and thus causing the problem. So this is not this. In conf_global.php i have edited this, board is working with all aplications and everything only without some javascript and stylesheets to theme. And as I wrote this I was thinking that the problem is theme, but no. I tried to upload some custom theme. Just now, Adlago said: Also check FURL Never heard of is, can you explain what I supposed to do?
Adlago Posted January 13, 2018 Posted January 13, 2018 Advanced Configuration / Friendly Urls Perhaps 'Revert to default configuration'
Adlago Posted January 13, 2018 Posted January 13, 2018 On your new server you do not have a subdomain forum.devicentrum.net/ So either create or remove it from htaccess file RewriteRule ^forum$ "http\:\/\/forum\.devicentrum\.net\/" [R=301,L]
Leon@rdo Posted January 13, 2018 Author Posted January 13, 2018 27 minutes ago, Adlago said: Advanced Configuration / Friendly Urls Perhaps 'Revert to default configuration' Ahhh this, but I check it and no Friendly Urls look like its redirect to ".pl" everyone is fine and it like this should be to ".net" Quote Perhaps 'Revert to default configuration' Can you say how to do this? Search bar in ACP is not working. 10 minutes ago, Adlago said: On your new server you do not have a subdomain forum.devicentrum.net/ So either create or remove it from htaccess file RewriteRule ^forum$ "http\:\/\/forum\.devicentrum\.net\/" [R=301,L] I have a subdomain created its why this is over there. @Edit: I redirect old domain to the same new server, we will se if this work. But however, how I can change it to have this on one redirections.
Leon@rdo Posted January 13, 2018 Author Posted January 13, 2018 1 minute ago, Adlago said: Can you switch your ACP theme to a default? This is a default theme, it weird I know but after moving this looking so
Adlago Posted January 13, 2018 Posted January 13, 2018 Try opening the editing file storage settings. If you have a custom url, turn it off.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.