Can't access installed Gallery3

dexi

Joined: 2014-03-31
Posts: 2
Posted: Mon, 2014-03-31 10:51

Hi,
I installed a fresh Gallery 3. After the installation I get this message everytime I try to access the page.

Quote:
Platform information

Host name: ---
Operating system: Linux 3.2.0-4-amd64
Apache: Unknown
PHP: 5.4.4-14+deb7u8
MySQL: 5.5.35-0+wheezy1
Server load: 0.15 0.07 0.06
Graphics toolkit: gd
Gallery stats

Version: 3.0.9 (Chartres)
Albums: 0
Photos: 0
InvalidArgumentException [ 0 ]:
Passed variable is not an array or object, using empty array instead
MODPATH/gallery/helpers/theme.php[ 106 ]

101 }
102
103 static function get_info($theme_name) {
104 $theme_name = preg_replace("/[^a-zA-Z0-9\._-]/", "", $theme_name);
105 $file = THEMEPATH . "$theme_name/theme.info";
106 $theme_info = new ArrayObject(parse_ini_file($file), ArrayObject::ARRAY_AS_PROPS);
107 $theme_info->description = t($theme_info->description);
108 $theme_info->name = t($theme_info->name);
109
110 return $theme_info;
111 }
MODPATH/gallery/helpers/theme.php[ 106 ] » ArrayObject->__construct( arguments )

MODPATH/gallery/libraries/Theme_View.php[ 46 ] » theme_Core::get_info( arguments )

MODPATH/gallery/controllers/albums.php[ 63 ] » Theme_View_Core->__construct( arguments )

MODPATH/gallery/controllers/albums.php[ 22 ] » Albums_Controller->show( arguments )

{PHP internal call} » Albums_Controller->index()

SYSPATH/core/Kohana.php[ 331 ] » ReflectionMethod->invokeArgs( arguments )

{PHP internal call} » Kohana_Core::instance( arguments )

SYSPATH/core/Event.php[ 208 ] » call_user_func_array( arguments )

APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( arguments )

DOCROOT/index.php[ 116 ] » require( arguments )

Ths log output looks like this:

Quote:
2014-03-31 10:38:49 +00:00 --- error: InvalidArgumentException [ 0 ]: Passed variable is not an array or object, using empty array instead
/var/customers/webs/exile/gallery/modules/gallery/helpers/theme.php [ 106 ]
#0 /var/customers/webs/exile/gallery/modules/gallery/helpers/theme.php(106): ArrayObject->__construct(NULL, 2)
#1 /var/customers/webs/exile/gallery/modules/gallery/libraries/Theme_View.php(46): theme_Core::get_info('wind')
#2 /var/customers/webs/exile/gallery/modules/gallery/controllers/albums.php(63): Theme_View_Core->__construct('page.html', 'collection', 'album')
#3 /var/customers/webs/exile/gallery/modules/gallery/controllers/albums.php(22): Albums_Controller->show(Object(Item_Model))
#4 [internal function]: Albums_Controller->index()
#5 /var/customers/webs/exile/gallery/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Object(Albums_Controller), Array)
#6 [internal function]: Kohana_Core::instance(NULL)
#7 /var/customers/webs/exile/gallery/system/core/Event.php(208): call_user_func_array(Array, Array)
#8 /var/customers/webs/exile/gallery/application/Bootstrap.php(67): Event_Core::run('system.execute')
#9 /var/customers/webs/exile/gallery/index.php(116): require('/var/customers/...')
#10 {main}

Does anybody have an idea why this is not working?

thx

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2014-03-31 13:33
 
dexi

Joined: 2014-03-31
Posts: 2
Posted: Tue, 2014-04-01 10:27

Thank you it worked. There was a function disabled in php mandatory for gallery 3.