forum.coppermine-gallery.net

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:

Code: [Select]
<?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:

Code: [Select]
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:

Code: [Select]
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
Does this mean I would need to contact my webhost? 
yes