Page 1 of 1

Fatal error adding pictures to an album

Posted: Tue Jun 26, 2007 9:36 am
by Irene
I've installed cms 1.0.8 and Photoalbum 0.9.2.
Every thing seamed fine.

When adding pictures to an album I get the error message:

****
Fatal error: Only variables can be passed by reference in /home/httpd/vhosts/zugvoegel.ch/httpdocs/modules/Album/lib.browsepictures.php on line 163
****

Thanks in advance

Re: Fatal error adding pictures to an album

Posted: Sat Jul 28, 2007 7:33 pm
by CNBorn
same problem, I tested Album module on 1.04, 1.08, 1.1, none of them works, all the same error.

Here is the lines (163-165)

Code: Select all

$this->smarty->assign_by_ref('titlename', $this->Lang('name'));
// Fix bug [#718] missing lang strings cause crash
// $this->smarty->assign_by_ref('titlehasthumb', $this->Lang('hasthumb'));
Once I thought that may be the fault of missing lang string just like the comment below.

I switched all the language settings to English, but nothing happen, This error still comes...

I have changed permission just like the Installation of Album Module told. Is there still anything I can do?

Re: Fatal error adding pictures to an album

Posted: Sat Jul 28, 2007 7:48 pm
by CNBorn
JUST TESTED:

I changed line 163 to

Code: Select all

$this->smarty->assign_by_ref('titlename', $name);
for a test.

It shows up!

after added write permission to uploads/images in order to upload images, It works very well!

Hope this would be fixed in upcoming release.