|
Post by coldstone on Jul 16, 2007 21:08:32 GMT -5
Don't worry about the 9 pages issue, that is just the chunk of files it processes. If it did all your files at once, it would cause time outs with the browser/server. Ok, I am sorry this is dragging out, but we are making progress. You did things right with the gm-counter file. However, in the Control Panel your stats will be off since it doesn't have the correct karma or comment counts. I hope to fix this in the next few releases. If you find a newer version of gm-counter, we can work from there. Otherwise, you could put in these old values, order doesn't matter: stayattopentry=0 karmapos=26 karmaneg=21 commenttotal=1684 opentotal=375 closedtotal=14
I will post a new trace file tonight, so that we can figure out whats wrong with the Master Archive Index. Also, if you uncheck the 'rebuild all' checkbox when posting a new entry (or editing) do you get an error? If not, you could then go and specifically rebuild the main page, at least for now. UpdatedThe file is up at: gmdownload.awardspace.com/gm-library-trace.zapPlease post a link to the trace file when you get a chance.
|
|
|
Post by cenobyte on Jul 16, 2007 22:22:19 GMT -5
I'm not worried about it dragging out at all; I'm kind of liking the discovery process myself. I have been able to post new entries (as you've seen - there isn't a 'rebuild all' checkbox in the 'new entry' page; only in the templates pages), but I can't rebuild the archive master pages, the archive log indexes, the Archive entry pages, and the rebuild all entry pages. I have had success rebuilding the last entry page, the main index file, and the main entry pages (and got my templates kinda working again). If I use the totals for gm-counter from my old counter, will that affect the new posts I've made since then, or will the code update the counter with the proper numbers? ie. If I now have opentotal=1375 and I manually change it to opentotal=375, is the change in any way going to jeopardize the latest 1000 entries? The trace file is here: www.cenobyte.ca/trace17July.trc I added the date, mostly in case we need to look at any of the old trace files (I don't know if the trace appends itself each time it runs or if it writes over the old file).
|
|
|
Post by coldstone on Jul 16, 2007 22:41:15 GMT -5
that is a good idea about the trace file, though they will append, it will be messy.
If you manually change the numbers, nothing bad will happen, its just the statistics at the bottom of the Control Panel page will be less wrong than just being 0. As you add new stuff, your stats will go up, but they won't be accurate until we make Gm fix those numbers. The two numbers it does fix correctly are the essential ones.
|
|
|
Post by cenobyte on Jul 17, 2007 14:11:26 GMT -5
I changed the numbers (although there were a couple of lines in the gm-counter file that weren't in your list. I left them alone. And, of course, I don't remember what they were...ah yes. Archivetotal and entrytotal), and now I get the invalid id parameter message when I post a new entry (I hadn't been getting it when I posted a new entry).
The entry still gets posted, and comments seem to be working just fine, and the template modifications I've done have 'taken' everywhere except the archive entry pages.
|
|
|
Post by coldstone on Jul 17, 2007 16:10:46 GMT -5
Hmm, thats not good. Sounds like we took a step back. Can you post your gm-counter again?
Also, I should have thought of this before, but take a look at your gm-entries file and make sure everything seems ok in there. It can be a long file, so if you can provide a link to it, that would be great.
|
|
|
Post by cenobyte on Jul 17, 2007 22:40:10 GMT -5
gm-counter file: copy of gm-entries file in .txt format: www.cenobyte.ca/gm-entrylist.txtI'm wondering if it doesn't have something to do with the very first entry, which was a fix I did when the thing broke waaaaaay back in 1.2; somehow the counter went all wonky and this was a bit of a band-aid solution to get the counter to count the first entry properly. I had the information about it on the old forums, if you still have access to any of those caches. EditNo dice. I tried taking that zero-entry out of the gm-entrylist file, and it didn't make any difference. [glow=red,2,300]UPDATE[/glow]GAH! Now when I tried to edit an entry (which worked this morning, and has always worked, even with all these other problems), I was told this:
|
|
|
Post by coldstone on Jul 19, 2007 21:31:31 GMT -5
So, did you take out the following line?
|||00/00/|00:00 |O|Y|||no
Also, is there a 00000000.cgi file in your archives folder?
This would definitely cause the problem. Which entry did you try editing? Is it all of them?
Also, I looked through your gm-entrylist and noticed the following entries are missing dates:
If you had just rebuilt your entrylist then its the actualy files you have to edit. E.g. to fix entry 29, edit 00000029.cgi. But be sure to edit it in text mode, otherwise bad characters can be introduced into the file.
|
|
|
Post by cenobyte on Jul 20, 2007 10:34:33 GMT -5
So, did you take out the following line?
|||00/00/|00:00 |O|Y|||no
Yes. I tried taking that out.
Also, is there a 00000000.cgi file in your archives folder?
Yes, it's still there.
This would definitely cause the problem. Which entry did you try editing? Is it all of them?
I only tried editing the first, in the entrylist file, without removing the 00000000.cgi file from the list. I shall try removing both and seeing if it works.
Also, I looked through your gm-entrylist and noticed the following entries are missing dates: (snip) If you had just rebuilt your entrylist then its the actualy files you have to edit. E.g. to fix entry 29, edit 00000029.cgi. But be sure to edit it in text mode, otherwise bad characters can be introduced into the file.
Right. Why on earth would those dates be stripped, I wonder? I shall try editing those entries and putting the dates in manually, as well as removing that zero-entry. Keep your fingers crossed...
UPDATE Weird. When I try to edit those entries you listed manually (ie. editing the actual .cgi entry pages), the dates are all there. Do you mean I have to edit the gm-entrylist.cgi file? They all, however, do *not* have subjects. I'll try putting something in the subject line to see if that helps at all - maybe leaving it blank throws a wrench in the gears or something.
Also, I re-removed the line in entrylist.gm that referred to the zero-entry, however I also noticed that my last two posts were at the very bottom of the file (they ought to have been at the top, I think, but I don't know if order matters). I still can't rebuild the Archive Master Index (id parameter warning), but I'm working on rebuilding the other files.
One more thing. In the Administration panel, when I click 'rebuild Main Entry Pages', it goes through and does its thing, but at the end of the rebuild, it does not go back to the main menu, nor to the rebuild pages menu. It just has two grey boxes; one says 'return to templates menu' and the other says 'return to main menu' - is this by design?
UPDATE II
Well, adding subjects to all those entries didn't seem to do a d**ned thing. I still can't rebuild the files (it jams out on the Archive Master Index, with the invalid id parameter error). I was really hoping it would be a simple solution like that...
UPDATE III
All right. This time, when I tried to rebuild the Archive Master Index, Archive Entry Pages, and "All Entry Pages" *this* is the error message I got:
Rebuilding the Archive Log Indeces seems to run fine, and everything seems tickety-boo with D&R.
|
|
|
Post by coldstone on Jul 22, 2007 14:19:45 GMT -5
Yeah, but its not by my design Soon the admin menu will be re-disigned to remove some of the extra clicks.
|
|