Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Installing on a Linux/Unix Server / A tip about the warning message

A tip about the warning message

Locked

Started by pdprenty on 29 Sep 2006, 10:33 PM · Views: 1,512

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
29 Sep 2006, 10:33 PM
#1
pdprenty avatar

pdprenty

New Zenner

Join Date:
Sep 2006
Posts:
58
Plugin Contributions:
0

A tip about the warning message

I am new at this and I also had the same problem with changing the permissions on the store side of the site.

I tried changing the settings to 644 and 444 from both the ftp and the control panel with no luck.

I contacted my host to trouble shoot for me and here is what he said:

Hi,

I looked at the files and permissions are correct. The error on the shop homepage itself was pointing to another location:

/home/xxxxxx/mydomain-www/shop/includes/configuration.php

the names were changed to protect the guilty

Which I corrected.

Mike

This is the place that the page should have been pointing to:

/home/xxxxx/www/shop/admin/includes/configuration.php

So I guess that I put in the incorrect information during the installation.

Now I am not sure that will help everyone who comes up with that warning, but it may help someone.

I now have to go figure out if anything else will be effected.

hth, Pat

ps, the warning that we are talking about is:

Warning: I am able to write to the configuration file: /home/success/public_html/includes/configure.php. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance.

29 Sep 2006, 11:09 PM
#2
fluffytigger avatar

fluffytigger

Zen Follower

Join Date:
Dec 2005
Location:
My Own Fluffy Place, Pangea
Posts:
377
Plugin Contributions:
0

Re: A tip about the warning message

DId yer move host or something? The paths are completely different :unsure:

One's going to public_html, the other's mydomain-www, not sure what's going on.

Usually that warning come up if you haven't change permission on the 2 configure.php files. Happen all the time.

Yeah! I'm small! I'm Fluffy! Stick tongue out

30 Sep 2006, 6:31 AM
#3
pdprenty avatar

pdprenty

New Zenner

Join Date:
Sep 2006
Posts:
58
Plugin Contributions:
0

Re: A tip about the warning message

No, I did not change servers/hosts, I entered informaton incorrectly when doing the install.

I entered :
mydomain-www/shop/includes

instead of:
www/shop/admin/includes

basically I just gaffed the name of my file structure. Within my own site, www is a valid directory.

btw, mydomain is not the name of my domain..... and the name of the directory is not xxxxx

:wink2:

Pat

30 Sep 2006, 7:41 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: A tip about the warning message

The installer detects the information automatically. In 95% of cases, there is typically no need to change any of the settings ... other than maybe the SSL details and of course to fill in the database details.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.