Custom Query (266 matches)
Results (43 - 45 of 266)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #52 | fixed | Problem with adodb when use pdo_mysql driver | moo | safari |
| description |
Code: <?
require_once(dirname(__FILE__).'/adodb/adodb-exceptions.inc.php');
require_once(dirname(__FILE__).'/adodb/adodb.inc.php');
echo "<BR>before";
$conn =& NewADOConnection("pdo_mysql://user:pwd@localhost/dbname?persist");
var_dump($conn);
?>
When not use xCache, will see "before" and the dump of $conn value. I guess that xCache has problem when compiling/caching file adodb-pdo.inc.php or adodb-pdo_mysql.inc.php. When the error happened, the file adodb-pdo.inc.php was compiled/cached, but adodb-pdo_mysql.inc.php was not. This bug also happened with eaccelerator, wonder why? (use the same code/idea???); but worked fine with APC. |
|||
| #53 | worksforme | 500 error with Wordpress | moo | johnleach |
| description |
Hi, I'm seeing a 500 error returned in Wordpress. It is fixed with either a restart of the php fastcgi processes, or clearing the xcache cache from the xcache admin page. It is not with all Wordpress pages, so far I've seen it when posting a comment. Posting comments works fine for a few hours/days then consistently returns a 500 error. This is with php5-cgi 5.1.2-1ubuntu3.4 package on Ubuntu Dapper running as a fastcgi process under lighttpd. It's with xcache 1.1.0 compiled from source (and observed from at least xcache trunk svn r262). I get no error output from php (to the error_log or php stderr) when accessing the broken page (though I know php error logging to be working). I think the php script causing the problem is wp-comments-post.php but I've got a couple of comment related plugins installed, such as Akismet and a threaded comments plugin. I've got other Wordpress installations on the same box which *reportedly* had the same problem (but at different times), though I've not seen it myself. I'm getting no coredump on the error. root@mule:~# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-awt=gtk-default
--enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
--enable-mpfr --disable-werror --with-tune=pentium4
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
root@mule:~# php-cgi -v
PHP 5.1.2 (cgi-fcgi) (built: Nov 2 2006 12:24:48)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with XCache v1.1.0, Copyright (c) 2005-2006, by mOo
|
|||
| #54 | fixed | 1.2.0-rc1 does not compile on Solaris 10 with native m4 | moo | toha |
| description |
$ uname -a SunOS xxx 5.10 Generic_118855-19 i86pc i386 i86pc $ gcc -v Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) # /opt/local/bin/phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 # ./configure --prefix=/opt/local --enable-xcache --with-php-config=/opt/local/bin/php- config[[BR]] checking for egrep... egrep checking for a sed that does not truncate output... /opt/csw/bin/gsed checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether gcc and cc understand -c and -o together... yes checking if compiler supports -R... yes checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 checking target system type... i386-pc-solaris2.10 checking for PHP prefix... /opt/local checking for PHP includes... -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib checking for PHP extension directory... /opt/local/lib/php/extensions/no-debug-non-zts-20060613 checking for PHP installed headers prefix... /opt/local/include/php checking for re2c... no configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking for XCache support... yes, shared checking for XCache handle of compile time constant... yes checking for XCache optimizer... no checking for XCache coverager... no checking for XCache assembler... no checking for XCache disassembler... no checking for XCache encoder... no checking for XCache decoder... no checking for XCache self test... no checking for XCache self test... no checking for gawk... /opt/csw/bin/gawk checking for m4... /usr/ccs/bin/m4 checking for grep... /usr/bin/grep checking for sed... /opt/csw/bin/gsed checking for indent... /opt/SUNWspro/bin/indent checking if you have opcode_spec_def.h for XCache... no checking for ld used by gcc... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for /usr/ccs/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/ccs/bin/nm -p checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking the maximum length of command line arguments... 262144 checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no configure: creating ./config.status config.status: creating config.h root@web:/opt/src/xcache# gmake gcc -I. -I/opt/src/xcache -DPHP_ATOM_INC -I/opt/src/xcache/include -I/opt/src/xcache/main -I/opt/src/xcache -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -E /opt/src/xcache/includes.c -o ./includes.i ./structinfo.m4 is optional if XCache test is not enabled, feel free if it awk failed to produce it LANG=C /opt/csw/bin/gawk -f /opt/src/xcache/mkstructinfo.awk < ./includes.i > ./structinfo.m4.tmp && mv -f ./structinfo.m4.tmp ./structinfo.m4 /usr/ccs/bin/m4 -D srcdir="/opt/src/xcache" -D builddir="." /opt/src/xcache/processor/main.m4 > ./processor.out.tmp /usr/ccs/bin/m4:/opt/src/xcache/processor/main.m4:/opt/src/xcache/processor/head.m4:40 bad macro name define(ONCE errprint(`AUTOCHECK INFO: runtime autocheck Disabled (optimized build) ')) gmake: *** [processor.out] Error 1 |
|||

