Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error after install and single post and threaded comments #4

Open
seanculver opened this issue Dec 15, 2011 · 0 comments
Open

Comments

@seanculver
Copy link

Hi Jon,

I've installed sphere using commit commit 7062bfb on November 09, 2011

My Localserver

MAMP 2.0.1
PHP 5.3.6
MongoDB 2.0

The way I installed was to clone the project from this github repo then ran the following commands

git submodule init
git submodule update

I didn't need to change anything with the db settings.

Registered a new user.

Everything seems to work fine until I add a new post (1) no errors.

Make two comments. One that replies to my own comment.

After that any access to the homepage and any tag you set for the post has the following fatal error.

I also can't run the tests either. Maybe this is a problem with my local setup?

The error I get and stack trace is.

Fatal error: Maximum function nesting level of '100' reached, aborting! in /Applications/MAMP/htdocs/sphere/libraries/lithium/data/Model.php on line 999
Call Stack
#   Time    Memory  Function    Location
1   0.0002  633248  {main}( )   ../index.php:0
2   0.0204  4800176 lithium\action\Dispatcher::run( )   ../index.php:41
3   0.0204  4802288 lithium\core\StaticObject::_filter( )   ../Dispatcher.php:123
4   0.0204  4804792 lithium\util\collection\Filters::run( ) ../StaticObject.php:126
5   0.0205  4808832 {closure}( )    ../Filters.php:183
6   0.0414  6501696 lithium\util\collection\Filters->next( )    ../action.php:51
7   0.0414  6501744 lithium\action\{closure}( ) ../Filters.php:202
8   0.0425  6625760 lithium\core\StaticObject::invokeMethod( )  ../Dispatcher.php:122
9   0.0425  6625808 lithium\action\Dispatcher::_call( ) ../StaticObject.php:75
10  0.0425  6627688 lithium\core\StaticObject::_filter( )   ../Dispatcher.php:225
11  0.0425  6628096 lithium\action\{closure}( ) ../StaticObject.php:119
12  0.0425  6628096 lithium\action\Controller->__invoke( )  ../Dispatcher.php:222
13  0.0425  6630856 lithium\core\Object->_filter( ) ../Controller.php:192
14  0.0425  6631296 lithium\action\{closure}( ) ../Object.php:238
15  0.0557  8218896 lithium\action\Controller->render( )    ../Controller.php:189
16  0.0559  8223304 lithium\net\http\Media::render( )   ../Controller.php:259
17  0.0559  8238352 lithium\core\StaticObject::_filter( )   ../Media.php:576
18  0.0559  8238752 lithium\net\http\{closure}( )   ../StaticObject.php:119
19  0.0560  8244776 lithium\core\StaticObject::invokeMethod( )  ../Media.php:575
20  0.0560  8245352 lithium\net\http\Media::_handle( )  ../StaticObject.php:75
21  0.0560  8249352 lithium\core\StaticObject::_filter( )   ../Media.php:733
22  0.0560  8249752 lithium\net\http\{closure}( )   ../StaticObject.php:119
23  0.0573  8291944 lithium\template\View->render( )    ../Media.php:729
24  0.0574  8298944 lithium\template\View->_step( ) ../View.php:272
25  0.0574  8305736 lithium\core\Object->_filter( ) ../View.php:310
26  0.0574  8306168 lithium\template\{closure}( )   ../Object.php:238
27  0.0576  8306728 lithium\template\view\adapter\File->render( )   ../View.php:308
28  0.0578  8357056 include( '/Applications/MAMP/htdocs/sphere/views/search/latest.html.php' )  ../File.php:111
29  0.0578  8357160 lithium\data\collection\DocumentSet->rewind( )  ../DocumentSet.php:0
30  0.0578  8357160 lithium\data\Collection->rewind( )  ../DocumentSet.php:124
31  0.0578  8357256 lithium\data\collection\DocumentSet->_populate( )   ../Collection.php:189
32  0.0582  8368432 lithium\data\source\MongoDb->cast( )    ../DocumentSet.php:185
33  0.0583  8371976 lithium\data\source\mongo_db\Exporter::cast( )  ../MongoDb.php:805
34  0.0583  8376432 lithium\data\source\mongo_db\Exporter::_cast( ) ../Exporter.php:61
35  0.0584  8378968 lithium\data\Source->item( )    ../Exporter.php:100
36  0.0584  8382664 lithium\core\Object->_instance( )   ../Source.php:281
37  0.0584  8382712 lithium\core\Libraries::instance( ) ../Object.php:213
38  0.0584  8385488 lithium\core\{closure}( )   ../Libraries.php:631
39  0.0598  8668352 lithium\data\Entity->__construct( ) ../Libraries.php:628
40  0.0598  8670144 lithium\core\Object->__construct( ) ../Entity.php:130
41  0.0598  8671400 lithium\data\entity\Document->_init( )  ../Object.php:93
42  0.0598  8673640 lithium\data\entity\Document->set( )    ../Document.php:95
43  0.0600  8675816 lithium\data\source\MongoDb->cast( )    ../Document.php:303
44  0.0600  8679424 lithium\data\source\mongo_db\Exporter::cast( )  ../MongoDb.php:805
45  0.0607  8757752 lithium\data\source\mongo_db\Exporter::_cast( ) ../Exporter.php:61
46  0.0608  8760592 lithium\data\Source->item( )    ../Exporter.php:100
47  0.0608  8763144 lithium\core\Object->_instance( )   ../Source.php:281
48  0.0608  8763192 lithium\core\Libraries::instance( ) ../Object.php:213
49  0.0608  8765976 lithium\core\{closure}( )   ../Libraries.php:631
50  0.0608  8767864 lithium\data\Collection->__construct( ) ../Libraries.php:628
51  0.0608  8769232 lithium\core\Object->__construct( ) ../Collection.php:106
52  0.0608  8770384 lithium\data\collection\DocumentArray->_init( ) ../Object.php:93
53  0.0608  8770384 lithium\data\Collection->_init( )   ../DocumentArray.php:41
54  0.0609  8770872 lithium\data\source\MongoDb->cast( )    ../Collection.php:121
55  0.0609  8774416 lithium\data\source\mongo_db\Exporter::cast( )  ../MongoDb.php:805
56  0.0609  8778840 lithium\data\source\mongo_db\Exporter::_cast( ) ../Exporter.php:61
57  0.0609  8781608 lithium\data\Source->item( )    ../Exporter.php:100
58  0.0609  8784928 lithium\core\Object->_instance( )   ../Source.php:281
59  0.0609  8784976 lithium\core\Libraries::instance( ) ../Object.php:213
60  0.0610  8787920 lithium\core\{closure}( )   ../Libraries.php:631
61  0.0610  8789808 lithium\data\Entity->__construct( ) ../Libraries.php:628
62  0.0610  8791600 lithium\core\Object->__construct( ) ../Entity.php:130
63  0.0610  8792856 lithium\data\entity\Document->_init( )  ../Object.php:93
64  0.0610  8794552 lithium\data\entity\Document->set( )    ../Document.php:95
65  0.0611  8796896 lithium\data\source\MongoDb->cast( )    ../Document.php:303
66  0.0611  8800672 lithium\data\source\mongo_db\Exporter::cast( )  ../MongoDb.php:805
67  0.0613  8810992 lithium\data\source\mongo_db\Exporter::_cast( ) ../Exporter.php:61
68  0.0613  8813808 lithium\data\Source->item( )    ../Exporter.php:100
69  0.0613  8816360 lithium\core\Object->_instance( )   ../Source.php:281
70  0.0613  8816408 lithium\core\Libraries::instance( ) ../Object.php:213
71  0.0613  8819192 lithium\core\{closure}( )   ../Libraries.php:631
72  0.0614  8821080 lithium\data\Collection->__construct( ) ../Libraries.php:628
73  0.0614  8822448 lithium\core\Object->__construct( ) ../Collection.php:106
74  0.0614  8823600 lithium\data\collection\DocumentArray->_init( ) ../Object.php:93
75  0.0614  8823600 lithium\data\Collection->_init( )   ../DocumentArray.php:41
76  0.0615  8824088 lithium\data\source\MongoDb->cast( )    ../Collection.php:121
77  0.0615  8827864 lithium\data\source\mongo_db\Exporter::cast( )  ../MongoDb.php:805
78  0.0615  8832536 lithium\data\source\mongo_db\Exporter::_cast( ) ../Exporter.php:61
79  0.0615  8835312 lithium\data\Source->item( )    ../Exporter.php:100
80  0.0616  8838632 lithium\core\Object->_instance( )   ../Source.php:281
81  0.0616  8838680 lithium\core\Libraries::instance( ) ../Object.php:213
82  0.0616  8841624 lithium\core\{closure}( )   ../Libraries.php:631
83  0.0616  8843512 lithium\data\Entity->__construct( ) ../Libraries.php:628
84  0.0616  8845304 lithium\core\Object->__construct( ) ../Entity.php:130
85  0.0616  8846560 lithium\data\entity\Document->_init( )  ../Object.php:93
86  0.0616  8848256 lithium\data\entity\Document->set( )    ../Document.php:95
87  0.0617  8850608 lithium\data\source\MongoDb->cast( )    ../Document.php:303
88  0.0618  8854384 lithium\data\source\mongo_db\Exporter::cast( )  ../MongoDb.php:805
89  0.0623  8868288 lithium\data\source\mongo_db\Exporter::_cast( ) ../Exporter.php:61
90  0.0623  8870840 lithium\data\Source->item( )    ../Exporter.php:100
91  0.0623  8873496 lithium\core\Object->_instance( )   ../Source.php:281
92  0.0623  8873544 lithium\core\Libraries::instance( ) ../Object.php:213
93  0.0623  8876320 lithium\core\{closure}( )   ../Libraries.php:631
94  0.0624  8878208 lithium\data\Entity->__construct( ) ../Libraries.php:628
95  0.0624  8880000 lithium\core\Object->__construct( ) ../Entity.php:130
96  0.0624  8881256 lithium\data\entity\Document->_init( )  ../Object.php:93
97  0.0624  8882456 lithium\data\entity\Document->set( )    ../Document.php:95
98  0.0624  8883424 lithium\data\Model::connection( )   ../Document.php:303
99  0.0624  8883424 lithium\data\Model::_object( )  ../Model.php:936

Cheers,
Sean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant