PDA

View Full Version : Localhost to domain problem


vhd
04-23-2007, 11:08 AM
Hi Everyone,

I am having some problems moving my development vbulletin forum (running on localhost on my home pc) to my hosted domain.

From what I have read all I need to do is dump the database data from my dev box and import it to the host server. I have done that as well as change the admin settings for the forum URL.
The problem I have is that all the icon images are missing on the hosted pages. When I look at the source it still shows 'http://localhost', even after I have changed the settings in the admin cp.

I then decided to 'empty' the datastore table and used the 'tools.php' file to rebuild it. I tried viewing the home page again without success. For some reason vBulletin still thinks I am on 'localhost' when in fact it should be showing my domain name.

Can anyone tell me what I am doing wrong. This is driving me crazy.

Thanks,

Ben

Dismounted
04-23-2007, 11:15 AM
Try emptying your browser cache? Try rebuilding caches from inside vBulletin.

vhd
04-23-2007, 11:20 AM
Dismounted,

I did clear my browser cache but this didn't make a difference. How can I rebuild the caches from inside vBulletin? I looked everywhere in the admin cp but didn't find anything obvious.

Thanks,

Ben

dj_melayu
04-23-2007, 04:44 PM
Admincp-->Maintenance-->Update Counters-->Rebuild Post Cache :)

vhd
04-24-2007, 10:29 AM
dj_melayu,

I tried that but it does not work. Any other ideas?

When I look at the source for the page I see this in the HEAD of the document
<script type="text/javascript">
<!--
var SESSIONURL = "";
var IMGDIR_MISC = "http://localhost/forum/images/misc";
var vb_disable_ajax = parseInt("0", 10);
// -->
</script>

Clearly the IMGDIR_MISC is still pointing to localhost, even after I changed the forum and home URL to my domain from the admin cp....??

How can I change the IMGDIR_MISC value?

OK found it. Admin cp -> Style manager -> stylevars
At last!!!