Error on Home Page Error on Home Page
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Error on Home Page

Started by The Grand Pooh-Bah, August 19, 2007, 07:43:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

The Grand Pooh-Bah

http://www.ar15photos.com

Getting the following message on the main page.  I have tried re-installing the updated files for the latest version and nothing changes.  HELP!

This is the message:

he given pid * * @param int or array $pid **/ function resetDetailVotes($pid) { global $CONFIG; if (is_array($pid)) { if (!count($pid)) { return; } else { $clause = "pid IN (".implode(',', $pid).")"; } } else { $clause = "pid = '$pid'"; } $query = "DELETE FROM {$CONFIG['TABLE_VOTE_STATS']} WHERE $clause"; cpg_db_query($query); } ?>function& cpg_get_scope( $plugin_id = null ) { global $CPG_PLUGINS,$thisplugin; if (!is_null($plugin_id)) { return $CPG_PLUGINS[$plugin_id]; } else { $plugin_id = (int) $_GET['scope']; $thisplugin =& $CPG_PLUGINS[$plugin_id]; return $CPG_PLUGINS[$plugin_id]; } } /** * cpg_action_page_end() * * Executes page_end action on all plugins * * @param null * @return N/A **/ function cpg_action_page_end() { CPGPluginAPI::action('page_end',null); } /** * cpg_filter_page_html() * * Executes page_html filter on all plugins * * @param string HTML * @return string HTML **/ function& cpg_filter_page_html( &$html ) { return CPGPluginAPI::filter('page_html',$html); } /** * cpg_get_dir_list() * * Returns all the subdirecties in a given folder * * @param string $path_to_folder * @return array $subdirectories **/ function& cpg_get_dir_list($folder) { global $CONFIG; $dirs = array(); $dir = opendir($folder); while (($file = readdir($dir)) !== false) { if (is_dir($folder . $file) && $file != '.' && $file != '..') { $dirs[] = $file; } } closedir($dir); natcasesort($dirs); return $dirs; } ?> cpg1.4 ); } ?>user is logged in, but is not gallery admin and not in admin mode $USER['am'] = 1; pageheader($lang_info, ""); msg_box($lang_info, 'Sending you to admin mode', $lang_continue, $referer); pagefooter(); ob_end_flush(); die(); } ?>
"The very atmosphere of firearms anywhere and everywhere restrains evil interference - they deserve a place of honor with all that's good." - George Washington

Nibbler

That's not a message. It's random code due to corrupted files. Re-upload clean copies from the package.