<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/stack/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/stack/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 16 Apr 2013 22:07:19 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/stack/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>235FMf  &lt;a href="http://mhoenwjwgpni.com/"&gt;mhoenwjwgpni&lt;/a&gt;,</title><link>https://sourceforge.net/p/stack/bugs/77/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;235FMf  &amp;lt;a href="http://mhoenwjwgpni.com/"&amp;gt;mhoenwjwgpni&amp;lt;/a&amp;gt;, [url=http://uxmchcvtcyzs.com/]uxmchcvtcyzs[/url], [link=http://vhcbskghksun.com/]vhcbskghksun[/link], &lt;a href="http://hwkyanjhhuwy.com/" rel="nofollow"&gt;http://hwkyanjhhuwy.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 16 Apr 2013 22:07:19 -0000</pubDate><guid>https://sourceforge.net6b02ca325d3ca566e98551f52062a48bcc7eec88</guid></item><item><title>latex will not render for exponents of asin, acos, atan</title><link>https://sourceforge.net/p/stack/bugs/76/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The problem is with the latex that is generated, it is the same for asin, acos, and atan. For example (asin(x))^3 is rendered as sin^{-1]^3(x) which causes problems due to the double exponent. One possibile fix would be to simply represent sin^{-1} as arcsin. I do not pretend to know your source code very well but I did manage to implement this by changing the file displayCASText to be:&lt;br /&gt;
else // Assume STACK returns raw LaTeX for subsequent processing, e.g. with JSMath.&lt;br /&gt;
{&lt;br /&gt;
$this-&amp;gt;strin = $str-&amp;gt;wrapAround();&lt;br /&gt;
$this-&amp;gt;captureFeedbackTags();&lt;br /&gt;
$this-&amp;gt;capturePRTFeedbackTags();&lt;br /&gt;
$this-&amp;gt;applyFilters();&lt;br /&gt;
$this-&amp;gt;restoreLatexValues();&lt;br /&gt;
$this-&amp;gt;insertPlaceHolders();&lt;br /&gt;
$this-&amp;gt;strin = str_replace('$ !html[','!html[',$this-&amp;gt;strin); //another modification. Stops &amp;lt;html&amp;gt; tags from being given $ tags and therefore breaking tth&lt;br /&gt;
$this-&amp;gt;strin = str_replace(']! $',']!',$this-&amp;gt;strin); //bug occurs when maxima returns &amp;lt;html&amp;gt;tags in output, eg plots or div by 0 errors&lt;br /&gt;
$this-&amp;gt; JSMath_LaTeXtoHTML();&lt;br /&gt;
//BEGIN CHANGE&lt;br /&gt;
$trigin = array("sin^{-1}", "cos^{-1}", "tan^{-1}");&lt;br /&gt;
$trigout = array("arcsin", "arccos", "arctan");&lt;br /&gt;
$this-&amp;gt;mathmlString = str_replace($trigin, $trigout, $this-&amp;gt;strin);&lt;br /&gt;
//END CHANGE&lt;br /&gt;
$this-&amp;gt;mathmlString =  $this-&amp;gt;strin;&lt;/p&gt;
&lt;p&gt;$this-&amp;gt;restoreHTML();&lt;br /&gt;
$this-&amp;gt;restoreFeedback();&lt;br /&gt;
$this-&amp;gt;restorePRTFeedback();&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 27 Feb 2012 05:40:34 -0000</pubDate><guid>https://sourceforge.netba56df93d1c8f46190d27d5b28ceebe03fda005a</guid></item><item><title>Postgres saving integers</title><link>https://sourceforge.net/p/stack/bugs/75/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;While trying to import some sample questions I noticed that we are trying to send '' as a value for an integer field, and this is something Postgres does not tolerate (no SQL database should).&lt;/p&gt;
&lt;p&gt;The fields in question are questionUserLastEdited and line. Naturally, these do not have any values when importing so one would either need to send NULL to the database or for example -1 if it does not mean anything else.&lt;/p&gt;
&lt;p&gt;For Postgres users the next problem is just saving a new question. As one cannot save without a line-value and it seems to be blank...&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 20 Dec 2010 12:10:49 -0000</pubDate><guid>https://sourceforge.net96e1f6c9492f120b7e4a86c943c644cd7c427a1d</guid></item><item><title>Postgres saving integers</title><link>https://sourceforge.net/p/stack/bugs/74/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;While trying to import some sample questions I noticed that we are trying to send '' as a value for an integer field, and this is something Postgres does not tolerate (no SQL database should).&lt;/p&gt;
&lt;p&gt;The fields in question are questionUserLastEdited and line. Naturally, these do not have any values when importing so one would either need to send NULL to the database or for example -1 if it does not mean anything else.&lt;/p&gt;
&lt;p&gt;For Postgres users the next problem is just saving a new question. As one cannot save without a line-value and it seems to be blank...&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 20 Dec 2010 11:00:41 -0000</pubDate><guid>https://sourceforge.net0516c41fffe016f79a59d770716fc9a27e6879e0</guid></item><item><title>install/installFunctions.php open_page-function HTTPS?</title><link>https://sourceforge.net/p/stack/bugs/73/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;install/installFunctions.php open_page function looks like it has a story to tell... but maybe just a simple fopen would be enough.&lt;/p&gt;
&lt;p&gt;The problem is that it does not support SSL and in some environments SSL is required. What is worse is that the installer does not warn the user about giving a HTTPS address to the server and then fails to skip the errors caused by this function as those errors are quite big ones.&lt;/p&gt;
&lt;p&gt;Could someone change the open_page function to just fopen and add some sort of an exit logic if the test fails, as now it just keeps on trying forever or untill the server has had enough.&lt;/p&gt;
&lt;p&gt;While STACK2 might not be meant to be used through SSL in a larger installation, people tend to do small scale tests with SSL on and this is a really annoying error to get.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 20 Dec 2010 10:13:33 -0000</pubDate><guid>https://sourceforge.neteb5e5304a4f9dbc5de80f9238cedd7cb4b28c89e</guid></item><item><title>Installer Postgres checkTablesExist fails</title><link>https://sourceforge.net/p/stack/bugs/72/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The checkTablesExist function does not work for Postgres atleast for newer versions. The reason for it not working is case-sensitivity.&lt;/p&gt;
&lt;p&gt;In the current code we search for a table named "attempt_meta_PRT" but we can not find it as the system knows it as "attempt_meta_prt".&lt;/p&gt;
&lt;p&gt;To fix this one simply needs to add one strtolower-function call to the code in install/adodbinit.php line 268, like this:&lt;/p&gt;
&lt;p&gt;$pgsql = "SELECT * FROM information_schema.tables WHERE table_schema='public' AND table_type='BASE TABLE' AND table_name IN (" . EXPECTED_TABLE_NAMES . ")";&lt;/p&gt;
&lt;p&gt;change to this:&lt;/p&gt;
&lt;p&gt;$pgsql = "SELECT * FROM information_schema.tables WHERE table_schema='public' AND table_type='BASE TABLE' AND table_name IN (" . strtolower(EXPECTED_TABLE_NAMES) . ")";&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 20 Dec 2010 09:53:22 -0000</pubDate><guid>https://sourceforge.net08abc95a2b73d377c6eba8c8d5e719c5b89a32c7</guid></item><item><title>Answers in a text area always believed to have changed.</title><link>https://sourceforge.net/p/stack/bugs/71/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Requesting a worked solution to a question with a text area always displays the message "You have changed one or more of your answers, because of this the worked solution will not be displayed."&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matthew Badger</dc:creator><pubDate>Wed, 01 Dec 2010 12:16:52 -0000</pubDate><guid>https://sourceforge.nete177b906183d3ce4e712805e76dad849e447b62d</guid></item><item><title>Three failing unit tests in TestOfCastextDisplay</title><link>https://sourceforge.net/p/stack/bugs/70/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;testCorrectHTML2, testCorrectHTML6 and testCorrectHTML9 fail (all the other unit tests pass for me, but with some notices. See other bugs.)&lt;/p&gt;
&lt;p&gt;Not quite sure what the correct fix is, but it looks like you are within striking distance of having completely passing unit tests,.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Hunt</dc:creator><pubDate>Mon, 29 Nov 2010 16:49:26 -0000</pubDate><guid>https://sourceforge.netaf73093c63d60cb09b6f3aff69f883d2c947766b</guid></item><item><title>healtchech for jsMath broken</title><link>https://sourceforge.net/p/stack/bugs/69/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It does not load the jsMath JS before trying to detect it, so the test always fails!&lt;/p&gt;
&lt;h1 id="index-installhealthcheckphp"&gt;Index: install/healthcheck.php&lt;/h1&gt;
&lt;p&gt;RCS file: /cvsroot/stack/stack-dev/install/healthcheck.php,v&lt;br /&gt;
retrieving revision 1.15&lt;br /&gt;
diff -u -r1.15 healthcheck.php&lt;br /&gt;
--- install/healthcheck.php    30 Sep 2010 16:56:19 -0000  1.15&lt;br /&gt;
+++ install/healthcheck.php 29 Nov 2010 16:33:06 -0000&lt;br /&gt;
@@ -177,6 +177,7 @@&lt;br /&gt;
echo '&amp;lt;p&amp;gt;&amp;lt;span class="valid"&amp;gt;'.get_string('stackInstall_success', 'stack','').'&amp;lt;/span&amp;gt; '.get_string('stackInstall_jsmathok', 'stack','').' &amp;lt;img src="'.$wroot.'/pix/'.get_string('stackIcon_success','stack').'" width="16" height="16" alt="'.get_string('stackIcon_success_alt','stack').'" /&amp;gt;&amp;lt;/p&amp;gt;';&lt;/p&gt;
&lt;p&gt;// finally, try to load and render with jsMath?&lt;br /&gt;
+                    echo '&amp;lt;script type="text/javascript" src="'.$jsmathroot.'/jsMath.js"&amp;gt;&amp;lt;/script&amp;gt;';&lt;br /&gt;
echo '&amp;lt;script type="text/javascript"&amp;gt;' .&lt;br /&gt;
'if (!window.jsMath) document.write(\'&amp;lt;p&amp;gt;&amp;lt;span class="failed"&amp;gt;'.get_string('stackInstall_failed', 'stack','').'&amp;lt;/span&amp;gt; '.get_string('stackInstall_jsmathnotfound', 'stack','').' &amp;lt;tt&amp;gt;'.$jsmathroot.'&amp;lt;/tt&amp;gt; &amp;lt;img src="'.$wroot.'/pix/'.get_string('stackIcon_fail','stack').'" width="16" height="16" alt="'.get_string('stackIcon_fail_alt','stack').'" /&amp;gt;&amp;lt;/p&amp;gt;\');' .&lt;br /&gt;
'else {' .&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Hunt</dc:creator><pubDate>Mon, 29 Nov 2010 16:34:05 -0000</pubDate><guid>https://sourceforge.net9b0f09b103d62b7269d4a9188ecd2d501048cf3c</guid></item><item><title>Use of undefined field lowestTerms</title><link>https://sourceforge.net/p/stack/bugs/68/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Various classes in lib/items have code like&lt;/p&gt;
&lt;p&gt;if($this-&amp;gt;lowestTerms == true)&lt;br /&gt;
{&lt;br /&gt;
$lowestTerms = 'true';&lt;br /&gt;
}&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
$lowestTerms = 'false';&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;However, $this-&amp;gt;lowestTerms. I searched the code for "-&amp;gt;lowestTerms" but even looking at all 11 places where this field is referred to, I could not work out what was supposed to be going on.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Hunt</dc:creator><pubDate>Mon, 29 Nov 2010 16:25:03 -0000</pubDate><guid>https://sourceforge.net062a70074e969b8b2a67edb07d51d8dac280d026</guid></item></channel></rss>