I am getting this at the top of every page now:
; ?> url and all vars except $theme $cpgCurrentTheme = $_SERVER["SCRIPT_NAME"]."?"; foreach ($_GET as $key => $value) { if ($key!="theme"){$cpgCurrentTheme.= $key . "=" . $value . "&";} } $cpgCurrentTheme.="theme="; // get list of available languages $value = $CONFIG['theme']; $theme_dir = 'themes/'; $dir = opendir($theme_dir); while ($file = readdir($dir)) { if (is_dir($theme_dir . $file) && $file != "." && $file != "..") { $theme_array[] = $file; } } closedir($dir); natcasesort($theme_array); //start the output switch ($parameter) { case 'table': $return = 'not yet implemented'; break; default: $return.= $lineBreak . '' . $lineBreak; $return.= '' . $lineBreak; $return.='' . $lang_theme_selection['choose_theme'] . ''; foreach ($theme_array as $theme) { $return.= '' . strtr(ucfirst($theme), '_', ' ') . ($value == $theme ? '*' : ''). '' . $lineBreak; } if ($CONFIG['theme_reset'] == 1){ $return.= '' . $lang_theme_selection['reset_theme'] . '' . $lineBreak; } $return.= '' . $lineBreak; $return.= '' . $lineBreak; } return $return; } ?>
at http://winchesterfan.com/gallery
I moved servers and everything worked fine yesterday morning.
Any ideas on what that is or how to get it off??
Sara
You corrupted some file during transfer. Upload fresh copies from the Coppermine package.
Thanks for the quick response :) Do you know which files to reupload? All?
Sara
Probably include/init.inc.php or include/functions.inc.php. You should re upload all just to be safe though.
THANK YOU :)
I replaced those two files and the script is gone from the page except for " ; ?> " in the corner :) I appreciate your help a lot :)
Sara
Great. I just noticed you are using 1.3.3 however which is no longer supported. You should update your gallery as soon as you can.