Grey Matter Forums
« Can't delete gm-testfile.txt »

Welcome Guest. Please Login or Register.
May 20, 2013, 7:56pm



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 :: Installation Issues :: Can't delete gm-testfile.txt
Page 1 of 2 » Jump to page   Go    [Search This Thread] [Share Topic] [Print]
 AuthorTopic: Can't delete gm-testfile.txt (Read 2,568 times)
karmarelief
New Member
*
member is offline





Joined: Feb 2008
Posts: 1
Karma: 0
 Can't delete gm-testfile.txt
« Thread Started on Feb 3, 2008, 12:45am »

I've changed paths and CHMODed files and directories, and the diagnostics have responded OK.......until now:

"Can't delete the gm-testfile.txt file created in E:/www/mywebsite.com.tw/httpdocs/archives. Your server may not support this operation."

Does that mean I can't use Grey Matter? Somebody reply soon, I'd really like to use Grey Matter, but I'll have to settle for something less if my host doesn't support this.

I use a web host that supports CGI and Perl 5.008008 running on Microsoft-IIS/6.0 server software.


Link to Post - Back to Top  IP: Logged
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Posts: 816
Karma: 18
 Re: Can't delete gm-testfile.txt
« Reply #1 on Feb 5, 2008, 6:16pm »

Yes, unfortunately you cannot use Greymatter. Greymatter is testing if it can remove (with the command 'unlink') the test file it created. Greymatter needs to be able to create and delete files in order to word.

However, that is a very old version of Perl. Check with your web host and see if they have a new version installed (which would probably support the 'unlink' command).
Link to Post - Back to Top  IP: Logged
scd
New Member
*
member is offline





Joined: Apr 2008
Posts: 5
Karma: 0
 Re: Can't delete gm-testfile.txt
« Reply #2 on Apr 7, 2008, 9:56pm »

I'm getting a similar problem with the testfile:

Error Notice

Can't save the file "/httpdocs/arch/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.


I have another greymatter blog setup on the same hosting service, although it's an older version, and I never had this problem. Is the hosting services' perl out of date? is there something I can do to fix this? I'm pretty sure I've chmoded everything correctly and I've tried all possible path options.
Link to Post - Back to Top  IP: Logged
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Posts: 816
Karma: 18
 Re: Can't delete gm-testfile.txt
« Reply #3 on Apr 8, 2008, 5:16pm »

Is that the correct path? If so, I would try checking the directory permissions again. Is this a new blog setup?

Also, is the file "gm-testfile.txt" in your archive folder? If so, try deleting it. The file is created as a test to see if the archive folder can be deleted.
Link to Post - Back to Top  IP: Logged
scd
New Member
*
member is offline





Joined: Apr 2008
Posts: 5
Karma: 0
 Re: Can't delete gm-testfile.txt
« Reply #4 on Apr 8, 2008, 11:27pm »

this is a new blog set up, and I have changed the permissions according to the error message.

the cgi path I'm using is domainname.com/cgi-bin/
and the archives path is domainname.com/archives/
however on ftp the archives path is domainname.com > httpdocs > archives

I've also tried deleting the gm-testfile like you said but it gives me the same error. so it looks like this on the greymatter paths configuration:

local log path: /httpdocs/
local entries/archives paths: /httpdocs/archives
local cgi path: /cgi-bin
and then all the web directories are as I would type the url, domainname.com/archives etc.

any other ideas? sorry I hope that made sense.
thanks for your help coldstone!
Link to Post - Back to Top  IP: Logged
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Posts: 816
Karma: 18
 Re: Can't delete gm-testfile.txt
« Reply #5 on Apr 11, 2008, 3:08pm »

I think the issue might be your paths. The local paths should be:

local log path: /domainname.com/httpdocs/
local entries/archives paths: /domainname.com/httpdocs/archives
local cgi path: /domainname.com/cgi-bin

Let me know if that works or not.
Link to Post - Back to Top  IP: Logged
scd
New Member
*
member is offline





Joined: Apr 2008
Posts: 5
Karma: 0
 Re: Can't delete gm-testfile.txt
« Reply #6 on Apr 14, 2008, 10:39am »

Thanks again coldstone but I still can't seem to get it to work. Here are screen grabs of what I've got:

the paths: http://i102.photobucket.com/albums/m97/youdjparents/directories.jpg
the error message: http://i102.photobucket.com/albums/m97/youdjparents/directories2.jpg

I've tried it with a gm-testfile chmoded to 666 in the archives directory and without, still the same message.

Could it be something with my hosting?
Link to Post - Back to Top  IP: Logged
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Posts: 816
Karma: 18
 Re: Can't delete gm-testfile.txt
« Reply #7 on Apr 14, 2008, 10:46pm »

So, the gm-testfile does show up in: /stephd.biz/httpdocs/archives/ ?

Not sure if this is a hosting issue yet. Can you verify the permissions on the archive directory are correct? And owned by the user that your webserver runs as?

The paths look good though.
Link to Post - Back to Top  IP: Logged
scd
New Member
*
member is offline





Joined: Apr 2008
Posts: 5
Karma: 0
 Re: Can't delete gm-testfile.txt
« Reply #8 on Apr 15, 2008, 10:51am »

right now I don't have anything in the archives directory, the directory is chmoded to 777, and I've tried it with a gm-testfile.txt in there chmoded to 666 with the same results.

hmmm. maybe I should try an older version of greymatter?
Link to Post - Back to Top  IP: Logged
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Posts: 816
Karma: 18
 Re: Can't delete gm-testfile.txt
« Reply #9 on Apr 15, 2008, 10:40pm »

You could try, I don't think the results will change.

The gm-testfile shouldn't be created by you, Greymatter creates the file then deletes it to test that the directory can be used for storing its files in. I think either the path is wrong or there are permissions ownership issues.

Can you paste in the new error you are getting after removing the gm-testfile you made?
Link to Post - Back to Top  IP: Logged
scd
New Member
*
member is offline





Joined: Apr 2008
Posts: 5
Karma: 0
 Re: Can't delete gm-testfile.txt
« Reply #10 on Apr 17, 2008, 4:16pm »

it's exactly the same error message, which is strange?? thoughts?
Link to Post - Back to Top  IP: Logged
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Posts: 816
Karma: 18
 Re: Can't delete gm-testfile.txt
« Reply #11 on Apr 18, 2008, 4:59pm »

If the error message is the same, then you still need to update your archive path to be: /stephd.biz/httpdocs/archives/

The above error message shows that Greymatter is trying to save in a (probably) non-existent directory.
Link to Post - Back to Top  IP: Logged
senadykao
New Member
*
member is offline





Joined: Sept 2008
Gender: Male
Posts: 4
Karma: 0
 Re: Can't delete gm-testfile.txt
« Reply #12 on Sept 7, 2008, 9:58pm »

I'm getting the exact same message that Greymatter can't save the gm-testfile.txt. I talked to my hosting company, and they have perl version 5.8.8 which according to them supports the unlink command.
Link to Post - Back to Top  IP: Logged
coldstone
Global Moderator
*****
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Posts: 816
Karma: 18
 Re: Can't delete gm-testfile.txt
« Reply #13 on Sept 8, 2008, 2:34pm »

Is your server windows? It will probably only make a difference if they are using ActiveState perl. If you are just on a unix box, then you are safe.
Link to Post - Back to Top  IP: Logged
senadykao
New Member
*
member is offline





Joined: Sept 2008
Gender: Male
Posts: 4
Karma: 0
 Re: Can't delete gm-testfile.txt
« Reply #14 on Sept 8, 2008, 6:53pm »

everything was cool with my server, i just forgot to put /cgi-bin/ in my path. i am forever banished from web design :)
Link to Post - Back to Top  IP: Logged
Page 1 of 2 » Jump to page   Go    [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