Fatal error adding pictures to an album

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Irene

Fatal error adding pictures to an album

Post 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
CNBorn
Forum Members
Forum Members
Posts: 21
Joined: Tue Feb 27, 2007 7:39 am

Re: Fatal error adding pictures to an album

Post 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?
CNBorn
Forum Members
Forum Members
Posts: 21
Joined: Tue Feb 27, 2007 7:39 am

Re: Fatal error adding pictures to an album

Post 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.
Locked

Return to “CMSMS Core”