Custom Query (312 matches)


Show under each result:

Results (43 - 45 of 312)

Ticket Resolution Summary Owner Reporter
#249 invalid Cannot create shm in Unknown on line 0 moo 100matolog

[01-Jul-2010 11:17:31] PHP Fatal error: Failed creating file mapping in Unknown on line 0 [01-Jul-2010 11:17:31] PHP Fatal error: XCache: Cannot create shm in Unknown on line 0

I compile Xcache for php on MacOS Snow (Darwin Kernel Version 10.2.0: Tue Nov 17 01:24:40 EST 2009; annappirtrvh v2:xnu-1486.2.11/BUILD/obj/RELEASE_I386 i386)

And that what I get

bash-3.2# /usr/local/bin/php -v /dev/zero: Operation not supported by device Failed creating file mapping PHP 5.2.13 (cli) (built: Jun 29 2010 16:12:17) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

with XCache v1.3.0, Copyright (c) 2005-2009, by mOo

bash-3.2# sysctl -a | grep shm kern.sysv.shmmax: 4194304 kern.sysv.shmmin: 1 kern.sysv.shmmni: 32 kern.sysv.shmseg: 8 kern.sysv.shmall: 1024 machdep.pmap.hashmax: 50 security.mac.posixshm_enforce: 1 security.mac.sysvshm_enforce: 1

How can I fix it ?

#65 fixed Cannot redeclare class moo coredump

I'm getting the following error message in the Apache error log while running vBulletin 3.6.4.

PHP Fatal error:  Cannot redeclare class vb_datamanager_user
 in /home/path-removed/includes/class_dm_user.php on line 31, referer: http://domain-removed/showthread.php?t=13755

A snippet from class_dm_user.php looks like:

if (!class_exists('vB_DataManager'))

define('SALT_LENGTH', 3);

class vB_DataManager_User extends vB_DataManager # <- line #31

#195 fixed Cannot redeclare () in FILENAME moo ester.anemer@…

I have no problem with my code until I restart apache with I have my functions in conditional statements that state to include it only once. I am still using PHP 4 and xcache 1.0.3.

Please advise! Thank you!

Note: See TracQuery for help on using queries.