|
Post by benjette on Feb 19, 2007 8:07:40 GMT -5
Anyone? I'd really like to get this resolved ASAP. I've tried re-uploading and re-CHMODING gm.cgi and it still won't work.
|
|
|
Post by coldstone on Feb 19, 2007 14:33:16 GMT -5
I have been looking into this without any luck.
I had a few questions though. Are you able to edit any other templates?
I was wondering if this might be a permissions issue. Perhaps gm-templates.cgi is not readable. Have you tried running Diagnostic and Repair? You could also try chmodding gm-templates.cgi to 666. Otherwise, I think I have read where 666 won't work sometimes and it has to be something else.
Lastly, I wonder if it might be a path issue. If post your paths from the config page, we could check that they look cool.
|
|
|
Post by coldstone on Feb 20, 2007 15:25:22 GMT -5
thats really weird. Since those templates are in the same file, I don't get why it would work for one but not the other.
I think the other chmod was like 644, but if it was working before, I don't see that being the issue (unless your web server was upgraded somehow).
Yeah, the paths look fine.
|
|
|
Post by benjette on Feb 21, 2007 8:42:34 GMT -5
Alright, well, is there a way to backup my entries and edited templates so I can delete the files and re-install?
|
|
|
Post by coldstone on Feb 21, 2007 14:56:13 GMT -5
if you want to reinstall, you can just make a copy of your archives and cgi-bin/blog directory.
The only files you will need are gm-authors.cgi, gm-templates.cgi, gm-banlist.cgi, gm-cplog.cgi and gm-configs.cgi. Copy these into the new install cgi-bin directory from your backup.
If you want, you could try something before going through the whole hassle of reinstalling. Just make a copy of your gm-templates.cgi, then re-upload the template file that ships with GM. If you can edit that with no problems, it would have to be something with the templates file.
|
|
|
Post by benjette on Feb 21, 2007 18:45:53 GMT -5
You must be exactly right, because I was able to edit a fresh template file. I just edited my old template file in an HTML editor by hand and rebuilt everything and the entry pages look how they're supposed to.
But it still won't let me edit the Entry-Page related templates through the script. It's kind of a pain in the ass to have to do it manually and re-upload the templates file. Any idea what's causing it? I have the same problem with my actual entries - I can edit some of them, but some of them I get the Forbidden error.
|
|
|
Post by coldstone on Feb 22, 2007 14:28:13 GMT -5
I am guessing a bad character if its with some but not others, but I don't know how that would have gotten in there. But the bad character would have to mess only with editing, and not rebuilding.
I am kinda curious to look at the file. If you can pick one of your entries and copy the file in your archives from .cgi to .txt and post the url that would be cool. The only 'confidential' information in an entry file is the ip or any karma voters or commenters, so if you pick an entry that doesn't have those it should be cool.
|
|
|
Post by coldstone on Feb 23, 2007 15:23:30 GMT -5
I'll take a look this weekend and let you know.
|
|
|
Post by coldstone on Feb 26, 2007 17:44:53 GMT -5
Ok, I integrated that page into my test GM installation and everything worked. I was able to edit the file and everything seemed cool.
Previously you said you were running on Mac OSX? Is that on your server? Are you able to login to your machine? If so, I would recommend using TextWrangler (its free) and opening your problem files and doing a 'convert to ascii' (its a drop down item).
Otherwise, you can download your files with your ftp program and re-upload them as 'ascii' and see if that fixes the issue. I am guessing when I downloaded that file, that the bad character was removed in the process.
Lastely, its a long shot, but if you have shell access, you can do a 'ls -la' in your archives directory and verify that those entries have the same permissions as the others, but chmod modifies those permissions, so I don't think its that.
|
|