FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » variable $WWW_ROOT location(s)
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
variable $WWW_ROOT location(s) [message #30247] Sun, 12 February 2006 23:19 Go to next message
kenjb is currently offline  kenjb   United States
Messages: 67
Registered: September 2004
Karma: 0
Member
add to buddy list
ignore all messages by this user
I moved my forum recently. I opted to install a fresh forum of the same version (most recent) as the old forum and then add the data files, sql, and modify the globals.php. So it seemed to go well and then I noticed an odd thing, which leads me to my question.

Is the $WWW_ROOT variable stored anywhere else other than the globals.php file, hard coded?

What happened after I modified the globals.php is that after rebuilding by running the forum consistency checker, all of the original domain variable from the new setup remained. In other words, I used an IP address to install the new forum then changed the globals to match the domain name after the domain had been transferred and propagated.

What I did for now was a search and replace of every IP address to the domain name to make sure it all worked. But it remains to be seen at this point if I rebuild the theme will it revert back to the IP address that may be hard coded into a sql table that I'm not aware of. I know I'll be rebuilding the theme some time in the future weather it be for an upgrade or theme modification.

Anything else that arose from the way I moved the forum was pretty expected and I feel it all went very smooth.

If you need server version info I'll add it upon request.

I look forward to your answer.

Thank you


kenjb
Re: variable $WWW_ROOT location(s) [message #30248 is a reply to message #30247] Sun, 12 February 2006 23:43 Go to previous messageGo to next message
kenjb is currently offline  kenjb   United States
Messages: 67
Registered: September 2004
Karma: 0
Member
add to buddy list
ignore all messages by this user
I was just thinking. I'll bet that I should have used the "Rebuild Theme" in the Theme Manager and then run the consistanncy checker and all would have been fine. For some reason I thought running the consistancy checker would rebuild the theme. You would think that I'd know by now.

That's the answer isn't it?

Sometimes you just have to laugh. Smile


kenjb
Re: variable $WWW_ROOT location(s) [message #30253 is a reply to message #30248] Mon, 13 February 2006 10:18 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
If WWW_ROOT changes you only need to run the rebuild theme.

FUDforum Core Developer
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Can't upgrade from 2.7.3 to 2.7.4
Next Topic: spell check
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Dec 18 09:05:53 EST 2018

Total time taken to generate the page: 0.00702 seconds