|
Post by cenobyte on Jul 9, 2007 21:19:15 GMT -5
I have just upgraded from 1.3 to 1.7.3 (which took some finagling and fancy footwork; I wonder if an older version of 'upgrade instructions' is in the manual?
Anyway, when I try to rebuild files or create a new entry, I get this message:
An internal Greymatter error has occured in _padDigits, possibly due to invalid data, check your entryfiles and run Diagnostic and Repair.
It also appears to be happening whenever one tries to post a comment to my web journal (http://www.cenobyte.ca/words).
Have you any suggestions?
Also, my templates appear to have disappeared completely (it really wasn't a smooth upgrade).
|
|
|
Post by coldstone on Jul 10, 2007 13:44:17 GMT -5
Could you be specific about which upgrade instructions you had trouble with? The more info we have the better we can make Gm. Those instructions were updated for the newest release.
What happens when you run Diagnostic and Repair? Since 1.7, Gm has been more picky about data and you may have some bad data in your entries.
The template issue is mysterious. If you look at gm-templates.cgi, do you see anything? Its a long process, but you can copy from your old template, into the correct box in your new installation, then save, to restore the templates.
|
|
|
Post by cenobyte on Jul 10, 2007 15:13:00 GMT -5
I think we may have already covered this in the post about invalid ID parameters, but here's the info:
I attempted to upgrade from 1.3 (possibly 1.3.1?) to 1.7.3, and the upgrade did not go smoothly (due in large part to my neglecting to notice that I was transferring files in binary rather than ASCII). I found conflicting information about what to CHMOD files to (there was a step-by-step guide in the installation guide that said to CHMOD certain files to 775 and others to 644, whereas the 'quick upgrade' instructions said to CHMOD the libs and lang directories and all the files inside them to 644 - maybe I just misread it, but I was CHMODing all night (grin).
When I run Diagnostic & Repair, I get this:
I may very well have some bad data in my entries - at one point (back when I very first installed GM, in the days of 1.2, I think), I had some corrupted entries and had to do some clever stick-handling, but I've checked over those early entries and they seem to be okay. My guess is that there's a spam comment or two that hasn't got caught and deleted yet, but I've no idea how to find bad data in my entries.
Re: Templates - when I open gm-templates.cgi, there is code in there, of course (in the actual *file), but when I looked at the templates section of the admin area (in Greymatter), every single template was blank. I suspect this had something to do with the differences you mentioned in the other post, and probably I could have copied-and-pasted had I set up a local copy of GM before overwriting the other gm-template.cgi. I do still have the original backup files from 1.3.1, though, and may try to run a local instance of it to see if I can do that copy-and-paste thing.
|
|
|
Post by coldstone on Jul 10, 2007 21:46:26 GMT -5
Thanks, thats good information. I have been meaning to give the install guide a thorough going over, but I realize I need to make this a higher priority.
For the templates, if you had any issues upgrading (like Gm quit in the middle) your template file may be in a bad state. However, I would like to try testing with your templates. Could you provide a link to your gm-template.cgi file (with a new extension, like .txt instead of .cgi)?
I tried upgrading a fresh install from 1.3.1 to 1.7.3 and didn't have any problems, so I am interested to see if the upgrade code has a problem that your templates are exposing.
|
|
|
Post by cenobyte on Jul 11, 2007 9:00:47 GMT -5
I made copies of the template files and put them in my main public directory (I think you probably can't access my cgi-bin): www.cenobyte.ca/gm-templates.txtand the templates file I was using from 1.3.1 is here: www.cenobyte.ca/gm-templates-old.txtPossibly I just did something wrong and overwrote the original templates file somehow; I just thought it was odd. Cheers, j
|
|
|
Post by coldstone on Jul 11, 2007 22:07:15 GMT -5
I tried upgrading to 1.7.3 a default 1.3.1 installation with the gm-templates-old.txt and can post the result if you want. However, the old templates don't really match your current site, so I am wondering if that file is from much longer ago?
I also tried upgrading a 1.7.1 to 1.7.3 with you gm-templates.txt, and the templates file was unchanged.
I am not sure what happened, but hope everything is working now for you, template wise? Write back if there are any issues.
|
|
|
Post by cenobyte on Jul 12, 2007 9:06:51 GMT -5
Nah, I can deal with the templates. I probably just copied over the wrong file and erased my most recent template.
The bigger issue is that I can't post or comment or rebuild files because of this message:
|
|
|
Post by coldstone on Jul 12, 2007 16:35:55 GMT -5
Right, we'll get that taken care of in the other thread.
|
|