Forum moved, settings changed, but still wrong path

Started by UNeverNo, June 30, 2012, 03:43:37 AM

Previous topic - Next topic

UNeverNo

I moved my forum from my old to my new domain. Therefore I changed in settings.php $boardurl to the new domain.

When I visit it now then I see that the css-styles aren't applied, meaning this

Quote from: index.php
<link href="hxxp:myolddomain.com/forum/simafo/Themes/my_lee/css/index.css?rc3 [nonactive]" type="text/css" rel="stylesheet">

still points at the old adress.

Where do I have to change that? I searched all files for my old domain-name with no results. If I change it in firebug everything is perfect...

Shambles

Admin > Configuration > Themes & Layout... > Theme Settings

Then click the button at the bottom "Attempt to reset all themes"

Douglas

Doug Hazard
* Full Stack (Web) Developer for The Catholic Diocese of Richmond
(20+ Diocesan sites, 130+ Church sites & 24 School sites)
* HBCUAC.org Web Developer, the NAIA's only HBCU Athletic Conference
* Former Sports Photographer and Media Personality and Former CFB Historian
* Tech Admin for one 2.9M+ post and one 11.6M+ post sites. Used to own a 1M+ post site.
* WordPress Developer (Junkie / Guru / Maven / whatever)

UNeverNo

Quote from: Shambles™ on June 30, 2012, 06:49:37 AM
Admin > Configuration > Themes & Layout... > Theme Settings

Then click the button at the bottom "Attempt to reset all themes"
Thanks this helped. But why didn't I find my old domainname which was there still active in any of those files?

UNeverNo

Maybe I was a bit to fast. The repair did not correct some header-links.


<link media="print" href="/Themes/default/css/print.css?rc3" type="text/css" rel="stylesheet">
<script src="/Themes/default/scripts/script.js?rc3" type="text/javascript">
<link id="editor_css" href="/Themes/default/css/editor.css" type="text/css" rel="stylesheet">
<script src="/Themes/default/scripts/editor.js?fin20" type="text/javascript">

They got all changed from [oldsubdomain.olddomain.com] to [newdomain..olddomain.com] instead of [newsubdomain.newdomain.com].

Any clues where to correct that?

busterone

Quote from: Douglas on June 30, 2012, 09:20:10 AM
And have you run repair_settings.php after your move? http://download.simplemachines.org/?tools
Download and run this tool to correct all the paths and urls

Arantor

The repair tool does not fix theme URLs, you need to do that yourself in the admin panel.
Holder of controversial views, all of which my own.


Advertisement: