SMF Support > SMF 2.0.x Support
Server address changed - css and tempaltes missing
Recon66:
Hi,
My service provider has change my host to other server. Now server address is changed. I have change server address to correct with setting repari tool, but there are still something wrong.
- Index page have default template
- When log in, there are no template at all and css is missing -> no graphics.
- In template menu where template's css can be modified in preview window's has almost correct graphics. Why graphics are loaded to preview window but not in siteäs template?
Do I have to change other setting some where?
Regards
Recon
Elmacik:
Have you tried hard refreshing your browser? i.e. emptying the cache and pressing CTRL + R to refresh.
If it doesn't help, try to browse the graphics directly by entering their URLs to see if they really exist in your FTP as expected.
Recon66:
Hi Elmacik,
Seams to be that there are wrong urls in header's script initializing and some <img tag's in template:
<script type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "WRONG URL/Themes/actualism_202";
var smf_default_theme_url = "CORRECT URL/Themes/default";
var smf_images_url = "WRONG URL/Themes/actualism_202/images";
var smf_scripturl = "WRONG URL/index.php";
var smf_iso_case_folding = false;
var smf_charset = "UTF-8";
var ajax_notification_text = "Ladataan...";
var ajax_notification_cancel_text = "Peruuta";
// ]]></script>
<tbody class="content" id="category_2_boards">
<tr id="board_5" class="windowbg2">
<td class="icon windowbg">
<a href="CORRECT URL/index.php?action=unread;board=5.0;children">
<img src="WRONG URL/Themes/actualism_202/images/on.png" alt="Uusia viestejä" title="Uusia viestejä" />
</a>
</td>
Elmacik:
Make sure your Settings.php and Settings_bak.php files in root dir are writable. (i.e. Chmod 777)
Then use repair_settings.php again and make sure it really saves the data.
Finally, go to:
1- Admin -> Server Settings -> Database and Paths
2- Admin -> Current Theme
and verify the correct file paths and URLs.
Recon66:
Thank you Elmacik.
Now it working correctly. Current theme's ulr was wrong. Hard to navigate on admin panel, when you don't have graphics at all :)
Thank You
-R
Navigation
[0] Message Index
[#] Next page
Go to full version