Member
Member
op351com   2009-02-10, 01:03
#1

After upgrade from 1.2.2 to 1.2.3 my gallery now is full of weird characters!!! As a matter of fact some data in database is not being translated when output on web page. All titles of albums and sub-albums are now like:

a:2:{s:5:"en_US";s:18:"Travelling At Home";s:5:"pt_PT";s:22:"Viagens Na Minha Terra";}

when I should only have either [b]Travelling At Home[/b] or [b]Viagens Na Minha Terra[/b] depending on selected language. I'd appreciate some help...

Member
Member
sbillard   2009-02-10, 01:33
#2

Please upgrade to the nightly build. This is caused by an error in the handling of language strings in a new function for supporting front end editing of any album/image field.

Member
Member
op351com   2009-02-10, 22:28
#3

Thanks Stephen, it worked!

Now, a new error comes up by clicking the SEARCH key up in the search form:

Fatal error: Call to a member function getFolder() on a non-object in /my/server/path/photo/zp-core/template-functions.php on line 3713

line 3713 is:

echo $prev."getFolder())."&lang=".$lang."\" rel=\"nofollow\">".$linktext."$icon".$next;

but if I make it

echo $prev."".$linktext."$icon".$next;

the error disappears!! Very messy this upgrade to 1.2.3 :-(((
Awaiting your wise comments...

Member
Member
sbillard   2009-02-10, 23:20
#4

That error is an indication that printRSSLink() is being called improperly. It is being told it is to process an album, but the $_zp_current_album variable seems to not be set.

What theme/page is this happening on?

Member
Member
op351com   2009-02-11, 08:29
#5

It was happening on StopDesign but after I replaced

albumname=".urlencode($_zp_current_album->getFolder())."

by

albumname=".urlencode(getAlbumTitle())."

is no longer happening. Of course this was detected in the [i]night build[/i] I used to overcome my initial problem.

Administrator
Administrator
acrylian   2009-02-11, 10:47
#6

We need to know what theme page, index.php, album.php, image.php the error occured. The type of rss link above is actually correct but will only work on image.php or album.php if an album is set. (it's the rss link to get the items of a specific album).

Member
Member
op351com   2009-02-11, 20:52
#7

In every page you have the search form!

Member
Member
sbillard   2009-02-12, 02:48
#8

Ok, that RSS should not be on the search page. We will eliminate it.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.