cenobyte New Member
 member is offline
Joined: Sept 2006 Posts: 34 Karma: 0 |  | Cannot log in - "can't read file "gm-cplog.cgi"... « Thread Started on Nov 9, 2008, 2:14pm » | |
I'm running 1.8.1 (just downloaded and attempted to upgrade to 1.8.2 after this started happening, but that didn't appear to help...). Yesterday, I attempted to log in to my Greymatter blog, and was given the following message:
Quote:Error Notice
Can't read file "gm-cplog.cgi". Please make sure that directory to save the file is CHMODed to 777 and that the file is CHMODed to 666. Also try running Diagnostics & Repair from the Configuration screen.
|
|
Now, I can't *access* Diagnostics & Repair, because I can't log in. This is something that just popped up yesterday; everything was working fine until then. I've conacted my DNS host to ask if maybe they'd made changes to the server and had made my files read-only for some reason, but haven't yet heard back.
Oh. I get that message when I try to post comments, as well. It leads me to believe something wonky has happened at the server level, but since I'm not sure yet, I wanted to post here as well.
Anyone else with this issue?
Help much appreciated.
| |
|
coldstone Global Moderator
     member is offline
![[avatar] [avatar]](http://xergs.doubtfulguest.net/images/avatar.png)
![[homepage] [homepage]](http://images.proboards.com/buttons/www_sm.gif) Joined: Aug 2006 Posts: 816 Karma: 18 |  | Re: Cannot log in - "can't read file "gm-cplog.cgi « Reply #1 on Nov 11, 2008, 12:10am » | |
I would check the file permissions on your gm-cplog.cgi. Check that its there and that it is readable with the suggested permissions.
If the file is there with the right permissions, it could be some other error. In that case I would rename the file, and create a new blank gm-cplog.cgi with the correct permissions. Something in the file maybe wonky and I would be interested in investigating.
| |
|
cenobyte New Member
 member is offline
Joined: Sept 2006 Posts: 34 Karma: 0 |  | Re: Cannot log in - "can't read file "gm-cplog.cgi « Reply #2 on Nov 12, 2008, 2:10am » | |
There *was* a problem with my host, however, and now I can log in. However, now there is a new problem. Or rather, a different problem. When I try to run diagnostics & repair (I just upgraded to 1.8.2), I get the following message:
Quote:| Can't save the file "/home/myURL/public_html/words/archives/gm-testfile.txt". Please make sure that directory to save the file is CHMODed to 777 and that the file is CHMODed to 666. Also try running Diagnostics & Repair from the Configuration screen. |
|
When I try to post a new entry, I get this:
Quote:| Can't save the file "/home/myURL/public_html/words/archives/00001758.cgi". Please make sure that directory to save the file is CHMODed to 777 and that the file is CHMODed to 666. Also try running Diagnostics & Repair from the Configuration screen. |
|
The file permissions are all set correctly; I've checked and double-checked. I've asked my host if maybe I should rename the logical path, although that doesn't make a lot of sense to me.
Oooh. And when I try to rebuild any files, I get THIS:
Quote:The file "/home/myURL/public_html/words/archives/00001759.cgi" doesn't seem to exist. Please check that your files are in the correct location and that GreyMatter is configured correctly. Gm_Utils::gmWarn() at line 1676 in libs/Gm_Storage.pm (Gm_Storage) Gm_Storage::_loadFileArray() at line 329 in libs/Gm_Storage.pm (Gm_Storage) Gm_Storage::getEntry() at line 1915 in libs/Gm_Core.pm (Gm_Core) Gm_Core::getEntryVariables() at line 6906 in /renhome/myURL/cgi-bin/gm.cgi (main) main::rebuildUpdate() at line 6550 in /renhome/myURL/cgi-bin/gm.cgi (main) main::rebuildLastEntry() at line 6431 in /renhome/myURL/cgi-bin/gm.cgi (main) main::doRebuild() at line 177 in /renhome/myURL/cgi-bin/gm.cgi (main) main::handleRequest() at line 94 in /renhome/myURL/cgi-bin/gm.cgi (main). Error originated at at libs/Gm_Utils.pm line 418. |
|
Gak. I don't even know what to *ask* at this point.
| |
|
cenobyte New Member
 member is offline
Joined: Sept 2006 Posts: 34 Karma: 0 |  | Re: Cannot log in - "can't read file "gm-cplog.cgi « Reply #3 on Nov 12, 2008, 2:23am » | |
Correction. I get the message I just posted only when I try to : Rebuild Last Entry Page Rebuild Main Entry Pages Rebuild Archive Entry Pages Rebuild All Entry Pages
When I try to rebuild other stuff, I get:
Quote:| The file "/home/myURL/public_html/words/archives/00001747.cgi" doesn't seem to exist. Please check that your files are in the correct location and that GreyMatter is configured correctly. |
|
| |
|
coldstone Global Moderator
     member is offline
![[avatar] [avatar]](http://xergs.doubtfulguest.net/images/avatar.png)
![[homepage] [homepage]](http://images.proboards.com/buttons/www_sm.gif) Joined: Aug 2006 Posts: 816 Karma: 18 |  | Re: Cannot log in - "can't read file "gm-cplog.cgi « Reply #4 on Nov 13, 2008, 11:06am » | |
Is your home directory actually '/home/myURL/'? I wonder if your paths are incorrect.
If you login to your webhost with an ftp program, you will probably be able to see the path to your home directory.
| |
|
cenobyte New Member
 member is offline
Joined: Sept 2006 Posts: 34 Karma: 0 |  | Re: Cannot log in - "can't read file "gm-cplog.cgi « Reply #5 on Nov 14, 2008, 1:05pm » | |
Yup. The paths are correct. I mean, these are the same paths I've been using for five years. I even tried changing them, and I get the same error message anyway when I try to run diagnostics & repair.
| |
|
cenobyte New Member
 member is offline
Joined: Sept 2006 Posts: 34 Karma: 0 |  | Re: Cannot log in - "can't read file "gm-cplog.cgi « Reply #6 on Nov 14, 2008, 1:11pm » | |
A-HA! A-ha-ha..
Yeeeeahhhh....apparently my host made a teensy tinsy change to the pathways, without informing me (or any of their other clients, apparently), which I discovered when attempting to run a D&R. It's all fix-ed now.
Sorry for the confusion.
| |
|
coldstone Global Moderator
     member is offline
![[avatar] [avatar]](http://xergs.doubtfulguest.net/images/avatar.png)
![[homepage] [homepage]](http://images.proboards.com/buttons/www_sm.gif) Joined: Aug 2006 Posts: 816 Karma: 18 |  | Re: Cannot log in - "can't read file "gm-cplog.cgi « Reply #7 on Nov 14, 2008, 5:31pm » | |
No problem, glad to hear its working. I know its maddening when you have fixed the permission, but Greymatter is still complaining.
| |
|