I upgraded and now it can't connect to database
I don't know where to begin to fix the problem
used cpanel for installation and upgrade
THANKS
Verify the database settings in config.inc.php are correct.
Don't use cpanel/fantastico at all - they are buggy and outdated. Only support method is the one explained in our docs.
well the config file says this
define('IN_COPPERMINE', true);
require('include/init.inc.php');
if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
$redirect = "admin.php";
$message = <<< EOT
You are trying to access Coppermine's <a href="admin.php">config page</a> using an outdated link - the file config.php has been renamed to admin.php. You probably updated your site and haven't changed your theme as suggested in the <a href="docs/theme/">theme upgrade guide</a>.<br />
You are now being redirected to the actual page you were looking for.
EOT;
pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"100;url=$redirect\" />");
msg_box($lang_info, $message, $lang_continue, $redirect);
pagefooter();
ob_end_flush();
?>
or how can I point a new installation to an old database?
Not config.php, config.inc.php. Look in the /include directory.
well that would make more sense now wouldn't it!!!
lol duh
sorry
anyway
OK its not configured properly
is there away to retrieve mysql password or is it hopeless?
If you don't know the MySQL information, perhaps your host can give it to you.
ok i'm stumped
I can get it to connect to the database
which shows that all the files are there
but only 19 of the 136 photos are showing up
+ you have to be logged in in order to see those files (which I remember changing, but I can't remember how to change back)
So I guess first I need to know how to make the files viewable to all visitors
then I need to figure out how to make ALL of the photos show up
please help
Quote from: meers on October 06, 2006, 03:23:58 AM
(which I remember changing, but I can't remember how to change back)
So I guess first I need to know how to make the files viewable to all visitors
Allow unlogged users (guest or anonymous) access (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_allow_unlogged_access) (config -> User settings -> Allow unlogged users (guest or anonymous) access -> yes).
We have a strict "one question per thread" policy that you agreed to respect when signing up.
that setting is checked YES
Still no access for NON administrators
Please post a link and non-admin test user account.