Advanced search  

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

Pages: [1]   Go Down

Author Topic: config.inc.php error it disappeared......  (Read 8582 times)

0 Members and 1 Guest are viewing this topic.

ohfishing

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
config.inc.php error it disappeared......
« on: November 03, 2004, 04:55:27 am »

i have a strange problem with 132 ...... everything was fine, then i got the infamous upload error, after reading up on it i went to check my config.inc.php for she silly safe mode line, i saved the file before i opened it, then made the line addition, the tried the gallery , i got errors, i then opened back up the config.inc.php and the file is blank ??? im screwed becuase i have no idea how to fill out this sample form, where do i get all this information? can someone show me the correct way to write this stuff, i just dont understand
Code: [Select]
<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         'localhost';        // Your databaseserver
$CONFIG['dbuser'] =                         'root';        // Your mysql username
$CONFIG['dbpass'] =                         '';                // Your mysql password
$CONFIG['dbname'] =                         'coppermine';        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                'cpg132_';
?>
   my gallery is at http://www.ohfishing.com/v-web/bulletin/phpBB2/cpg132/index.php    my database name is ohfishin_p_bb1  Im just unsure on the correct way this stuff must be entered
« Last Edit: November 04, 2004, 09:38:37 am by GauGau »
Logged
OHfishing

ohfishing

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
Re: config.inc.php error it disappeared......
« Reply #1 on: November 03, 2004, 04:56:29 am »

P.S.  idea - if i ran the db install again, would my information re appear? and would i lose 1000 pictures?
Logged
OHfishing

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: config.inc.php error it disappeared......
« Reply #2 on: November 03, 2004, 05:16:25 am »

P.S. idea - if i ran the db install again, would my information re appear? and would i lose 1000 pictures?
don't!
It should be quite easy to fill in the missing vars into the config.inc.php file, like this
Quote
<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         'localhost';        // Your databaseserver
$CONFIG['dbuser'] =                         'root';        // Your mysql username
$CONFIG['dbpass'] =                         '';                // Your mysql password
$CONFIG['dbname'] =                         'ohfishin_p_bb1';        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                'cpg132_';
?>
Joachim
Logged

ohfishing

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
Re: config.inc.php error it disappeared......
« Reply #3 on: November 03, 2004, 06:12:47 am »

GauGau thank you for the reply, i dont mean to be an idiot, but i dont know what to write...
Logged
OHfishing

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: config.inc.php error it disappeared......
« Reply #4 on: November 03, 2004, 06:23:47 am »

you fill in the database details the same way you would when installing. What exactly is unclear for you?

Joachim
Logged

ohfishing

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
Re: config.inc.php error it disappeared......
« Reply #5 on: November 03, 2004, 06:38:21 am »

Wasnt that done automatically? i do not remember editing that ...... is it possible that db install proviided the information? I dont know what to write, do i use symbole? i dont know the awnsers to the "table prefix" etc
Logged
OHfishing

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: config.inc.php error it disappeared......
« Reply #6 on: November 03, 2004, 07:56:41 am »

who installed coppermin for you. The person who installed should be able to answer.

Joachim
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: config.inc.php error it disappeared......
« Reply #7 on: November 03, 2004, 11:30:21 am »

The prefix is easy to find, using your database tool.

Just open your database, and see what prefixes you have for the coppermine tables.
The other info is what you filled in in the install screen, regarding the name, password etc for the database.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

ohfishing

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
Re: config.inc.php error it disappeared......
« Reply #8 on: November 03, 2004, 10:06:20 pm »

Thanks guys it works !! god bless
« Last Edit: November 04, 2004, 01:19:36 am by ohfishing »
Logged
OHfishing

ohfishing

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
Re: config.inc.php error it disappeared......
« Reply #9 on: November 04, 2004, 12:56:41 am »

.
« Last Edit: November 04, 2004, 01:18:17 am by ohfishing »
Logged
OHfishing
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.