cody1970 New Member
 member is offline
Joined: Jan 2007 Posts: 5 Karma: 0 |  | Can't create files « Thread Started on Jan 30, 2007, 11:42am » | |
Receiving the following message when running diagnostics & repair:
Can't create files in /home/admin/mainwebsite_html/blogs/archives. Make sure the entries/archives path is correctly configured and that this directory is CHMODed to 777
I have tried all obvious paths, and the archives folder is properly CHMODed. Running PERL 5.8.3. Need assistance!
| |
|
Carlos Phelps Global Moderator
     member is offline
Joined: Jan 2007 Gender: Male  Posts: 177 Karma: 30 |  | Re: Can't create files « Reply #1 on Jan 30, 2007, 12:24pm » | |
Cody,
When you made the folder is this where you put it?
Remember you can put the archives almost anywhere on your website, but Greymatter needs to know where that is.
What is the url of the archives folder?
Put a test page in the archives folder then try getting to it with the url. When you're able to do that compare the url to the file path.
If you have shell / command line access use it and cd to the folder and see where you are.
| |
|
cody1970 New Member
 member is offline
Joined: Jan 2007 Posts: 5 Karma: 0 |  | Re: Can't create files « Reply #2 on Jan 30, 2007, 4:52pm » | |
I have verified through the PWD command that the correct path is:
var/www/html/blogs/archives
But I am still getting the same error:
Error Notice Can't create files in var/www/html/blogs/archives. Make sure the entries/archives path is correctly configured and that this directory is CHMODed to 777.
| |
|
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: Can't create files « Reply #3 on Jan 31, 2007, 3:22pm » | |
Are there any files in the archives folder yet? Maybe they are causing a conflict.
I know this is minor, but did you not copy the leading '/' character? Your path should be absolute: /var/www/html/blogs/archives
| |
|
cody1970 New Member
 member is offline
Joined: Jan 2007 Posts: 5 Karma: 0 |  | Re: Can't create files « Reply #4 on Feb 1, 2007, 9:03am » | |
There was a test file but I have removed it, and I still receiving the error message with the path:
/var/www/html/blogs/archives
Anyone have any other ideas?
| |
|
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: Can't create files « Reply #5 on Feb 1, 2007, 1:25pm » | |
Could you post your path settings from the config section? That might give more insight.
| |
|
cody1970 New Member
 member is offline
Joined: Jan 2007 Posts: 5 Karma: 0 | |
Carlos Phelps Global Moderator
     member is offline
Joined: Jan 2007 Gender: Male  Posts: 177 Karma: 30 |  | Re: Can't create files « Reply #7 on Feb 1, 2007, 10:07pm » | |
Cody,
The website log path looks good, but it looks like folder for website entries path is not set to be readable or writeable. You should chmod it to 777 that is the same as drwxrwxrwx.
| |
|
cody1970 New Member
 member is offline
Joined: Jan 2007 Posts: 5 Karma: 0 |  | Re: Can't create files « Reply #8 on Feb 2, 2007, 9:00am » | |
The folder attributes are -rwxrwxrwx . CHMOD is showing 777. Diagnostics & Repair still returning the "Can't create files" error message.
Any other ideas on what else it could be?
| |
|
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: Can't create files « Reply #9 on Feb 2, 2007, 11:09am » | |
What version of Gm and Server OS?
Can you make a test file in "/var/www/html/blogs/archives"? Like a test.html
| |
|
Carlos Phelps Global Moderator
     member is offline
Joined: Jan 2007 Gender: Male  Posts: 177 Karma: 30 |  | Re: Can't create files « Reply #10 on Feb 2, 2007, 11:45am » | |
Cody,
You said, "The folder attributes are -rwxrwxrwx."
Normally a folder will be drwxrwxrwx and a file will be -rwxrwxrwx if they are chmod to 777.
Maybe the folder/file had been locked due to some incomplete task. If you have nothing in the folder, delete it and make a new folder. If you have files in the folder that you do not want to lose, rename the folder then make a new folder.
| |
|