Help - Search - Members - Calendar
Full Version: Site does not rebuild
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
MattH
I'm a new MT user- I just installed 3.0D on my server. I succesfully posted 2 test messages. I deleted them, then added several topics followed by a real post. I did a full rebuild of the site, but the main page did not change.

There were no errors but my first test post (deleted) was displayed on the page. Clicking on the archives and 'read full entry' links produces 404s (they worked before). The management console shows the correct information. Any idea what will fix this?

Edit: I have cleared my cache etc. and that does not fix the problem.
TweezerMan
A link to your site would be helpful, as well as what you have entered in Weblog Config for:

1) Local Site Path
2) Site URL
3) Local Archive Path
4) Archive URL

and what mt-check.cgi reports as the "Current working directory".
MattH
My site is www.matth.org. Local path: homepages/22/xxxxxxxxx/, site url: matth.org, archive path: homepages/22/xxxxxxxxx/, archive url: http://www.matth.org/archives/.

It took a while to get these settings right (kept getting rebuild errors), but I'm sure they're correct.
TweezerMan
QUOTE
It took a while to get these settings right (kept getting rebuild errors), but I'm sure they're correct.

They're not. wink.gif

The primary problem is that your Local Site Path and Local Archive Path settings do not begin with a "/". This means the directory you've specified is relative to the directory that mt.cgi is running in, instead of an absolute path from the server root. Your weblog pages are being built *under* your MT directory.

The archive page for your latest entry can be seen at:
CODE
http://www.matth.org/movabletype/homepages/22/d87673493/htdocs/archives/2004/06/test.html

...which is *not* where it should be showing up.

These are the settings I believe you should use in Weblog Config:

Local Site Path:
/homepages/22/d87673493/htdocs

Site URL:
http://www.matth.org/

Local Archive Path:
/homepages/22/d87673493/htdocs/archives

Archive URL:
http://www.matth.org/archives/
MattH
Thanks for your reply, I was out of the country for a while and unable to check this earlier. The solution you give is, of course, correct.
I assumed the values I had were correct because they were the only ones that did not produce error messages. I didn't know about adding the htdocs bit.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.