|
Post by havana1933 on Jan 10, 2007 0:25:21 GMT -5
Hey everyone I am just setting up GM for the first time, but I keep getting the following error when trying to run the diagnostics & repair Error NoticeCan't create files in /home/mmpnyc/public_html/mmd. Make sure the entries/archives path is correctly configured and that this directory is CHMODed to 777. Any ideas what I am doing wrong?[/left] Thanks, M.
|
|
|
Post by coldstone on Jan 11, 2007 17:15:26 GMT -5
I know this is a lame response, but have you checked the permissions on the mmd direcotry?
GM is trying to create a gm-testfile.txt in that directory but is unable to.
Also, what is the os of your server? What version of Perl are you using?
|
|
|
Post by xxlifelessxx on Jan 14, 2007 21:01:35 GMT -5
I have the same problem. I set the permissions to 777 and it still gves me an error. Thankss
|
|
|
Post by coldstone on Jan 16, 2007 10:50:23 GMT -5
xxlifelessxx - what version of perl are you using? what version of Gm?
|
|
|
Post by xxlifelessxx on Jan 16, 2007 23:04:40 GMT -5
I'm using Grey Matter Version 1.7.1 and I'm not too sure how to check my perl version. I know that I am hosted under a linux web server.
Thanks
|
|
|
Post by Carlos Phelps on Jan 17, 2007 0:57:01 GMT -5
|
|
|
Post by xxlifelessxx on Jan 17, 2007 20:06:40 GMT -5
i have PERL version 5.8.7
|
|
|
Post by coldstone on Jan 18, 2007 13:02:52 GMT -5
Hmm, your perl and gm should be fine. What path does it give when there is an error?
|
|
|
Post by xxlifelessxx on Jan 18, 2007 22:03:49 GMT -5
It says: Error Notice Can't create files in /public_html/entries. Make sure the entries/archives path is correctly configured and that this directory is CHMODed to 777.
the path = /public_html/entries
|
|
|
Post by petefinnigan on Jan 19, 2007 8:57:56 GMT -5
is /public_html off the root on the server or is it a subdirectory of the apache document root? I suspect its not the full path to the directory. if you have access to the server shell then go to the directory and type pwd. if not create a simple perl script to run the pwd command and report the results. I have created a simple perl script to do this, look at web.petefinnigan.com/greymatter_mods.htm and download pwd.txt and i have included an example on my site of it working web.petefinnigan.com/pwd.cgi EDIT: the path that is returned is the one you should use in the greymatter config not /public_html/entries/ cheers pete
|
|
|
Post by thomasdv on Jan 19, 2007 11:37:35 GMT -5
I am having the same problems. When I installed and ran the pwd.cgi file, I got a blank screen. What am I doing wrong?
|
|
|
Post by coldstone on Jan 19, 2007 12:40:24 GMT -5
thomasdv - what Perl and Operating System is your server running? Not sure if `pwd` will work on windows box, since those ticks are sending it to the command line (correct me if I am wrong).
Another user had an issue and so I just wanted to iterate what Pete was saying that you need the full path on the box, which an ISP will tell you (the path usually includes your username, to keep your files seperate).
Basically if you have a local path like '/docs/gm' then GreyMatter will look in the wrong place for you files. When I first started using GreyMatter, I found the Detailed instructions (in gm_install.html) very helpfull.
|
|
|
Post by thomasdv on Jan 19, 2007 12:54:57 GMT -5
coldstone: Perl is (I am told by ISP) 5.8.8; Server os is Apache/Linux. I am told by ISP that the path is: /var/www/vhost/mamievandoren.com/httpdocs yet when I run diagnostic I get the "unable to write to" or "unable to read" written about above by another member. I have checked and re-checked permissions, etc with no luck.
|
|
|
Post by coldstone on Jan 19, 2007 13:00:36 GMT -5
Just so we are on the same page, your paths are looking like: Local Log Path: /var/www/vhost/mamievandoren.com/httpdocs Local Entries/Archives Path: /var/www/vhost/mamievandoren.com/httpdocs/archives Local CGI Path: /var/www/vhost/mamievandoren.com/httpdocs/cgi-bin
I guessed on the last one, since it seemed reasonable that the path could have been "/var/www/vhost/mamievandoren.com/cgi-bin". Since you checked your permissions, I am guessing that the paths are not right. Can you post the exact error message?
|
|
|
Post by Carlos Phelps on Jan 19, 2007 13:54:53 GMT -5
Do you have access to the shell / command line on your Linux websites? If you do telnet into your site and change to the location of the files in question. Run the following commands and record the info. It should help you solve the problem. - Print out a long listing of the directory by entering "ls -la"
- Checked your Perl version by entering "perl -v"
- Find the location of Perl by entering "which perl"
- Print the environment by entering "printenv"
|
|