...My host compomized the server and did a reinstallation with Debian.
and now the gallery doesn't work:
http://www.lilkimzone.com/gallery/
I get this error message:
Coppermine critical error:
Unable to connect to database !
MySQL said: Incorrect database name 'lilkim_db '
According to my host the name and database still excist + the old forum works.
What could be wrong?
http://forum.coppermine-gallery.net/index.php?topic=9737.0
I think i have the same problem as the guy in the topic above ...
I fixed the space error in config.inc.php....from... 'lilkim_db ' to 'lilkim_db'
but i still get the same error message:
Coppermine critical error:
Unable to connect to database !
MySQL said: Unknown database 'lilkim_db'
http://www.lilkimzone.com/gallery/
well, is the database 'lilkim_db' actually there? You can find out using a database tool like phpMyAdmin or by asking your webhost.
Put this into a php file, upload it and run it from your browser. It will show you all the databases that are availble for the details you specify. Just add your details in the first line.
<?php
$conn = mysql_connect('localhost', 'your db username here', 'your db password here');
echo is_resource($conn) ? '<p>Connected</p>' : '<p>Connect failed</p>';
$db = mysql_list_dbs($conn);
echo is_resource($db) ? '<p>Got db list</p>' : '<p>db list failed</p>';
echo '<ul>';
while ($row = mysql_fetch_row($db)){
echo "<li>{$row[0]}</li>";
}
echo '</ul>';