osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Warning: I am able to write to the configuration file

This is a discussion on Warning: I am able to write to the configuration file within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Code: Warning: I am able to write to the configuration file: /services/webpages/j/a/jarononline.com/public/store/catalog/includes/configure.php. This is a potential security risk - please ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-30-2002, 06:54 PM
New Member
 
Join Date: Dec 2002
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
talon
Default Warning: I am able to write to the configuration file

Code:
Warning: I am able to write to the configuration file: /services/webpages/j/a/jarononline.com/public/store/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.
I chmoded both configure.php files to 644 and the include directories to 755. So why am I getting this error? I read it might have something to do with file ownership? Could someone give me details on how to fix this. I have never used the chown command before and have only chmoded using WS_ftp.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 12-30-2002, 08:50 PM
Active Member
 
Join Date: Oct 2002
Location: Arkansas
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
modom
Default

I posted the solution for you on the osc forum.

wsftp will not work trying to chmod.

You can download cuteftp which will set the permissions correctly or, if you have a server admin area like cpanel, you can set file permissions in file manager.
__________________
Sincerely,
Melinda

www.designhosting.biz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 12-30-2002, 09:27 PM
New Member
 
Join Date: Dec 2002
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
talon
Default

Cuteftp didn't make any difference. same error.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 12-30-2002, 09:35 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,072
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

how about chmodding from the shell... Login using an ssh client, navigate to the correct directory, and at the command prompt type : chmod 644 configure.php

If that doesn't work, contact your host and have them do it for you. This sounds like a server issue to me.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 12-30-2002, 09:40 PM
New Member
 
Join Date: Dec 2002
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
talon
Default

I don't think its a servers issue, because after browsing the forums, I found allot of people having the same error.

That's the second time I have heard the word ssh. For all us noobs reading this forum, what is a ssh client and where do I get one?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 12-30-2002, 09:49 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,072
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

ssh = secure shell

Do a search on google for SSH or SecureCRT and you will find a bunch of clients. I use SecureCRT by vandyke software. It is trialware.

This is a direct command line connection to your server. Once logged in, you can issue text commands that directly effect the server. This is the most direct way to chmod. If it doesn't work, it is most definitely a server issue and you should talk to your host and find out the correct procedure for your server to set permissions.

The reason I say it is a server issue is because in over a year of installing oscommerce on various (linux,solaris,win98,winxp) different servers, and doing well over 150 installs, I have never come across this problem. I do about 10 installs a week for clients and never have a chmod problem.

Try ssh and see if that gets it for you.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 12-30-2002, 10:07 PM
New Member
 
Join Date: Dec 2002
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
talon
Default

Well I didn't think I was a total moron, but now I'm starting to wonder. I cant connect to the server using SecureCRT. Probably because i have no idea whatsoever what im doing. I just plugged in the same info i used to ftp, but it wont connect.
I assume SSH is something completely different and I need more info.
I do take instructions well if you assume I have absolutely no experience with SSH.
I can ftp all day and chmoding from ftp clients has always worked until now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 12-30-2002, 10:10 PM
New Member
 
Join Date: Dec 2002
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
talon
Default

Here's the URL.
http://jarononline.com/store/catalog/default.php
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 12-30-2002, 10:16 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,072
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Your login info should be the same as your main account login, unless your host does something different.

Check to see if your host even allows shell access on your account, as many hosts do not. Then check to see if they support ssh or telnet.

Also, is your server linux based?
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 12-30-2002, 10:21 PM
New Member
 
Join Date: Dec 2002
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
talon
Default

yes linux.
haven't been able to find any info on SSH on my Hosts site. vmsol.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Able to write to config file - after a few months I get this ozstar osCMax v2 Installation issues 3 10-16-2005 11:27 AM
Warning: No file uploaded. (for my products) trout osCommerce 2.2 Installation Help 4 06-04-2004 05:25 AM
problem with configuration file galil osCommerce 2.2 Installation Help 2 03-04-2004 10:08 AM
Warning: I am able to write to the configuration file Lefuneste osCommerce 2.2 Installation Help 0 12-26-2003 05:15 PM
Error: I can not write to this file. angie201 osCommerce 2.2 Installation Help 0 05-25-2003 03:15 AM


All times are GMT -8. The time now is 07:19 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax