Save Config. / Critical Error Save Config. / Critical Error
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Save Config. / Critical Error

Started by Sean Morgan, January 25, 2007, 01:17:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sean Morgan

I have two problems and I drastically need help please! 

1) I keep getting the error below when I try to upload pics.

----
Critical error
Destination directory albums/userpics/ is not writable by the script !
----


2) In 'Config' menu, it won't let me 'save new configuration'.



Coppermine photogallery location: http://www.greatbasin-dw.com/photogallery

edited out by Stramm: Admin account



I've tried using both Internet Explorer and Mozilla Firefox with unfortunately the same results.  I don't know if it is the version that I have, or what is the problem. I've had so many problems with using the coppermine photogallery that it is very frustrating.  Can anyone give me some tips to stay ahead of the problems?

Thanks in advance if anyone can help me!

Sean Morgan


kegobeer

Have you checked the permissions?  If Coppermine can't write to the directory, that means it doesn't have permission.  If you are on a Linux host, you can CHMOD the albums directory to 777 (or whatever your host allows).  You should review the documentation and the FAQs, as permissions are discussed in those places.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Stramm

Never post admin accounts. This can be used to take over your server

Is your box running on save mode? If so
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#safe

Sean Morgan

#4
Nope, neither of those helped.

"albums", "albums/userpics", "include" directories are all 0777 permissions.

Yes, I believe it is in safe mode? Below is the contents of "config.inc.php"

<?php

    define('SILLY_SAFE_MODE', 1 ) ;

    $CONFIG['dbserver'] = 'localhost' ;
    $CONFIG['dbuser'  ] = 'greatbas_copp1' ;
    $CONFIG['dbpass'  ] = '*********' ;
    $CONFIG['dbname'  ] = 'greatbas_copp1'   ;

    $CONFIG['TABLE_PREFIX'] = 'cpg_' ;
   
?>

Sean Morgan

and still can't upload new pics and save new configuration.

Joachim Müller

Whoah - never post sensitive details like your mySQL data on a public board! Attackers could use it to mess up your site, install backdoors and other bad stuff. I edited out the password entry in your above posting. You should nevertheless change your mySQL password and make the changes in include/config.inc.php

eajoven

Wow! Muchas Gracias!

Thank you!

This is what i'm looking for!

My page moved to a new webhost provider and suddenly was unable to upload pics like admin or registered user.

Just add the silly safe mod to my congig doc and everythig was ok.

Just to say thak you after a few hours looking for the right solution.

Great Script, Great support team.