search function broken after upgrading to 1.4-pl2 from 1.3.3

Mulder
Mulder's picture

Joined: 2003-10-13
Posts: 5
Posted: Mon, 2003-10-13 16:55

After upgrading my gallery to 1.4-pl2 from 1.3.3 and upgrading all the albums, the search function returns nothing! It used to work just fine in 1.3.3 :( Has anybody else updated to 1.4-pl2 and faced this problem? Any help would be appreciated :wink:

My gallery URL is: http://66.227.110.150/~mulder/xania/xania-meetings/
Gallery version: as I said 1.4-pl2
PHP version: 4.1.2
Apache version: Apache/1.3.27
Graphics Toolkit: NetPBM
Operating system: Linux 2.4.18-17.7.x
Web browser/version (if applicable): IE 6.0SP1

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Mon, 2003-10-13 17:22

Hmm, it's the cyrillic characters that it's having trouble with:
http://elli.irc.gr/~mulder/xania/xania-meetings/search.php?searchstring=RAGE
works fine.

Moving to translations forum.

 
Mulder
Mulder's picture

Joined: 2003-10-13
Posts: 5
Posted: Mon, 2003-10-13 19:48

Well search only works with capital letters then :-?
You see the captions contain greek characters so I thought I could edit the nls.php file, modifying
$nls['default']['charset'] = 'ISO-8859-1';
to the Greek-ISO charset which is
$nls['default']['charset'] = 'ISO-8859-7';

Though doing so the captions appear in greek now, the search only works with capital letters.
Before doing anything even MORE lame (apparently I'm no PHP guru), I'll just wait for your reply :)

 
Mulder
Mulder's picture

Joined: 2003-10-13
Posts: 5
Posted: Mon, 2003-10-13 23:54

It seems that this is not relevant to the change I've made to nls.php. I've changed it back to its original content and the search problem persists. Search only works if the query is in capital letters. What should I do? Is it a 1.4-pl2 bug or it's just me? Note that the contents are not 100% in Greek, most of them are just IRC nicks in English.

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Tue, 2003-10-14 06:10

Mulder,

This certainly looks like a bug to me. Jens is our language/translation expert, so I am hoping he will look at this problem shortly.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2003-10-14 14:48

Hi Mulder,

i am not sure what this might be :(
i will dive a bit into the code and search for a Solution.
I basically think its an encoding problem.

There is one user who started a greek translation. Maybe this helps ...

Regards,

Jens

 
Mulder
Mulder's picture

Joined: 2003-10-13
Posts: 5
Posted: Tue, 2003-10-14 15:21

I set up a new gallery a few hours ago, from scratch, even to a different account (but on the same machine). I did *NOT* edit any files this time I just configured it and uploaded 4 fotos, with english names and captions. The search still doesn't work. Maybe it's a bug after all?
The test gallery is located here:
http://elli.irc.gr/~demmy/gallery/
Has anybody installed 1.4-pl2 and search works ok?