Closed rejsmont closed 11 years ago
@bergie can you look into this?
Sorry that I cannot be more specific, but in the console I just see these messages. The website just renders with zero content. It is possible that it might be a midgard bug...
Here is backend config from config.yml. Data directory is writable for php and contains sqlite db file.
doctrine_phpcr: session: backend: type: midgard2 db_type: SQLite db_name: cmf db_dir: "%kernel.root_dir%/data" db_init: true blobdir: "%kernel.root_dir%/data/blobs" workspace: default username: %midgard_user% password: %midgard_password%
@rejsmont PHP version? How's midgard installed? It looks like midgard schema is loaded twice.
u0078517@dme-mac-0039 ~ $ php -v PHP 5.3.12 (cli) (built: Jun 1 2012 14:24:55)
midgard installed with MacPorts:
u0078517@dme-mac-0039 ~ $ port installed | grep midgard2 midgard2-core @10.05.7.1_0 (active) php5-midgard2 @10.05.7_0 (active)
the midgard conf file has not been changed (its vendor default)
midgard is loaded in php via extension=midgard2.so
Temporarily switched to jackrabbit and everything rolls fine...
Platform-specific issue?
well its definitely an issue specific to Midgard .. it could be caused by different repositories: PHPCR ODM, DoctrinePHPCRBundle, Midgard
@rejsmont can you run any php cli code (might be echo "";) with midgard extension loaded in ini file? This is for sure not schemas issue, as in such case midgard core throws error which aborts runtime.
@piotras Here you go:
rejsmont@dme-mac-0039 ~ # php -r 'phpinfo();' phpinfo() PHP Version => 5.3.12
System => Darwin dme-mac-0039.med.ad10.intern.kuleuven.ac.be 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64 Build Date => Jun 1 2012 14:24:33 [...] midgard2
Midgard2 Support => enabled Midgard2 version => 10.05.7.1 mgd_version mgd_is_guid
MgdSchema technology support => enabled Midgard2 version => 10.05.7.1
This program makes use of the Midgard Content Management engine:
© 1998-2001 The Midgard Project Ry
© 2002-2009 The Midgard Community
Directive => Local Value => Master Value midgard.configuration => no value => no value midgard.configuration_file => no value => no value midgard.engine => On => On midgard.glib_loghandler => Off => Off midgard.http => Off => Off midgard.memory_debug => Off => Off midgard.superglobals_compat => Off => Off midgard.valgrind_friendly => Off => Off [...]
This issue should be fixed with this commit: https://github.com/piotras/midgard-php5/commit/b1e9c65a8af9dd7575e788f05a634ea41f1ed62d
app/console doctrine:phpcr:register-system-node-types PHP Fatal error: Class mix_shareable cannot implement previously implemented interface MidgardBaseInterface in Unknown on line 0 PHP Fatal error: Class mix_shareable cannot implement previously implemented interface MidgardBaseMixin in Unknown on line 0
Successfully registered system node types.