Custom Query (311 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (28 - 30 of 311)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Ticket Resolution Summary Owner Reporter
#21 invalid Apache start: xcache.so: undefined symbol: destroy_zend_function moo anonymous
Description

Hi,

I try to get Apache 2.2.2 with PHP 5.1.4 to run. Without xcache it works. Compiling xcache also works without complaints. But including xcache into php.ini results in this error at apache startup:

Failed loading /usr/local/LAMP/php/5.1.4/lib/php/extensions/no-debug-non-zts-20050922/xcache.so: /usr/local/LAMP/php/5.1.4/lib/php/ext ensions/no-debug-non-zts-20050922/xcache.so: undefined symbol: destroy_zend_function

my configuration of xcache:

  1. /usr/local/LAMP/php/5.1.4/bin/phpize --clean
  2. /usr/local/LAMP/php/5.1.4/bin/phpize
  3. ./configure --prefix=/usr/local/LAMP/xcache/1.0 \

--with-php-config=/usr/local/LAMP/php/5.1.4/bin/php-config \ --enable-xcache

Best regards,

Christian

#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.

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