An error occurred

An error occurred; please try again later.

Message: SQLSTATE[HY000]: General error: 5 Out of memory (Needed 566886344 bytes)
array (
  'id' => '83309',
  'controller' => 'gallery',
  'action' => 'photos',
  'class' => 'profile',
  'type' => 'about',
)

Error!

ArrayObject Object
(
    [storage:ArrayObject:private] => Array
        (
            [exception] => Zend_Db_Statement_Exception Object
                (
                    [message:protected] => SQLSTATE[HY000]: General error: 5 Out of memory (Needed 566886344 bytes)
                    [string:Exception:private] => 
                    [code:protected] => 0
                    [file:protected] => /home/httpd/famegame-live/v2/library/Zend/Db/Statement/Pdo.php
                    [line:protected] => 238
                    [trace:Exception:private] => Array
                        (
                            [0] => Array
                                (
                                    [file] => /home/httpd/famegame-live/v2/library/Zend/Db/Statement.php
                                    [line] => 283
                                    [function] => _execute
                                    [class] => Zend_Db_Statement_Pdo
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => 83309
                                                )

                                        )

                                )

                            [1] => Array
                                (
                                    [file] => /home/httpd/famegame-live/v2/library/Zend/Db/Adapter/Abstract.php
                                    [line] => 430
                                    [function] => execute
                                    [class] => Zend_Db_Statement
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [0] => 83309
                                                )

                                        )

                                )

                            [2] => Array
                                (
                                    [file] => /home/httpd/famegame-live/v2/library/Zend/Db/Adapter/Pdo/Abstract.php
                                    [line] => 220
                                    [function] => query
                                    [class] => Zend_Db_Adapter_Abstract
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => SELECT count(distinct o.object_id) as total
	  			FROM objects o 
	  			JOIN object_info m ON m.object_id = o.object_id 
	  			JOIN connections_p_o cop ON cop.object_id = o.object_id LEFT JOIN tags_p_o top ON top.p_o_id = cop.p_o_id 
	  			WHERE cop.active=1 
	  			AND o.object_type_id = 3 
	  			AND cop.profile_id = ? AND (top.tag_id = 974)
                                            [1] => 83309
                                        )

                                )

                            [3] => Array
                                (
                                    [file] => /home/httpd/famegame-live/v2/library/Zend/Db/Adapter/Abstract.php
                                    [line] => 734
                                    [function] => query
                                    [class] => Zend_Db_Adapter_Pdo_Abstract
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => SELECT count(distinct o.object_id) as total
	  			FROM objects o 
	  			JOIN object_info m ON m.object_id = o.object_id 
	  			JOIN connections_p_o cop ON cop.object_id = o.object_id LEFT JOIN tags_p_o top ON top.p_o_id = cop.p_o_id 
	  			WHERE cop.active=1 
	  			AND o.object_type_id = 3 
	  			AND cop.profile_id = ? AND (top.tag_id = 974)
                                            [1] => 83309
                                        )

                                )

                            [4] => Array
                                (
                                    [file] => /home/httpd/famegame-live/v2/application/models/tables/ObjectTable.php
                                    [line] => 1751
                                    [function] => fetchOne
                                    [class] => Zend_Db_Adapter_Abstract
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => SELECT count(distinct o.object_id) as total
	  			FROM objects o 
	  			JOIN object_info m ON m.object_id = o.object_id 
	  			JOIN connections_p_o cop ON cop.object_id = o.object_id LEFT JOIN tags_p_o top ON top.p_o_id = cop.p_o_id 
	  			WHERE cop.active=1 
	  			AND o.object_type_id = 3 
	  			AND cop.profile_id = ? AND (top.tag_id = 974)
                                            [1] => 83309
                                        )

                                )

                            [5] => Array
                                (
                                    [file] => /home/httpd/famegame-live/v2/application/models/GalleryModel.php
                                    [line] => 141
                                    [function] => countPhotosRelatedTo
                                    [class] => ObjectTable
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => profile
                                            [1] => 83309
                                            [2] => 974
                                        )

                                )

                            [6] => Array
                                (
                                    [file] => /home/httpd/famegame-live/v2/application/models/GalleryModel.php
                                    [line] => 130
                                    [function] => countPhotosRelatedTo
                                    [class] => GalleryModel
                                    [type] => ::
                                    [args] => Array
                                        (
                                            [0] => profile
                                            [1] => 83309
                                            [2] => 974
                                        )

                                )

                            [7] => Array
                                (
                                    [file] => /home/httpd/famegame-live/v2/application/controllers/GalleryController.php
                                    [line] => 181
                                    [function] => countGalleryPhotos
                                    [class] => GalleryModel
                                    [type] => ::
                                    [args] => Array
                                        (
                                            [0] => profile
                                            [1] => 83309
                                            [2] => about
                                        )

                                )

                            [8] => Array
                                (
                                    [file] => /home/httpd/famegame-live/v2/library/Zend/Controller/Action.php
                                    [line] => 502
                                    [function] => photosAction
                                    [class] => GalleryController
                                    [type] => ->
                                    [args] => Array
                                        (
                                        )

                                )

                            [9] => Array
                                (
                                    [file] => /home/httpd/famegame-live/v2/library/Zend/Controller/Dispatcher/Standard.php
                                    [line] => 292
                                    [function] => dispatch
                                    [class] => Zend_Controller_Action
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => photosAction
                                        )

                                )

                            [10] => Array
                                (
                                    [file] => /home/httpd/famegame-live/v2/library/Zend/Controller/Front.php
                                    [line] => 944
                                    [function] => dispatch
                                    [class] => Zend_Controller_Dispatcher_Standard
                                    [type] => ->
                                    [args] => Array
                                        (
                                            [0] => Zend_Controller_Request_Http Object
                                                (
                                                    [_paramSources:protected] => Array
                                                        (
                                                            [0] => _GET
                                                            [1] => _POST
                                                        )

                                                    [_requestUri:protected] => /mediaGallery/83309/?type=about
                                                    [_baseUrl:protected] => 
                                                    [_basePath:protected] => 
                                                    [_pathInfo:protected] => /mediaGallery/83309/
                                                    [_params:protected] => Array
                                                        (
                                                            [id] => 83309
                                                            [controller] => gallery
                                                            [action] => photos
                                                            [class] => profile
                                                            [error_handler] => ArrayObject Object
 *RECURSION*
                                                        )

                                                    [_aliases:protected] => Array
                                                        (
                                                        )

                                                    [_dispatched:protected] => 1
                                                    [_module:protected] => default
                                                    [_moduleKey:protected] => module
                                                    [_controller:protected] => error
                                                    [_controllerKey:protected] => controller
                                                    [_action:protected] => error
                                                    [_actionKey:protected] => action
                                                )

                                            [1] => Zend_Controller_Response_Http Object
                                                (
                                                    [_body:protected] => Array
                                                        (
                                                        )

                                                    [_exceptions:protected] => Array
                                                        (
                                                            [0] => Zend_Db_Statement_Exception Object
 *RECURSION*
                                                        )

                                                    [_headers:protected] => Array
                                                        (
                                                        )

                                                    [_headersRaw:protected] => Array
                                                        (
                                                        )

                                                    [_httpResponseCode:protected] => 200
                                                    [_isRedirect:protected] => 
                                                    [_renderExceptions:protected] => 
                                                    [headersSentThrowsException] => 1
                                                )

                                        )

                                )

                            [11] => Array
                                (
                                    [file] => /home/httpd/famegame-live/v2/application/bootstrap.php
                                    [line] => 203
                                    [function] => dispatch
                                    [class] => Zend_Controller_Front
                                    [type] => ->
                                    [args] => Array
                                        (
                                        )

                                )

                            [12] => Array
                                (
                                    [file] => /home/httpd/famegame-live/v2/index.php
                                    [line] => 4
                                    [args] => Array
                                        (
                                            [0] => /home/httpd/famegame-live/v2/application/bootstrap.php
                                        )

                                    [function] => require_once
                                )

                        )

                    [previous:Exception:private] => 
                )

            [type] => EXCEPTION_OTHER
            [request] => Zend_Controller_Request_Http Object
                (
                    [_paramSources:protected] => Array
                        (
                            [0] => _GET
                            [1] => _POST
                        )

                    [_requestUri:protected] => /mediaGallery/83309/?type=about
                    [_baseUrl:protected] => 
                    [_basePath:protected] => 
                    [_pathInfo:protected] => /mediaGallery/83309/
                    [_params:protected] => Array
                        (
                            [id] => 83309
                            [controller] => gallery
                            [action] => photos
                            [class] => profile
                        )

                    [_aliases:protected] => Array
                        (
                        )

                    [_dispatched:protected] => 1
                    [_module:protected] => default
                    [_moduleKey:protected] => module
                    [_controller:protected] => gallery
                    [_controllerKey:protected] => controller
                    [_action:protected] => photos
                    [_actionKey:protected] => action
                )

        )

)