Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Save Config. / Critical Error  (Read 3399 times)

0 Members and 1 Guest are viewing this topic.

Sean Morgan

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Save Config. / Critical Error
« on: January 25, 2007, 01:17:08 am »

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!
« Last Edit: January 26, 2007, 06:53:34 am by Stramm »
Logged

Sean Morgan

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Save Config. / Critical Error
« Reply #1 on: January 26, 2007, 04:24:05 am »

nobody knows?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Save Config. / Critical Error
« Reply #2 on: January 26, 2007, 04:40:27 am »

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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Save Config. / Critical Error
« Reply #3 on: January 26, 2007, 06:54:47 am »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Save Config. / Critical Error
« Reply #4 on: January 30, 2007, 01:15:14 am »

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_' ;
   
?>
« Last Edit: January 30, 2007, 07:48:40 am by GauGau »
Logged

Sean Morgan

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Save Config. / Critical Error
« Reply #5 on: January 30, 2007, 01:16:18 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Save Config. / Critical Error
« Reply #6 on: January 30, 2007, 07:50:27 am »

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
Logged

eajoven

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Save Config. / Critical Error
« Reply #7 on: May 31, 2007, 09:17:17 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.