insideorkut.com

How can I add a iContact mailing list to my website?

Try iContact email marketing for free for 30 days. Click here to use coupon...

Get a free trial of iContact here. Click here for this special deal...
Got a quick question: How can I add a iContact mailing list to my website? Looking forward for any answer or 2. 2nd question I got is.. Did a clean install of 2.2 onto a shared server environment following the instructions at oscdox. All went well but when I open the catalog, I get the following warning:.

Warning: I am able to write to the configuration file: <path>/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file..

Where <path> is obviously the full path to /catalog..

Now, the installation told me to use chmod 706 on configure.php and if that didn't work, chmod 755. Have done both and still getting this message. What should I set the permissions to on this file?.

What can I do to get ride of this warning.

Please help..

Comments (13)

I would like to know the answer too. Anyone here know what is the right answer. I'll do some poking around and get back to you if I discover an useful answer. You should email the people at iContact as they probably can help you..

Comment #1

Hi I tried both 644 and then after tried 444 permission but still doesn't work the warning msg is still there very strange..

Comment #2

Same here, I've tried both of these but I keep getting the Warning message also. One thing to note is, I have run this exact same iContact website on other webhost's servers with no problems using 644, so there must be some difference between the host setups in my case..

Anyone else have ideas on what could be wrong?..

Comment #3

I read some lengthy thread around here on this subject.....

One person's solution was this:.

They had been trying to change the permissions via their FTP program, and it never worked..

They logged on and used the control panel provided by the Host, and the changes worked..

I don't know if this applies in your case..

As always, your mileage may vary.....

Comment #4

Ahh I fixed it... My FTP program was setting the file to 444, but when I refreshed the list, my server was setting it back to 644 for some reason! WTF? So I tried using my "File Manager" tool that comes with my web hosting instead to make the change, and using that keeps the setting at 444, which does fix the problem...

Comment #5

Windows Server 2003 server, IIS 6, and OS Commerce 2.2 RC2..

Receiving this error as stated above (and I'll repeat here):.

Warning: I am able to write to the configuration file: <path>/includes/configure.php. This is a potential security risk - please set the right user permissions on this file..

Permissions on file currently are:.

Full Modify ReadExe Read Write Special.

Administrators: Allow Allow Allow Allow Allow None.

System: Allow Allow Allow Allow Allow None.

Users: None None Allow Allow None None.

I've added IUSR_MACHINENAME to the list and marked Deny for everytyhing besides ReadExec and Read, but it still gives me the error. I'm doing this on the local file system through the local machine, and the permissions changes -are- being saved appropriately. Is it possible that IIS is configured incorrectly and using (very frighteningly) the SYSTEM or ADMINISTRATORS privelages?..

Comment #6

I'm having the same problem. To test your suspicion, I temporarily changed the permissions for the configure.php file and added "Deny Read" for the IUSRACHINENAME account and it wouldn't even load the page, failing when it tried to include configure.php. So it seems that the IUSR_MACHINENAME account is being used. I'm afraid it might be that the security check being made by osCommerce isn't accurately detecting the file settings with IIS. I've tried making sure that both IIS and Windows denies writing to this file, with no change in the message..

Has anybody successfully avoided this error message?.

Thank you,.

Rob..

Comment #7

Some hosts are absurdly disallowing ftp file permission changes whereas allowing php (or other script languages) to change file permissions. generally for the sake of their control panel to be able to change the permissions. which is in fact a more precarious situation in regard to security, it should be vice versa..

If your host's panel doesnt set the perm right still, you can do a trick to change file perm through php. you need to use chmod in php..

But then again, if you are not able to change file perm through ftp or your host's control panel, you should give them a call to ask whats going on with that...

Comment #8

If you are sure that you set perms right, and php cant recognize the perms correctly, just go to application_top.php under includes, and set WARN_CONFIG_WRITABLE define to FALSE..

That should suppress false error messages...

Comment #9

Hi, has anyone found a solution to this known problem?.

I am having this problem and it is becoming very annoying and hard to find a solution. Honestly a while back I solved it somehow, and installed new installation of osCommerce and have this same problem, yet can't remember what I did last time. I compared the permission settings for both stores and they look exactly same, so I am stuck. And I don't think I removed the warning code last time either..

I am using IIS and the Internet Guest is set to read only. As a matter of fact once I installed the osC. store, I had 2 warnings about two configuration files, I have set same permissions for both and one warning disappeard, yet the other one still her..

It is obviously some problem with osCommerce not reading permissions correctly. I hope the osCommerce support/troubleshooting team is seeing posts about this problem and can provide a fix, because this is a problem..

Please reply anyone if you have a solution for this, I am stuck on a project because of this and short on time. Thanks in advance!..

Comment #10

In Windows, right click on the file; select Properties from the menu; click the Read-only checkbox to checked; click Apply; click OK..

This is a Won't Fix bug with PHP:.

Http://bugs.php.net/bug.php?id=27609..

Comment #11

Hi how did you do it am using one.com file manager and cant figure out how to correct it. I can see the texeditor but if I use it what I have to change anyway?.

Thanks..

Comment #12

He's not talking of filemanager within osC admin, that must not be used but deleted, an open door to hackers..

Its filemanager within your hosting cPanel, select the file then.

Change permissions..

Comment #13

That is exactly what I did, and it solved the problem..

I had to use the set permissions in Cpanel from my host provider and set it to 444, then the warning message went away...

Comment #14


This question was taken from a support group/message board and re-posted here so others can learn from it.