Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem wih Configure.php file


nestorvm00

Recommended Posts

Posted

Hello everybody..

 

Im receiving a pink message on top of my website:

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

 

I changed the attribute to :

644,

444

400

000

And nothing, always appear the message...

How can I solve it...

 

It was working fine, I just installed SSL, and changed he configure file to https, and true... and after that the pink message, and THE SSL IS NOT WORKING...

I just changed in configure file and if I access the Index.php, create_account.php, etc, it does not open with https://

 

Please if anybody have seen this issue, any help..

 

 

Nestor

Posted

SSL works for me.

 

Don't use FTP to change permissions. Login and use the Control Panel provided by your Web host (NOT OSC!).

 

You have one item interfering with SSL:

 

<script language="javascript"><!--
function phpOnlinePopupWindow() {
var url = "http://www.virtuallgallery.com/phponline/client.php";
 window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res
izable=no,copyhistory=no,width=550,height=400,screenX=150,screenY=150,top=150,lef
t=150')
}
//--></script>

THe easiest fix would be to change it to a SSL link:

 

<script language="javascript"><!--
function phpOnlinePopupWindow() {
var url = "https://www.virtuallgallery.com/phponline/client.php";
 window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res
izable=no,copyhistory=no,width=550,height=400,screenX=150,screenY=150,top=150,lef
t=150')
}
//--></script>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

I had a similar problem when tryung to use a FTP software to make the permissions changes.

 

I had to use my webhost's built-in file manager (in the webhosting account control panel) to make the permissions change to 444 and that worked fine.

Archived

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

×
×
  • Create New...