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 <?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
P.S. idea - if i ran the db install again, would my information re appear? and would i lose 1000 pictures?
Quote from: ohfishing 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?
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
GauGau thank you for the reply, i dont mean to be an idiot, but i dont know what to write...
you fill in the database details the same way you would when installing. What exactly is unclear for you?
Joachim
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
who installed coppermin for you. The person who installed should be able to answer.
Joachim
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.
Thanks guys it works !! god bless
.