From: Chris S. <san...@us...> - 2005-10-24 09:25:38
|
Update of /cvsroot/stack/stack-1-0/scripts/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25141/scripts/install Modified Files: stacktest.php Log Message: Index: stacktest.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/install/stacktest.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** stacktest.php 13 Sep 2005 08:46:12 -0000 1.12 --- stacktest.php 24 Oct 2005 09:25:27 -0000 1.13 *************** *** 29,32 **** --- 29,34 ---- require('../../stackLib.php'); + $some_errors = FALSE; + /************************************************/ /* Create maximalocal.php and CASKeywords.php. */ *************** *** 99,102 **** --- 101,105 ---- } else { echo "<font color='red'>No output from the LaTeX to HTML conversion.</font>"; + $some_errors = TRUE; } *************** *** 124,127 **** --- 127,131 ---- } else { echo "<font color='red'>No output from the CAS conversion.</font>"; + $some_errors = TRUE; } *************** *** 154,167 **** } else { echo "<br /><font color='red'>Quiz metadata not written out - check you have permissions to the schemas directory</font>"; } - ?> ! <h2>Next</h2> ! <p>If you have no errors, you are ready to go to your ! <?php ! /** ! * Echo URL. ! */ ! echo "<a href=\"$stack_web_url\">home page</a></p>"; ?> --- 158,172 ---- } else { echo "<br /><font color='red'>Quiz metadata not written out - check you have permissions to the schemas directory</font>"; + $some_errors = TRUE; } ! echo "<h2>Next</h2>\n\n"; ! ! if ($some_errors) { ! echo "You have Errors in your install."; ! phpinfo(); ! } else { ! echo "<p>Check the output carefully. If you have no errors you are ready to go to your <a href=\"$stack_web_url\">home page</a></p>"; ! } ?> |