Custom Query (307 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (22 - 24 of 307)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Ticket Resolution Summary Owner Reporter
#288 fixed AttributeError: 'NoneType' object has no attribute 'lower' moo ckujau
Description

How to Reproduce

While doing a GET operation on /, Trac issued an internal error.

(please provide additional details here)

User Agent was: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0

System Information

Trac 0.11.7
Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48)
[GCC 4.4.5]
setuptools 0.6
SQLite 3.7.3
pysqlite 2.4.1
Genshi 0.6
Pygments 1.3.1
Subversion 1.6.12 (r955767)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/web/main.py", line 452, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/web/main.py", line 178, in dispatch
    chosen_handler)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/web/main.py", line 298, in _pre_process_request
    chosen_handler = filter_.pre_process_request(req, chosen_handler)
  File "/usr/local/lib/python2.6/dist-packages/TracWikiNegotiator-1.6-py2.6.egg/wikinegotiator/negotiator.py", line 92, in pre_process_request
    page = self._decide_page(req)
  File "/usr/local/lib/python2.6/dist-packages/TracWikiNegotiator-1.6-py2.6.egg/wikinegotiator/negotiator.py", line 284, in _decide_page
    for lang in util.get_preferred_langs(req, self._default_lang):
  File "/usr/local/lib/python2.6/dist-packages/TracWikiNegotiator-1.6-py2.6.egg/wikinegotiator/util.py", line 112, in get_preferred_langs
    langs = _parse_langs(req.get_header('accept-language').lower()
AttributeError: 'NoneType' object has no attribute 'lower'

#70 invalid Authentication fails (user and password garbled in xcache.c::xcache_admin_auth_check()?!) moo blueyed
Description

I've just rebuilt PHP_5_2 and XCache from the 1.2 branch, but now the authentication for the admin pages fails.

I've added:
===================================================================
--- xcache.c    (Revision 357)
+++ xcache.c    (Arbeitskopie)
@@ -1558,6 +1558,8 @@
                pass = NULL;
        }

+               php_error_docref(NULL TSRMLS_CC, E_ERROR, "user: %s, password: %s", user, pass);
+               zend_bailout();
        if (user != NULL && pass != NULL && strcmp(admin_user, Z_STRVAL_PP(user)) == 0) {
                PHP_MD5_CTX context;
                char md5str[33];

And get something like:

Fatal error: xcache_count() [<a href='function.xcache-count'>function.xcache-count</a>]: user: äñT·`òT· ñT·\ÜT·, password: HòT·°òT·üñT·øàT· in /var/www/web7/web/xcache-admin/xcache.php on line 100
(The "binary blob" does change after a few request!)

Dumping $_SERVER itself in PHP does show the correct values for PHP_AUTH_USER and PHP_AUTH_PW.

I've configured XCache with just "./configure --enable-xcache --with-php-config=/usr/local/php52-fcgi/bin/php-config"

SVN trunk shows the same behaviour.

Maybe it's normal that the user/pass gets displayed as binary blob, when displayed like I've done it - but I would not expect it to change when I press F5 in the browser.

#36 fixed Bug in inherited static class variables moo Vladan Zajda
Description

Hello, There is a bug in inherited static class variable when using cached php. The value of inherited static variable is altered back to its initial value. Tested only on WinXP/PHP 5.1.6 using XCache 1.0.2 but this seems to be global bug.

Here's an example:

<?php
         
class B {
   static protected $B = 'initial value';
  
   public static function setB($value) {
      if ($value) {
         self::$B = 'different value';
      }
   }

   public function showBinB() {
      echo "static \$B in B = " . self::$B . "<br />";
   }
}

class C extends B {
   public function showBinC() {
      echo "static \$B in C = " . self::$B . "<br />";
   }    
}

B::setB(true);
$c = new C();
$c->showBinB();
$c->showBinC();

?>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Note: See TracQuery for help on using queries.