Jump to content

Board URL inn to Stylesheets


Recommended Posts

Posted

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!

Posted

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.

Posted
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

Posted

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 :lol:

 

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:

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.

Posted
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? :rofl:

Posted
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!!!

Posted
Just now, Adlago said:

For me this

https://devicentrum.net/

worked fine

Yeah but this is homepage, the problem is with forums :ph34r:

 

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?

Posted
3 minutes ago, Leon@rdo said:

Yeah but this is homepage, the problem is with forums :ph34r:

 

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.

Posted
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?

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

 

 

c0a26bc6-db90-4976-8bf0-c8dab1f4356a.png

Posted
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 :lol:

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...