"Array can't be parsed" after upgrade from 2.1.2 to 2.2.1

tichy

Joined: 2007-04-16
Posts: 1
Posted: Mon, 2007-04-16 15:12

Gallery version 2.2.1
PHP version 4.4.4-8+etch1 apache2handler
Webserver Apache/2.2.3 (Debian) WebGUI/7.3.14 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_apreq2-20051231/2.6.0 mod_perl/2.0.2 Perl/v5.8.8
Database mysql 5.0.32-Debian_7etch1-log
Toolkits ImageMagick, Thumbnail, NetPBM, Gd
Operating system Linux nichtsospannend.de 2.6.17.13-vs2.0.2.1 #1 Fri Sep 29 04:06:27 CEST 2006 i686
Browser Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

After upgrading from 2.1.2 only very few Admin-functions still work.

Most die with:

"Error Detail -
Error (ERROR_BAD_PARAMETER) : Array can't be parsed

* in modules/core/classes/GalleryView.class at line 149 (gallerycoreapi::error)
* in modules/core/SiteAdmin.inc at line 196 (galleryview::loadview)
* in modules/core/classes/GalleryView.class at line 300 (siteadminview::loadtemplate)
* in main.php at line 441 (siteadminview::doloadtemplate)
* in main.php at line 94
* in main.php at line 83
* in main.php at line 3
"

Could anyone give me a hint?

Yours
Tom

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-04-16 19:36

weird. looks like you're using a wrong URL to access your site admin area.

1. please clear your db / template caches:
FAQ: How can I clear cached data?

2. you can access your site admin are with the following url:
main.php?g2_view=core.SiteAdmin

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Pibi

Joined: 2008-02-14
Posts: 2
Posted: Thu, 2008-02-14 17:24

Hi vailant

I have the same problem since upgrade Gallery to version 2.2.4.
I cleared the cache, but get allways the same error message if I start admin functions.

the url "/main.php?g2_view=core.SiteAdmin&g2_subView=Array&g2_navId=x1587965f" produces following error

Quote:
Error (ERROR_BAD_PARAMETER) : Array can't be parsed
in modules/core/classes/GalleryView.class at line 149 (GalleryCoreApi::error)
in modules/core/SiteAdmin.inc at line 196 (GalleryView::loadView)
in modules/core/classes/GalleryView.class at line 300 (SiteAdminView::loadTemplate)
in main.php at line 445 (GalleryView::doLoadTemplate)
in main.php at line 94
in modules/core/classes/GalleryEmbed.class at line 179
in /home/smartmem/public_html/html/modules/gallery/blocks/xg2Blocks.php at line 342 (GalleryEmbed::handleRequest)
in /home/smartmem/public_html/html/class/xoopsblock.php at line 192
in /home/smartmem/public_html/html/class/theme_blocks.php at line 137 (XoopsBlock::buildBlock)
in /home/smartmem/public_html/html/class/theme_blocks.php at line 92 (xos_logos_PageBuilder::buildBlock)
in /home/smartmem/public_html/html/class/theme_blocks.php at line 36 (xos_logos_PageBuilder::retrieveBlocks)
in /home/smartmem/public_html/html/class/theme.php at line 232 (xos_logos_PageBuilder::xoInit)
in /home/smartmem/public_html/html/class/theme.php at line 62 (xos_opal_Theme::xoInit)
in /home/smartmem/public_html/html/header.php at line 65 (xos_opal_ThemeFactory::createInstance)
in /home/smartmem/public_html/html/modules/gallery/index.php at line 14

The gallery is embedded into XOOPS and I get only the Site-Admin-Sidebar (block) with admin links by calling it embedded. If I start the site administration direct from main.php, the sidebar is empty. How can I activate the admins block in G2? Perhaps the error is a side effect from embedding.

Tnx for any hints

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2008-02-15 12:52

@Pibi:
let's remove xoops from the equation for now. let's first get your gallery working in standalone as it should.
please access your gallery directly (gallery2/main.php).

> If I start the site administration direct from main.php, the sidebar is empty.

do you mean you get a blank page?
see: FAQ: I get only a blank screen when trying to view my Gallery, what's wrong?

also see: FAQ: How can I make sure that my installation files are all intact?

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Pibi

Joined: 2008-02-14
Posts: 2
Posted: Tue, 2008-02-19 21:31

Thank you valiant for your reply

I have done both of your hints, but there are still the same problems.
-cleared the cache
-validated the installation
-...
but I cant't call the most of admin links.

Searching this forum gives me many links with same/similar problems.
Here is one http://gallery.menalto.com/node/59633 who has really the same problem and also no solution.

tnx again

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2008-02-20 01:55

if you can send me your url/admin/password/ftp access via private message, i could look into it.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage