Grey Matter Forums
« Cannot log in - "can't read file "gm-cplog.cgi"... »

Welcome Guest. Please Login or Register.
May 19, 2013, 9:28am



Greymatter: Free Personal Blogging Software

About Greymatter (including System Requirements)

Greymatter on FreshMeat

Download current version from:

News: Greymatter 1.8.2 is released! Read the announcement.

Got a minute? We want to know what's your preferred site navigation?

Please read the security announcement regarding author passwords.

Next Greymatter release will be 1.8.3


Grey Matter Forums :: Support :: Trouble Shooting :: Cannot log in - "can't read file "gm-cplog.cgi"...
   [Search This Thread] [Share Topic] [Print]
 AuthorTopic: Cannot log in - "can't read file "gm-cplog.cgi"... (Read 1,074 times)
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.
« Last Edit: Nov 9, 2008, 5:40pm by cenobyte »Link to Post - Back to Top  IP: Logged
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

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.
Link to Post - Back to Top  IP: Logged
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.
Link to Post - Back to Top  IP: Logged
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.
Link to Post - Back to Top  IP: Logged
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

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.
« Last Edit: Nov 13, 2008, 11:10am by coldstone »Link to Post - Back to Top  IP: Logged
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.
« Last Edit: Nov 14, 2008, 1:07pm by cenobyte »Link to Post - Back to Top  IP: Logged
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.
Link to Post - Back to Top  IP: Logged
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

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.
Link to Post - Back to Top  IP: Logged
   [Search This Thread] [Share Topic] [Print]

Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile