mambelfish/joomfish not working after 1.04 patch

How to support more than one language on your site.

Moderator: General Support Moderators

Forum rules
Locked
chaosvg
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Sun Sep 11, 2005 5:50 pm

mambelfish/joomfish not working after 1.04 patch

Post by chaosvg » Wed Nov 23, 2005 9:43 pm

Since most mambelfish users like myself gave up on hoping for any support from alex, I hope I might find some answers here.

After upgrading to 1.04:
- some content translations are loaded when switching language, others are not.
- page navigation looks like this (at least in dutch): PN_LT_PN_LT Begin _PN_LT Vorige Volgende _PN_RT Einde _PN_RT_PN_RT
- doing a site search, these warnings are displayed:
Warning: array_keys(): The first argument should be an array in /home/***/domains/***.be/public_html/components/com_mambelfish/classes/mambelfish.class.php on line 167
Warning: Invalid argument supplied for foreach() in /home/***/domains/***.be/public_html/components/com_mambelfish/classes/mambelfish.class.php on line 167

I don't mean to be disrespectfull, but it seems like mf users are left in the cold for months now (since long before joomla). I suppose this will be the next fix-it-yourself issue I (we) 've encountered.
Thing is: once a website goes multi-lingual there's is no way back. I would never have got into this if I knew what kind of troubles were on the way...

regards
cvg

tr34ser
Joomla! Intern
Joomla! Intern
Posts: 80
Joined: Wed Nov 16, 2005 3:28 pm

Re: mambelfish/joomfish not working after 1.04 patch

Post by tr34ser » Thu Nov 24, 2005 12:11 am

.-.

jpetrov
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Thu Aug 18, 2005 8:41 am

Re: mambelfish/joomfish not working after 1.04 patch

Post by jpetrov » Thu Nov 24, 2005 9:02 am

No IT Doesn't work. Starting from Joomla 1.0.4 we need a new searchbot.

What you actually did was delete 1.0.4 index files with old 4.5.2 ones.

tr34ser
Joomla! Intern
Joomla! Intern
Posts: 80
Joined: Wed Nov 16, 2005 3:28 pm

Re: mambelfish/joomfish not working after 1.04 patch

Post by tr34ser » Thu Nov 24, 2005 11:27 am

1.
yes it MIGHT be a security thing, but i can life with it (backups).

2.
the search mosbot is part of it, and i didnt use the search.

3.
Its possbile to run the mambelfish under 1.04!

cheers
Last edited by tr34ser on Thu Nov 24, 2005 11:29 am, edited 1 time in total.
.-.

User avatar
alexhokamp
Joomla! Guru
Joomla! Guru
Posts: 723
Joined: Sun Nov 20, 2005 7:04 pm
Location: Germany
Contact:

Re: mambelfish/joomfish not working after 1.04 patch

Post by alexhokamp » Thu Nov 24, 2005 4:05 pm

Yes, tried it out, everything is fine except the searchbot. So everyone who does not need the bot will be ok, but can please someone figure out a way to fix the searchbot for the ones who need it, at least temporarily, until we all can enjoy the new Joom!Fish ...

User avatar
Tonie
Joomla! Master
Joomla! Master
Posts: 16553
Joined: Thu Aug 18, 2005 7:13 am

Re: mambelfish/joomfish not working after 1.04 patch

Post by Tonie » Thu Nov 24, 2005 4:12 pm

The PN_LT_PN_LT error has nothing to do with whatever version of fish. It means that you don't have the updated language pack. You can find a location to a Dutch language pack here: http://forum.joomla.org/index.php/topic ... #msg120575.

You can also ask about Mambofish on the Dutch forums. There is at least one user there who has it working under Joomla, though I don't know if he updated his site to 1.0.4 yet or us using the search bot.

walb
Joomla! Guru
Joomla! Guru
Posts: 824
Joined: Thu Aug 18, 2005 9:46 am

Re: mambelfish/joomfish not working after 1.04 patch

Post by walb » Fri Nov 25, 2005 11:02 am

I have mambelfish running with 1.0.4, systembot and the mbf searchbot (unmodified) running.
All of it works. Not any core hacks done.

I got also those warnings of mbf as reported in the begining of this thread,  but they seem harmless. It does not prevent the operation of MBF.
You can lower the PHP reporting level of your Joomla at the global configuration->server.

Or what I did; changed mambelfish.class.php to test if $rows was set and returned if not.

User avatar
alexhokamp
Joomla! Guru
Joomla! Guru
Posts: 723
Joined: Sun Nov 20, 2005 7:04 pm
Location: Germany
Contact:

Re: mambelfish/joomfish not working after 1.04 patch

Post by alexhokamp » Fri Nov 25, 2005 1:38 pm

Yes, everything works fine, but did you try to search for a translated content? In my installation, everything works fine, except searching for translated content. The searchbot will not find any content except the ones of the original language set in the backend for the site.

chaosvg
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Sun Sep 11, 2005 5:50 pm

Re: mambelfish/joomfish not working after 1.04 patch

Post by chaosvg » Fri Nov 25, 2005 1:43 pm

Hi al ...

I was able to fix the navigation issue, it was indeed language-file related.

I have an additional problem, I don't know if it's mf related:
I have two newsflash modules on my frontpage. I'm not sure if this happened after the 1.04 update, but these modules won't display a 'read more' link anymore.
When I set the site to max error reporting, this error appears:

Code: Select all

Notice: Undefined variable: hrefVars in /home/***/domains/***.be/public_html/components/com_mambelfish/mambelfish.html.php on line 154
btw I'm not using the mf-bot to have mf running on a joomsite: I patch the index and index2 files with the relevant mf code.

cvg

User avatar
alexhokamp
Joomla! Guru
Joomla! Guru
Posts: 723
Joined: Sun Nov 20, 2005 7:04 pm
Location: Germany
Contact:

Re: mambelfish/joomfish not working after 1.04 patch

Post by alexhokamp » Fri Nov 25, 2005 1:53 pm

Maybe you can find some more infos here http://forum.joomla.org/index.php/topic ... #msg119739

walb
Joomla! Guru
Joomla! Guru
Posts: 824
Joined: Thu Aug 18, 2005 9:46 am

Re: mambelfish/joomfish not working after 1.04 patch

Post by walb » Fri Nov 25, 2005 2:17 pm

@alexhokamp

Yes, it even displays also the language of the content with it.
Just visited your site in the backend and I could not find this mambot  multi lingual content searchbot
It seems not to be installed. At least I could not find it.

@chaosvg
Your problem is new to me. I can only think of incorrect patched index and index2 files.
Does it prevent mambelfish from proper working? It is only a notice.

chaosvg
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Sun Sep 11, 2005 5:50 pm

Re: mambelfish/joomfish not working after 1.04 patch

Post by chaosvg » Fri Nov 25, 2005 2:29 pm

@walb
My problem with the readon links seems to be new to the whole community  :-\ I can't find anything relating to this and it's getting me very nervous
But: really not sure if it's mf related/1.04 related http://forum.joomla.org/index.php/topic,20855.0.html

What i did try before is replacing the patched files with the original 1.04 files. (and removing  mosLoadComponent( 'mambelfish' ) from the template. It had the same result on the newsflash module.

I'll attach the patched files. (I think it's a patch you provided on this forum)

cvg
You do not have the required permissions to view the files attached to this post.
Last edited by chaosvg on Fri Nov 25, 2005 2:31 pm, edited 1 time in total.

tr34ser
Joomla! Intern
Joomla! Intern
Posts: 80
Joined: Wed Nov 16, 2005 3:28 pm

Re: mambelfish/joomfish not working after 1.04 patch

Post by tr34ser » Fri Nov 25, 2005 2:39 pm

@Chaosvg
Can u plz open a new topic with the newsflash "read more" issue, its not mbf related.
And did you checked your site cfg to show the read more link?
And try to dublicate the newsflash module again.
Or try the xtd news comp/module which is even more detailed (category,section, values). You can find this with a search @ mamboforge.net

cheers
Last edited by tr34ser on Fri Nov 25, 2005 2:42 pm, edited 1 time in total.
.-.

walb
Joomla! Guru
Joomla! Guru
Posts: 824
Joined: Thu Aug 18, 2005 9:46 am

Re: mambelfish/joomfish not working after 1.04 patch

Post by walb » Fri Nov 25, 2005 2:41 pm

@chaosvg
The read more seems to be known issue and is in the bugtracker
http://developer.joomla.org/sf/go/artf2253?nav=1
Also check this discussion
http://forum.joomla.org/index.php/topic,20122.0.html

To me it has nothing to do with mbf

User avatar
alexhokamp
Joomla! Guru
Joomla! Guru
Posts: 723
Joined: Sun Nov 20, 2005 7:04 pm
Location: Germany
Contact:

Re: mambelfish/joomfish not working after 1.04 patch

Post by alexhokamp » Fri Nov 25, 2005 2:44 pm

@walb

I uninstalled the searchbot from mabelFish, because it did not serve any purpose if it is not installed. but if someone got a fix for it, i will install it back.

chaosvg
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Sun Sep 11, 2005 5:50 pm

Re: mambelfish/joomfish not working after 1.04 patch

Post by chaosvg » Fri Nov 25, 2005 2:50 pm

@walb

thanks for pointing me there

User avatar
alexhokamp
Joomla! Guru
Joomla! Guru
Posts: 723
Joined: Sun Nov 20, 2005 7:04 pm
Location: Germany
Contact:

Re: mambelfish/joomfish not working after 1.04 patch

Post by alexhokamp » Fri Nov 25, 2005 3:03 pm

@walb

installed the searchobot back ... nothing changed ...

walb
Joomla! Guru
Joomla! Guru
Posts: 824
Joined: Thu Aug 18, 2005 9:46 am

Re: mambelfish/joomfish not working after 1.04 patch

Post by walb » Fri Nov 25, 2005 3:08 pm

alexhokamp
I just visited your site again and published the search bot and looked for 'wollte'
And it worked....

User avatar
alexhokamp
Joomla! Guru
Joomla! Guru
Posts: 723
Joined: Sun Nov 20, 2005 7:04 pm
Location: Germany
Contact:

Re: mambelfish/joomfish not working after 1.04 patch

Post by alexhokamp » Fri Nov 25, 2005 3:14 pm

hey, where did you get that searchbot from? thanks a lot ... you've got a link or so to the bot?

User avatar
alexhokamp
Joomla! Guru
Joomla! Guru
Posts: 723
Joined: Sun Nov 20, 2005 7:04 pm
Location: Germany
Contact:

Re: mambelfish/joomfish not working after 1.04 patch

Post by alexhokamp » Fri Nov 25, 2005 3:18 pm

@walb

Now I know that I drink too much coffee, PUBLISH IT. That's it, I take a break ... Forget the simplest things ... :'(

walb
Joomla! Guru
Joomla! Guru
Posts: 824
Joined: Thu Aug 18, 2005 9:46 am

Re: mambelfish/joomfish not working after 1.04 patch

Post by walb » Fri Nov 25, 2005 3:23 pm

No comment  :laugh:

User avatar
consigliere
Joomla! Explorer
Joomla! Explorer
Posts: 365
Joined: Fri Sep 02, 2005 10:23 pm
Location: Mazatlan, Sinaloa, Mexico
Contact:

Re: mambelfish/joomfish not working after 1.04 patch

Post by consigliere » Fri Nov 25, 2005 7:36 pm

I have working joomla 1.0.4 with mambelfish in my site, but if I have the searchbot installed or not, when I do a search site it works perfect, shows me the search results but, I got this warnings, even if I turn off the system error displays...

Warning: array_keys(): The first argument should be an array in W:\www\joomla\components\com_mambelfish\classes\mambelfish.class.php on line 164

Warning: Invalid argument supplied for foreach() in W:\www\joomla\components\com_mambelfish\classes\mambelfish.class.php on line 164

how can I get rid of this warnings without affecting the mambelfish good performance I have?
Last edited by consigliere on Fri Nov 25, 2005 7:47 pm, edited 1 time in total.

User avatar
consigliere
Joomla! Explorer
Joomla! Explorer
Posts: 365
Joined: Fri Sep 02, 2005 10:23 pm
Location: Mazatlan, Sinaloa, Mexico
Contact:

Re: mambelfish/joomfish not working after 1.04 patch

Post by consigliere » Fri Nov 25, 2005 7:50 pm

walb wrote: I have mambelfish running with 1.0.4, systembot and the mbf searchbot (unmodified) running.
All of it works. Not any core hacks done.

I got also those warnings of mbf as reported in the begining of this thread,  but they seem harmless. It does not prevent the operation of MBF.
You can lower the PHP reporting level of your Joomla at the global configuration->server.

Or what I did; changed mambelfish.class.php to test if $rows was set and returned if not.
do you already have the solution?

walb
Joomla! Guru
Joomla! Guru
Posts: 824
Joined: Thu Aug 18, 2005 9:46 am

Re: mambelfish/joomfish not working after 1.04 patch

Post by walb » Sat Nov 26, 2005 10:02 am

As said before I did not really solve it but prevented it from throwing a warning.
I just added this line before line 164
if (!isset($rows)) return;
The solution is deeper because that function 'translateList' is called with no $rows specified. I did not investigate the cause that. Since mbf did work OK.
There are several liitle flaws within mambelfish as you may have found in the forum. PHP version problems
Even the lttle mbf search bot has a flaw. The search results are returned twice. Just by adding DISTINCT right after the SELECT statement will correct it.

The following thread goes deeper into the problems and solutions http://forum.joomla.org/index.php/topic,8785.0.html

I did not go that far and only solved the things that bothered me.
For that reason I made the mbf system bot and I use already a different version to be prepared for Joomla.1.1  8)
But for some reason I would be more happy if it was released by Alex to tighten the gap between MBF and Joomla.
In general mambelfish works OK

jpetrov
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Thu Aug 18, 2005 8:41 am

Re: mambelfish/joomfish not working after 1.04 patch

Post by jpetrov » Sun Nov 27, 2005 4:41 am

I did it! I forced it to work - no additional changes!

All I had to do is to delete the bot from the mambot list, install it again and publish it. It even works better then before! (It was not language-selective in searches, and now it works just fine).

Guys and girls, check if you could do this on your installs??
Last edited by jpetrov on Sun Nov 27, 2005 4:53 am, edited 1 time in total.

Vin Mariani
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Sat Nov 26, 2005 11:06 pm

Re: mambelfish/joomfish not working after 1.04 patch

Post by Vin Mariani » Sun Nov 27, 2005 4:53 pm

jpetrov wrote: I did it! I forced it to work - no additional changes!

All I had to do is to delete the bot from the mambot list, install it again and publish it. It even works better then before! (It was not language-selective in searches, and now it works just fine).

Guys and girls, check if you could do this on your installs??
Didn't work for me on a fresh install, I followed the steps in consigliere's Mimi-howto
( http://forum.joomla.org/index.php/topic,20940.0.html )
I still get the warnings after doing a search.

Did you make additional changes?

jpetrov
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Thu Aug 18, 2005 8:41 am

Re: mambelfish/joomfish not working after 1.04 patch

Post by jpetrov » Sun Nov 27, 2005 5:09 pm

I forgot this step - I unpublished the sections search bot. You can still search the contents. This has eliminated the errors. Play with the search bots (publish/unpublish) one by one and see what happens.

Vin Mariani
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Sat Nov 26, 2005 11:06 pm

Re: mambelfish/joomfish not working after 1.04 patch

Post by Vin Mariani » Sun Nov 27, 2005 5:18 pm

jpetrov, that did it!  :D

I unpublished the "Search Sections" bot and the errormessages are gone.

Thanks!!

jpetrov
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Thu Aug 18, 2005 8:41 am

Re: mambelfish/joomfish not working after 1.04 patch

Post by jpetrov » Sun Nov 27, 2005 5:21 pm

no problems... joomla stands for community :)


Locked

Return to “Joom!Fish and Multilingual Sites”