<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/phpdeadlock/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/phpdeadlock/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/phpdeadlock/bugs/</id><updated>2011-04-15T18:06:59Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Cannot Login as Administrator</title><link href="https://sourceforge.net/p/phpdeadlock/bugs/17/" rel="alternate"/><published>2011-04-15T18:06:59Z</published><updated>2011-04-15T18:06:59Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netdcd8c78074d32a273e981582a2ee51419d6659e1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="http://www.phpdeadlock.org/" rel="nofollow"&gt;http://www.phpdeadlock.org/&lt;/a&gt; appears to be down (this may be related to an update check?)&lt;/p&gt;
&lt;p&gt;When I login as Administrator (or try to) the site hangs.  All browsers fail.  Users can login, but not hte administrator.  I'm running Deadlock-1.01-Stable&lt;/p&gt;
&lt;p&gt;Any and all healp is greatly appreciated.&lt;/p&gt;
&lt;p&gt;Rev Paul&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>You forgot to set the text color</title><link href="https://sourceforge.net/p/phpdeadlock/bugs/16/" rel="alternate"/><published>2010-06-06T23:54:34Z</published><updated>2010-06-06T23:54:34Z</updated><author><name>Master Merlin Kull Kirkpatrick</name><uri>https://sourceforge.net/u/thefathermind/</uri></author><id>https://sourceforge.net96245abd0e82d2e184fdd7844604a240efaa57ac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You hard coded the background to #E0E0E0 in the user.css and admin.css&lt;br /&gt;
You neglected to set the text color to black.  As a result my text from my standard black windows xp theme is not visible as the black theme sets the text to white.  I fixed this by adding to the css files the color: black;.  Please note this change will be transparent to anyone (most people) who already have black text.&lt;/p&gt;
&lt;p&gt;body {&lt;br /&gt;
color: black;&lt;br /&gt;
background-color: #E0E0E0;&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>DocumentRoot does not support VirtualDocumentRoot</title><link href="https://sourceforge.net/p/phpdeadlock/bugs/15/" rel="alternate"/><published>2010-06-06T23:51:44Z</published><updated>2010-06-06T23:51:44Z</updated><author><name>Master Merlin Kull Kirkpatrick</name><uri>https://sourceforge.net/u/thefathermind/</uri></author><id>https://sourceforge.netf3175d0f18b5f444a434f6c28f136a471909d3f0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In the install.php and in a number of the other scripts the server variable 'DOCUMENT_ROOT'&lt;br /&gt;
$htaccess_path = $_SERVER['DOCUMENT_ROOT'].$htaccess;&lt;/p&gt;
&lt;p&gt;Apache supports a reasonably new commonly used system called "VirtualDocumentRoot" where you can adjust the document root based on the domain name etc... A problem with this is that apache always returns just /htdocs when you access the DOCUMENT_ROOT variable.  This causes your software to stop working entirely and wont even install because it can never find the correct path for the htaccess stuff.  In my apache config file I have a line like this that sets the actual document root...&lt;/p&gt;
&lt;p&gt;VirtualDocumentRoot /var/www-auto/%4.0.%5.0/%3.0/%2.0/%1.0&lt;/p&gt;
&lt;p&gt;I have a solution!  I put the following line in the top of your install.php and in your global.php I also put it into the db_config.php but I am not sure it needs to be there.  I do not know how this would affect people not using a virtual domain system.  You might need to put a switch into the install to toggle this on or off...&lt;/p&gt;
&lt;p&gt;$_SERVER['DOCUMENT_ROOT'] = Str_Replace($_SERVER['SCRIPT_NAME'],"",$_SERVER['SCRIPT_FILENAME']);&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>http://www.phpdeadlock.org/</title><link href="https://sourceforge.net/p/phpdeadlock/bugs/14/" rel="alternate"/><published>2009-12-30T22:08:23Z</published><updated>2009-12-30T22:08:23Z</updated><author><name>Greg Hill</name><uri>https://sourceforge.net/u/ghi07/</uri></author><id>https://sourceforge.neta5445791e87398736aec27b07291d69cafd40543</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;What has happened to the phpdeadlock project at &lt;a href="http://phpdeadlock.sourceforge.net/?"&gt;http://phpdeadlock.sourceforge.net/?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have the phpdeadlock software installed but it no longer works as version checking fails on the reference to &lt;a href="http://phpdeadlock.sourceforge.net/DeadlockRelease-1.txt."&gt;http://phpdeadlock.sourceforge.net/DeadlockRelease-1.txt.&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;I have temporarily disabled the checking to allow my site to continue working.&lt;/p&gt;
&lt;p&gt;I originally raised problem with sourceforge (ticket &lt;a href="https://sourceforge.net/apps/trac/sourceforge/ticket/7527\"&gt;https://sourceforge.net/apps/trac/sourceforge/ticket/7527\&lt;/a&gt;) but they say that &lt;a href="http://phpdeadlock.sourceforge.net/"&gt;http://phpdeadlock.sourceforge.net/&lt;/a&gt; redirects to  &lt;a href="http://www.phpdeadlock.org/" rel="nofollow"&gt;http://www.phpdeadlock.org/&lt;/a&gt; which they don't host. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>auth.inc.php bug?</title><link href="https://sourceforge.net/p/phpdeadlock/bugs/13/" rel="alternate"/><published>2009-12-18T22:09:01Z</published><updated>2009-12-18T22:09:01Z</updated><author><name>Alex Bello</name><uri>https://sourceforge.net/u/freedomoverdose/</uri></author><id>https://sourceforge.netd1486dbd8ae57acfedf2c9777062fdcb7bf75b4c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey there :).&lt;/p&gt;
&lt;p&gt;I was just browsing through your lines of code, and I saw this lines:&lt;/p&gt;
&lt;p&gt;if(($_SESSION['StartTimestamp'] - time() ) &amp;gt; $config['user_session_expire']){&lt;br /&gt;
session_destroy();&lt;br /&gt;
redirect('./login.php');&lt;br /&gt;
}&lt;br /&gt;
Since StartTimestamp of the session is allways smaller than the current timestamp,the expression results in a negative value. I think it should be:&lt;/p&gt;
&lt;p&gt;if((time() - $_SESSION['StartTimestamp'] ) &amp;gt; $config['user_session_expire']){&lt;br /&gt;
session_destroy();&lt;br /&gt;
redirect('./login.php');&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;please have a look :).&lt;/p&gt;
&lt;p&gt;all the best!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Warning messages trying to access admin</title><link href="https://sourceforge.net/p/phpdeadlock/bugs/12/" rel="alternate"/><published>2009-02-05T03:37:01Z</published><updated>2009-02-05T03:37:01Z</updated><author><name>doug haines</name><uri>https://sourceforge.net/u/bluevision3684/</uri></author><id>https://sourceforge.net10e13a08a5452c85d327bcfde128319f27e3c945</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Our install went fine, but when we tried to log into the adming panel, we got these messages...&lt;br /&gt;
Warning: session_start() [function.session-start]: open(/var/php_sessions/sess_9b3eb460276c31c88abd9a34a7000f79, O_RDWR) failed: No such file or directory (2) in /hermes/web09/b2038/as.academici/public_html/deadlock/global.php on line 604&lt;/p&gt;
&lt;p&gt;Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /hermes/web09/b2038/as.academici/public_html/deadlock/global.php:604) in /hermes/web09/b2038/as.academici/public_html/deadlock/global.php on line 604&lt;/p&gt;
&lt;p&gt;Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/web09/b2038/as.academici/public_html/deadlock/global.php:604) in /hermes/web09/b2038/as.academici/public_html/deadlock/global.php on line 604&lt;/p&gt;
&lt;p&gt;Warning: Cannot modify header information - headers already sent by (output started at /hermes/web09/b2038/as.academici/public_html/deadlock/global.php:604) in /hermes/web09/b2038/as.academici/public_html/deadlock/global.php on line 1099&lt;/p&gt;
&lt;p&gt;Warning: Unknown(): open(/var/php_sessions/sess_9b3eb460276c31c88abd9a34a7000f79, O_RDWR) failed: No such file or directory (2) in Unknown on line 0&lt;/p&gt;
&lt;p&gt;Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) in Unknown on line 0&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MiniTemplator error: Undefined block name "errortable" in $E</title><link href="https://sourceforge.net/p/phpdeadlock/bugs/11/" rel="alternate"/><published>2008-06-19T17:35:25Z</published><updated>2008-06-19T17:35:25Z</updated><author><name>Med</name><uri>https://sourceforge.net/u/medmontreal/</uri></author><id>https://sourceforge.net6200df948469493e97529cf8d2dd796fd2f4642d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
I'm using your service, but when I try to create an account i get:&lt;br /&gt;
Fatal error: MiniTemplator error: Undefined block name "errortable" in $EndBlock command in template at offset 2323. in /home/cassiopee/public_html/membres/lib/MiniTemplator.class.php on line 914&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.fanclubdecassiopee.net/membres/user/register.php" rel="nofollow"&gt;http://www.fanclubdecassiopee.net/membres/user/register.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I'm gonna attach the file "MiniTemplator.class.php" with this message.&lt;/p&gt;
&lt;p&gt;Can anyone please help me?&lt;br /&gt;
Thanks&lt;br /&gt;
Med&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Problem with &lt;? and &lt;?=</title><link href="https://sourceforge.net/p/phpdeadlock/bugs/9/" rel="alternate"/><published>2007-12-16T17:55:32Z</published><updated>2007-12-16T17:55:32Z</updated><author><name>H.J. Bent</name><uri>https://sourceforge.net/u/hjbent/</uri></author><id>https://sourceforge.net54bd957d4272e1d763f14530eca52fc53db1c5bb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In several pages the shorttag "&amp;lt;?" is used instead of "&amp;lt;?php". Also the shorthand "&amp;lt;?=" for "&amp;lt;?php echo". Both options are disabled in my setup so I had to change a lot of pages.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>prune users bug</title><link href="https://sourceforge.net/p/phpdeadlock/bugs/8/" rel="alternate"/><published>2007-07-02T06:58:50Z</published><updated>2007-07-02T06:58:50Z</updated><author><name>Christopher</name><uri>https://sourceforge.net/u/newbie455/</uri></author><id>https://sourceforge.netde80eb6f3844c710ab6b653863de785801135cb7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When the prune inactive users function is enabled, instead of accounts that have not activated their email being removed, accounts that have not yet been approved by the administrator are removed.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Relative path forced when updating .htpasswd</title><link href="https://sourceforge.net/p/phpdeadlock/bugs/7/" rel="alternate"/><published>2007-06-01T09:12:37Z</published><updated>2007-06-01T09:12:37Z</updated><author><name>stefano sartini</name><uri>https://sourceforge.net/u/ssartini/</uri></author><id>https://sourceforge.net8c1254a5f463ac0591209f8d1df8b5f563785657</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
in file global.php at line 845 we have:&lt;/p&gt;
&lt;p&gt;$htaccess_path = $_SERVER['DOCUMENT_ROOT'].$config['htaccess_path'];&lt;/p&gt;
&lt;p&gt;$htpasswd_path = $_SERVER['DOCUMENT_ROOT'].$config['htpasswd_path'];&lt;/p&gt;
&lt;p&gt;so even you have choosen not to use relative path for .htpasswd file, the script will try to prepend the document root to the full path, resulting obviously in an error when trying to write the list of users data.&lt;/p&gt;
&lt;p&gt;Moreover, since the script first delete it using correct path, the .htpasswd will be actually deleted and recreated empty.&lt;/p&gt;
&lt;p&gt;The correct code (taken few lines after) should be&lt;/p&gt;
&lt;p&gt;$htaccess_path = $_SERVER['DOCUMENT_ROOT'].$config['htaccess_path'];&lt;/p&gt;
&lt;p&gt;if($config['htpasswd_relative']=='true'){&lt;br /&gt;
$htpasswd_path = $_SERVER['DOCUMENT_ROOT'].$config['htpasswd_path'];&lt;br /&gt;
} else {&lt;br /&gt;
$htpasswd_path = $config['htpasswd_path'];&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;cheers,&lt;/p&gt;
&lt;p&gt;Stefano Sartini&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>