5.1RC3 with Gallery2
| From: | Alan Harder | Date: | Wed, 19 Oct 2005 01:26:02 +0000 |
| Subject: | 5.1RC3 with Gallery2 | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-26189@lists.php.net to get a copy of this message | ||
Hi-
Apologies in advance for not having time to track down in any detail
what is happening, but I thought I should still report this problem I
hit using PHP 5.1RC3 with Gallery2 (current CVS). Note that I didn't
encounter any problems with the Gallery2 installer, but got this error
trying to display the application right after install.
http://parity.menalto.com/~mindless/phpinfo.php
http://parity.menalto.com/~mindless/g2/main.php
The error is:
Fatal error: Cannot use object of type GalleryTemplateAdapter as array in /..path../smarty/templates_c/%%404975595/%%55^55E^55E14245%%SystemLinks.tpl.php on line 14
That line has:
<?php echo $this->_reg_objects['g'][0]->url(array('params' => $this->_tpl_vars['link']['params']), $this);?>
I get very odd behavior with accessing variables here.. above that line
I added:
<?php $x = $this->_reg_objects['g'][0]; var_dump($x); ?>
and it reported NULL. I changed it to:
<?php $x = $this->_reg_objects['g'][0]; $z = $this->_reg_objects['g'][0]; var_dump($x); ?>
and it printed the GalleryTemplateAdapter object... ??
So, not much to go on here, but I hope reporting it may prompt
further investigation..
- Alan