Heya people , I do hope someone out there can help me with my problem. Im facing 2 problems with my MT blog :
Why is it that when clicking at my blog posts individual entries, sometimes it gives me a 404 Not Found page
Ive 4 comments on a post and yet when clicking on the “comments” link, i only see 1 comment published, but all 4 comments have been published in my admin page
Ive refresh and republished my whole entire site but the problem still stays
If you visit www.rendang.org, and click on the first post at the top, youll see the 404 Not Found page and the 2nd post from the top titled”Bungkarno Files”, youll see there are 4 comments but once clicking on that, youll only be able to see 1 comment..
Appreciate it loads if someone can help me out.
Reported on Movable Type 4.2
Most likely the problem is that you have an error somewhere in your publish process.
The 404 issue will appear when you index page published successfully but the actual entry archive does not. The actual post can also be delayed from being published if you are using background publishing.
The comment issue points to a potential problem with the content of one of the comments. It could be that some unsafe character in a comment is causing the post to error on publish.
You can find out by setting your publish mode to background publish, re-publishing your entire site, opening an SSH terminal to your server, going to your cgi-bin/mt/tools folder and running the command:
perl run-periodic-tasks -verbose
This should manually publish your site via command line and output any errors.
Im not using background publishing, as a matter of fact this is the first time hearing bout it..must look it up.
As for the comments, nope ive rechecked it again and there're no out-of-the-ordinary characters in the comments nor did i mess around with any of the given templates inside MT.
Ill try to run that command. How do i open a SSH terminal? thanks for the help by the way ninja
I just went through all the templates in my admin page and cant figure out where the problem lies in. Anyone willing to have a look see in my mt admin page to see if theres a problem?
The 404 error would be caused by the file not being present on the file system. I don't know what is going on with your comments, but try doing a complete republish on your blog.
Hiya Mike..i just republished the site yet again and still gives me the same problem....arhghghg
Did you check the file system to see if the file actually made it there?
I cant seem to change my publishing settings to background publishing as suggested by Ninja because I cant find any option to do so under Preferences - publishing. The choices that i only have are : publishing paths, archive options and module options
As for checking the file system, what exactly do you mean by that? Do you mean what Ninja suggested above, by running the run-periodic command?
No, I mean login to your host and verify that the file got published. 404 error codes are not issues for the blog software, but the web server.
Now i get it. Ive checked my webserver and nope, the file didnt get published as you said. How do i rectify this? Is it a problem with my webserver provider or did I not check any settings on MT...
Any ideas on why the comments arent showing Mike?
edit..
i just checked with my host and they said no file was uploaded to my webserver and as such theres nothing they can do bout it, theyve checked the rest and everything seems to be working fine and they told me to re-upload the file..
i just made a new test post and eventhough it shows up on the main index page, it doesnt work when clicked on it and it also doesnt show up in my webserver..
this is confusing
Post a screenshot of Design->Templates that shows the listing of the archive templates.
hiya Mike. Sorry for the late reply, was away from the computer due to work. Anyway, a friend that co-owns the blog managed to find a way around it..apparently the entry pages were set to not publish rather than "static". We're wondering how is that possible as it happened again after we changed it back to static..must be an odd bug just happening to us i guess
MT Version: 4.23
I am having the same issue with the 404 page appearing when trying to preview or submit a comment. I noticed that it is trying to publish to the subdomain.mywebsite.com/cgi-bin/mt/mt-comments.cgi instead of the mywebsite.com/cgi-bin/mt/mt-comments.cgi.
I don't know where I would make the change in order for the comments to be published to the appropriate location. I have the website url set as http://subdomain.mywebsite.com/ and have no problems publishing entries or pages. I have the Site Root showing as /root/myusername/public_html/subdomain which is how it was set up during installation.
I don't see anywhere under the comments section on how to tell it where mt-comments.cgi is located (which might be a huge help for people who have multiple subdomains and blogs if this is an issue).
I tried placing a copy of mt-comments.cgi into the subdomain's cgi-bin directory after adding an mt folder and that didn't work either.
Any assistance on fixing the location would be very much appreciated.
Nevermind. I figured out that I had to use the full path in the mt-config.cgi file. I thought I had changed it to the full path before and had major issues across all blogs but it is working now.