The Crabby Host Archives
Search:     Advanced search
* Home
The Crabby Host Archives  |  Crabby eCommerce Business Solutions  |  Get Zenned! Zen Cart Help and Information Center  |  Topic: hwo can i block the warning messege which i have set the permissions to 444 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: hwo can i block the warning messege which i have set the permissions to 444  (Read 171 times)
ashcn2001
Wee Crab
*

Karma: 10
Offline Offline

Posts: 18


« on: November 28, 2007, 02:15:11 AM »

terrible i installed zen cart to the server and delet the installation folder in the server and set the permission to 444 but the warining informaiton was still showing  like this

Warning: I am able to write to the configuration file: /services/webpages/a/a/aariss.com/public/shop/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.

i check it many times and i am sure configure.php is seted to 444, but it still showing the warning message, can i find a way to delet the waring messge somewhere?? and how to delete    thank you~~~~


 


chinese music  enjoy







« Last Edit: November 28, 2007, 04:13:58 AM by ashcn2001 » Logged
The Tavern Wench
Administrator
Cranky Crab
*

Karma: -1313
Offline Offline

Posts: 2682


Stupidity is its own punishment.


« Reply #1 on: November 28, 2007, 07:39:07 AM »

There is no way to delete the warning message. If you have changed the includes/configure.php file permissions back to 444 and it's still not working, contact your host.  It's something they have to do on their end.

 
Logged
ashcn2001
Wee Crab
*

Karma: 10
Offline Offline

Posts: 18


« Reply #2 on: November 30, 2007, 09:12:35 AM »

sorry to reply you late , i am a little busy those days . and i have find a way to delet it , find the file \zen cart\includes\init_includes\init_header.php and delet the informaiton:
// check if the configure.php file is writeable
if (WARN_CONFIG_WRITEABLE == 'true') {
  if ( (file_exists(dirname($_SERVER['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($_SERVER['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {
    $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning');

then everything will be good

Logged
The Tavern Wench
Administrator
Cranky Crab
*

Karma: -1313
Offline Offline

Posts: 2682


Stupidity is its own punishment.


« Reply #3 on: December 08, 2007, 11:37:06 PM »

sorry to reply you late , i am a little busy those days . and i have find a way to delet it , find the file \zen cart\includes\init_includes\init_header.php and delet the informaiton:
// check if the configure.php file is writeable
if (WARN_CONFIG_WRITEABLE == 'true') {
  if ( (file_exists(dirname($_SERVER['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($_SERVER['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {
    $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning');

then everything will be good



IF you haven't changed the file permissions back to 444 then everything IS NOT GOOD.
Just deleting the warning message is not the solution to your problem.

If your configure.php file is set any higher than 444, anyone can hack into your site.

The reason I said contact your host was so they could verify the file permissions were correctly changed to 444.  Sometimes you may think you have them changed, but they really aren't.
Logged
Pages: [1] Go Up Print 
The Crabby Host Archives  |  Crabby eCommerce Business Solutions  |  Get Zenned! Zen Cart Help and Information Center  |  Topic: hwo can i block the warning messege which i have set the permissions to 444 « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Valid XHTML 1.0! Valid CSS!