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[ 41 ] » 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 )
SYSPATH/core/Event.php[ 208 ] » Kohana_Core::instance( arguments )
APPPATH/Bootstrap.php[ 67 ] » Event_Core::run( arguments )
DOCROOT/index.php[ 102 ] » require( arguments )
Posts: 27300
you go that message during the the install?
Looks to me like some files got corrupt of not all there. or perhaps some functions are disabled in our PHP configuration.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 35
thanks for the reply Dave.
Yes, after entering the sql details, the next window showed the above error.
If some functions are disabled how can I know that ? I have an un-managed vps using kloxo
Posts: 16504
First, I'd try uploading the files again to make sure nothing is corrupt. Heck, don't even use FTP, just SSH into your box and wget the files directly, then unpack them and try again.
On a default install, there is only 1 theme that ships with G3 (well 2 technically) Wind (and admin_wind)
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 35
Thanks Nive, I used ssh this time around.
I again did that and again I had the same prob.
Actually I got the gallery admin login, after that the next page when I try to view gallery/ it gives the above error. It happened the same way earlier occasion too
what can I do ?
Posts: 16504
Either post a link to phpinfo or verify that you have everything installed listed here:
http://codex.gallery2.org/Gallery3:User_guide:Gallery3:Installing_and_upgrading#Before_you_start_.2F_System_requirements
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 35
Thanks for the reply again Nive, I don't know how to post a link to phpinfo :o
I had cross checked the server requirements with my host ,
they gave me the following answer:
******************
I can ensure that all the server setups are meeting the gallery2 requirements. Unfortunately we do not support for any such third party script installations even scripts other than some usual wordpress which we can get assistance from their community.
We are recommending you to remove the old installation and install it anew.
********************
I actually re-installed twice and nothing seems to progress at the moment
do u want to look into my server nive ? I can pm u my server logins.
Posts: 35
I just took a look into the logs folder in var and here was the content:
Posts: 16504
Here are instructions for creating a phpinfo page:
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 35
Nive, I was able to sort out the issue. Now the gallery works fine.
The owner/group permission of files was causing the issue, its a little problem with kloxo, had to chown to make it work.
Thanks Nive & Dave for your time in helping me out
Posts: 27300
Care to create some docs/instructions/tutorial so others can benefit?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 35
Dave, I am not sure how to do that exactly as my host helped me out even though they are un-managed provider, as courtesy of me being a good client for over half-an-year
And this doesn't happen to all kloxo users, for some it does happen like mine and for some it doesn't.
All I know is my host followed a procedure similar to this : http://forum.lxcenter.org/index.php?t=msg&goto=86892&&srch=chown+-R#msg_86892