Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configure.php


dankos

Recommended Posts

Hello!

I don`t know how to configure this file.

 

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

 

What should I do?

Link to comment
Share on other sites

Hello!

I don`t know how to configure this file.

 

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

 

What should I do?

 

You must change permission of this file configure.php to 666 and won't see this warning. Please do it in your file manager.

 

Hopping help.

Link to comment
Share on other sites

You must change permission of this file configure.php to 666 and won't see this warning. Please do it in your file manager.

 

Hopping help.

 

 

Hi I need some help too.

 

When I set the value of SSL to true, it breaks my shopping cart.

define('ENABLE_SSL', 'true')

Setting that value breaks the checkout link, the link comes to the browser as:

 

https://www.originalsweep.comcheckout_shipping.php/

 

I can resolve that issue by changing the HTTPS_SERVER variable to include a slash like:

define('HTTPS_SERVER', 'https://www.originalsweep.com/')

 

but then when I get sent to check-out, I get a screen that only says, "No Input File Specified."

 

I have been trying to get this working for 2 weeks, can someone please throw me a bone.

 

Anyone know how to fix this please?

Link to comment
Share on other sites

Have you installed an ssl certificate?

 

Jack

 

Yes, I *almost* have it working now.

The checkout_shipping.php page now loads up SSL protected, but I get no lock icon, and in my admin section it stil says that SSL is not enabled.

 

part of the issue is that the following function in application_top.php returns NOSSL always.

 

$request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

 

Even though the url loaded is https://www.website.com

 

I don't think getenv works on the ISAPI implementation of PHP on IIS

Link to comment
Share on other sites

Yes, I *almost* have it working now.

The checkout_shipping.php page now loads up SSL protected, but I get no lock icon, and in my admin section it stil says that SSL is not enabled.

 

part of the issue is that the following function in application_top.php returns NOSSL always.

 

$request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

 

Even though the url loaded is https://www.website.com

 

I don't think getenv works on the ISAPI implementation of PHP on IIS

 

changing it to $request_type = ($_SERVER['HTTPS'] == 'on') ? 'SSL' : 'NONSSL'; resolves the issue, btw.

Link to comment
Share on other sites

Hi,

I'm still getting the warning:

Warning: I am able to write to the configuration file: /home2/rita/public_html/includes/configure.php.

This is a potential security risk - please set the right user permissions on this

file.

 

I read the installation manual, which btw says to chmod the file either 644 or 444, and not 666, but that's still not it. I've marked it 444, 666, 644 and am still getting the warning message.

Link to comment
Share on other sites

Hi,

I'm still getting the warning:

Warning: I am able to write to the configuration file: /home2/rita/public_html/includes/configure.php.

This is a potential security risk - please set the right user permissions on this

file.

 

I read the installation manual, which btw says to chmod the file either 644 or 444, and not 666, but that's still not it. I've marked it 444, 666, 644 and am still getting the warning message.

 

 

I still do not understand how to chang the permissions. Can someone please explain this newbie how to change permissions. 444 666 644 777....

 

I use my hosting Vdeck - public_html / osCommerce

 

includes/configure/catalog/includes/configure.php

 

Looking at all the HTML I dont know where to change permissions. Do I change the file name? Please tell me how to do this.

Link to comment
Share on other sites

1. log into your vDeck panel

2. Navigate to Host Manager > File Manager

 

Here you will see the contents of your /home/public_html folder structure

 

Navigate to the configure.php file that you are wanting to modify permissions to and click on the number in the last column of that table (the one with a ? mark at the heading for that column) corresponding to your configure.php file.

 

A pop-up window will open and it is here you change the permissions to the chmod # you want.

 

Input the # and click ok.

 

Hope this helps.

Link to comment
Share on other sites

I did not understand how to do it...

 

 

It only sounds imtemidating. You can do it a couple of different ways actually.

1. As the earlier post said. Log in to the control panel for your website. I'm using Cpanel, so these directions may not be the same for you, but will give you enough understanding to accomplish the task at hand. Find the link for your file manager, and click on it. You'll need to navigate down through the tree structure till you find (public_html) click on it. Scroll down till you find the (includes) directory and click on it, (if your shop is in a different directory thatn your web-root, click on it first.) directory your shop is in, Find your configure.php file, and click on the icon for it. Once you click on the icon for it, you'll see a list of options. Click on Change Permissions. It will become clear by then what you need to do.

2. If you want to ftp in to your site, most ftp clients allow you to change permissions there. I'm using WS_FTP so again these directions may not be step-by-step the same, but will pretty well explain how it's done. Find your configure.php file. Right click on it, and then on Properties. A box will open that you can either type the number it, or use the checkboxes. Just set it to the correct permissions and click OK, and you're good to go.

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...