cannot modify header information
ok, i've moved past that part- and now here's the next problem.
after entering password, doman, database, etc, I get this message
if ($result || ($foundValue && $foundId && $foundTheme)) { $startDir = getcwd(); chdir(dirname(__FILE__)); ob_start(); include($pg_value); $galleryHTML = ob_get_clean(); chdir($startDir); } $retVal = str_replace($theTag,$galleryHTML,$retVal); } return $retVal; } } if (!function_exists('wa_replace_once') ) { function wa_replace_once($search, $replace, $subject) { $firstChar = strpos($subject, $search); if($firstChar !== false) { $beforeStr = substr($subject,0,$firstChar); $afterStr = substr($subject, $firstChar + strlen($search)); return $beforeStr.$replace.$afterStr; } else { return $subject; } } } ?>
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/08/8781008/html/powergallery/install_gallery/database.php on line 180
Warning: Cannot modify header information - headers already sent by (output started at /home/content/08/8781008/html/powergallery/webassist/framework/library.php:130) in /home/content/08/8781008/html/powergallery/install_gallery/database.php on line 183
in the database php, the code on lines 180-183 read as follows
//gallery info
$_SESSION['gallery'] = mysql_num_rows($result_gallery) >= 1 ? mysql_fetch_assoc($result_gallery) : false;
$_SESSION[$installPageID] = true;
header('Location: '.$nextInstallPage);
exit();