coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: H0tSh0tZ1627 on March 04, 2006, 07:54:11 AM

Title: Cant update SQL database settings
Post by: H0tSh0tZ1627 on March 04, 2006, 07:54:11 AM
I recently changed my password in my SQL datasbase, and Im trying to make that change in config.inc.php, but SmartFTP wont allow me to do it.  This is my config.inc.php:

<?php
// Coppermine configuration file
// Silly safe mode
define('SILLY_SAFE_MODE'1);


// MySQL configuration
$CONFIG['dbserver'] =                         '****';        // Your database server
$CONFIG['dbuser'] =                         '****';        // Your mysql username
$CONFIG['dbpass'] =                         '****';                // Your mysql password
$CONFIG['dbname'] =                         '****';        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                'cpg140_';
?>


Im getting this error in SmartFTP:

553 Can't open that file: Permission denied
    Transfer failed.


Anyone that can help, please?
Title: Re: Cant update SQL database settings
Post by: Joachim Müller on March 04, 2006, 07:56:53 AM
change permissions (CHMOD) and/or ownership (CHOWN). If you can't, ask your webhost for support.
Title: Re: Cant update SQL database settings
Post by: H0tSh0tZ1627 on March 04, 2006, 08:00:46 AM
I tried to change the CHMOD permissions to 777 from 644.  I got this error message:

550 Could not change perms on config.inc.php: Bad file descriptor

Does this mean I would need to contact my webhost?  Or can something be done?
Title: Re: Cant update SQL database settings
Post by: Joachim Müller on March 04, 2006, 10:52:15 AM
Quote from: H0tSh0tZ1627 on March 04, 2006, 08:00:46 AM
Does this mean I would need to contact my webhost? 
yes