Personal tools
About this blog
This is where I maintain running notes of my thoughts

Syndicate my Blog

 Subscribe in a reader


Number of visitors
since 27 March 2006
Add to Technorati Favorites

 
Document Actions

Broken Website

by Mukul Dharwadkar posted at 2006-10-20 15:50 last modified 2006-10-20 15:50

MeetMeNow 14-day free trial; easy web meetings VistaPrint.com

Digg!

Don't you just hate it when you break something when trying to carry out some maintenance or clean-up. Two days back I shot myself in the foot and didn't even realise it till today when I came to post on my weblog after six days.

As I have mentioned earlier, I was under attack by Spambots who posting comments with links to porn sites on my weblog. I thought I had taken care of that. But some smart guy outfoxed me by putting a trackback to my website. When I went to delete it, I inadvertently deleted the entire comments folder (place holder) in my weblog (CoreBlog2.0.8b running on Plone 2.5.1). When I posted a new blog entry earlier today, I found out that I could save the entry but it would give me an error that related comments. The error looked like:

Exception Type
KeyError
Exception Value
'comments'

I am not a programming guy and I tried very hard to read the code all over the place to understand and find out if I had deleted some key file. I even compared it with my other website and did not find anything wrong there. I spent almost 3 hours trying to find out what was wrong. I even though about raising a ticket with the CoreBlog team and re-installing the CoreBlog software. But that would have been done later today when I reached home. Till that time, my website would be partially inaccessible and I didn't like the sound of it.

So when I again compared my working website and this one, I focused my attention to the weblog object inside the Plone website. I noticed that the comments object is missing from there. I knew that it was a folder, but whenever I tried to add from the ZMI, all I could do was add a weblog entry with the name comments. Although that was fixing the website, it was not the optimum solution that I was looking for. Next thing I did was to check the Portal Types section and saw that the only allowed object type under Coreblog was a new CoreBlog Entry. I added CoreBlogCommentFolder as an allowed type and then came back to the weblog on Plone (it does not work through ZMI though) and added a CoreBlogCommentFolder.

This has fixed my problem and brought my website back up till the time I break it again.

Category(s)
Open Source
The URL to Trackback this entry is:
http://www.dharwadkar.com/weblog/repair_break/tbping

Posted by at 2006-11-07 12:19
very nice site!

Posted by at 2006-11-07 12:21
adding to my bookmarks...

Posted by at 2006-11-07 12:22
nice choice of colors.

Posted by at 2006-11-07 12:48
cool design. i like it!
Add comment

You can add a comment by filling out the form below. Plain text formatting.

(Required)
(Required)

Listed on BlogShares
Recent entries
My experience with virtualization Mukul Dharwadkar 2008-06-30
Happy Father's day Mukul Dharwadkar 2008-06-16
Use the plain old notepad as your personal diary Mukul Dharwadkar 2008-05-07
Taxing time to file tax returns Mukul Dharwadkar 2008-02-29
Fedora 8 - Still not there yet Mukul Dharwadkar 2008-02-28
Recent trackbacks
2006-11-07
2006-11-07
2006-11-07
2006-11-07
2006-11-07
« November 2008 »
Su Mo Tu We Th Fr Sa
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
 

This site is:

Powered by Plone, the Open Source Content Management System