pklein
Nov 11 2003, 07:24 PM
This may be a newbie question, but I've searched the boards and can't find any insight. I've been using MT successfully for about a month, then today, things went haywire. On all five of my blogs, when I go to the editing menu it says "Entries: 17" or whatever, but none of the entries are listed. The "list and edit entries" screen shows no entries available to edit. The archive files are all there (visible via FTP) but the index file doesn't seem to recognize them, even though it knows they should be there. Individual blog entries display properly (when called by their full URLs) but the blog index page is totally blank (no entries displayed).
When I try to create a new entry on any of the blogs I get the following errors:
If I save a draft entry:
Load failed:
If I save a published entry:
Can't call method "title" on an undefined value at mydomain.com\cgi-bin\lib/MT/App/CMS.pm line 2250
Can anyone offer any suggestions? Thanks much.
TxFx.net
Nov 12 2003, 03:23 AM
QUOTE
Can't call method "title" on an undefined value at mydomain.com\cgi-bin\lib/MT/App/CMS.pm line 2250
That is what it says verbatim?
because I really doubt your side is "mydomain.com" and backslashes have no business being there.
pklein
Nov 12 2003, 06:44 AM
Well, yes, except that instead of "mydomain.com" it gives the full path name to my App directory ( thought it was poor etiquette to promote one's actual address!). I'm running on a windows server, so the error message is more like this:
Can't call method "title" on an undefined value at E:\web\myfolder\cgi-bin\lib/MT/App/CMS.pm line 2250.
(I substituted "myfolder" for my actual folder name, which corresponds to the name of my site.) The backslashes are just like that.
Anyway, I haven't changed the location of any files, or anything at all, really, since I started running MT, and there were no problems before yesterday.
girlie
Nov 12 2003, 05:12 PM
This all sounds like a corrupted database to me. Did you run out of space on your account?
pklein
Nov 12 2003, 06:48 PM
I was afraid it might be a corrupted database. I have plenty of space on my account.
I'm guessing the only option left is to reinstall MT and start from scratch. (I have the html for most of the previous blog entries, so in principle the archives could be recreated, one at a time, but what a huge pain!) Is there any way to repair a corrupted database other than such a drastic solution?
girlie
Nov 12 2003, 06:58 PM
If you're using Berkeley rather than one of the SQL database options, corruption is always a higher risk. I've not seen much around here regarding anyone successfully repairing a corrupted Berkeley database.
pklein
Nov 13 2003, 06:23 PM
Thanks for all the comments. I ended up giving up and starting from scratch. For you other newbies out there, I deleted everything in my db directory, put mt-load.cgi back on my server, then manually re-entered as many of the old blog entries as I could. (There were only a couple of dozen, not hundreds!). Because the archived entries (and, in one case, the index.html) were still there I could simply copy and paste the html into the new entries (I even changed the dates and times to match the originals). It was a pain, but now I seem to be back to where I was.
Moral of the story: back up all your db files early and often!
(Experienced users: If I had a recent backup of my db files, then deleted the corrputed ones, ran mt-load.cgi, and reloaded the backup db files, would I have been OK?)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.