[Solved] 0 - Not Authorised! en-GB

Threads related to Joom!Fish 2.0.x that were already resolved
Forum rules
Do not start new topics in this forum. This forum is for threads that are resolved and moved from the bug reporting forum.

[Solved] 0 - Not Authorised! en-GB

Postby manilaenglish on Mon Sep 14, 2009 4:28 pm

I installed the American language pack and then disabled the British language pack that is installed by default. When I do that I get a 0 - Not Authorised! en-GB error message. I have already set the American language to the default language and set all my articles to American English. I also read through the forums and the only suggestion is to clear the browser's cache and cookies. I have already done that and tried viewing the site on an entirely different computer with the same result. This is NOT a browser or cache or cookie issue. I have tried it with Internet Explorer and Firefox and on different computers.

Is it impossible to NOT have British English on the front-end? This is extremely frustrating.
manilaenglish
Newbee
 
Posts: 10
Joined: Mon Sep 14, 2009 11:21 am

Re: 0 - Not Authorised! en-GB

Postby manilaenglish on Mon Sep 14, 2009 5:43 pm

I uninstalled Joom!Fish and kept my Joomla default language settings as en-US. I checked the meta tag information from the source code on my website and see that it is indeed set to en-US. All the links on my site worked fine so I felt confident enough to remove the en-GB language installation completely. After removing the en-GB language package that comes with Joomla 1.5, I checked my site again and everything still works fine. So then I decided to try to install Joom!Fish 2.0.2 again, but now I get an installation error!

* It was not possible to copy the selected file.
* JInstaller::install: Failed to copy file: /home/manila/public_html/1/tmp/install_4aae5f4268b45/JoomFish2.0.3/manifest.xml to /home/manila/public_html/1/administrator/components/com_joomfish/manifest.xml
* Component Install: Could not copy setup file

Now this was not an issue before. No file permission settings have changed. Just to be sure, I checked the components directory permission settings. It is set to 755. I think that is sufficient access for Joomla, isn't it? So I can only conclude that Joom!Fish is HARD CODED to work exclusively with en-GB!

I will have to unzip the Joom!Fish files on my computer now just so I can go through all those php files looking for evidence of this. Such a headache.
manilaenglish
Newbee
 
Posts: 10
Joined: Mon Sep 14, 2009 11:21 am

Re: 0 - Not Authorised! en-GB

Postby manilaenglish on Mon Sep 14, 2009 6:12 pm

Using notepad++ I searched and found 61 instances of en-GB so I changed them all to en-US. Then I found two files with the en-GB name which I renamed to en-US. After rezipping and trying to install I'm still getting the same error.

* It was not possible to copy the selected file.
* JInstaller::install: Failed to copy file: /home/manila/public_html/1/tmp/install_4aae69228803a/manifest.xml to /home/manila/public_html/1/administrator/components/com_joomfish/manifest.xml
* Component Install: Could not copy setup file

So this error is probably not related to the language file. I will first try temporarily changing the permissions to 777 and install again and if that doesn't work, search the internet to see if someone else has solved that problem, and failing that, post a new topic in the forum.

In the meantime, I have undoubtably confirmed that British English is in fact hard coded into JoomFish. If you want to remove British English from your site, it isn't easy.
manilaenglish
Newbee
 
Posts: 10
Joined: Mon Sep 14, 2009 11:21 am

Re: 0 - Not Authorised! en-GB

Postby manilaenglish on Mon Sep 14, 2009 6:57 pm

Changing permissions to 777 didn't work.

I played with it a lot. I even manually created the com_joomfish directory and placed the manifest.xml file there myself. But that just caused a 404 error when I tried to use joomfish. Finally, I decided to copy en-GB back over and install the original Joom!fish 2.0.3 file. Like magic it installed perfectly without any manifest.xml errors. Strange.

I checked the html meta tag on my site and sure enough lang is set to en-GB even though en-US is set as default in Joomla!!

Oh my gosh. Back to where we began! Who's idea was it to hard code en-GB anyway? What a total mess.
manilaenglish
Newbee
 
Posts: 10
Joined: Mon Sep 14, 2009 11:21 am

Re: 0 - Not Authorised! en-GB

Postby manilaenglish on Mon Sep 14, 2009 7:52 pm

Half Solved

I learned that the manifest.xml error was being caused by JoomFish trying to install language files to administrator\language\en-GB, but I had deleted that directory in favor of the en-US directory. So when I finally realized this, I found an en-US back-end language pack, installed it, then went through and changed the rest of the en-GB file names from the JoomFish 2.0.3 zip folder that I didn't know about before. That fixed the installation problem. It installed perfectly. No manifest.xml errors or anything. So if anyone has a problem with not being able to "copy" manifest.xml file, that isn't true. It has nothing to do with permissions settings. It just means that it cannot install a file because that file doesn't exist. I suppose if you didn't have the right permissions set on those other folders though, that could cause that error too.

So the installation went smoothly, however even though I used notepad++ to automatically find and replace 61 instances of en-GB with en-US, the lang meta field in my website is still showing up as en-GB. grrrrrr. I feel like I've almost cracked this thing though. I definitely understand a whole lot more than I ever cared to know about how Joomla works under the hood now. At least when it comes to file structure.

One small error that has crept up since changing everything over to en-US is that in Joom!Fish Control panel, instead of the title, this is showing up "JOOMFISH_TITLE :: JOOMFISH_HEADER"

And in the 'information' section the following is showing up along with a button that reads "Join the Joom!Fish club"
INFORMATION_TEXTINFORMATION_CLUB_TITLEjoin the Joom!Fish ClubINFORMATION_CLUBINFORMATION_SERVICE_TITLEINFORMATION_SERVICE

My guess is that is being caused by my changing everything to en-US automatically instead of manually. There is probably a file I missed somewhere that is called en-GB (or now it's en-US) that didn't get copied over and didn't get flagged by manifest. But, it's an error that might point me in the right direction as to where to look for that extra bit of meta tag encoding I'm apparently missing. At least I can use notepad++ to search for this bit of code.

Hopefully I'll have this figured out tonight. And then if anybody wants to take British English out of JoomFish, now you'll know how to do it!
manilaenglish
Newbee
 
Posts: 10
Joined: Mon Sep 14, 2009 11:21 am

Re: 0 - Not Authorised! en-GB

Postby manilaenglish on Mon Sep 14, 2009 10:11 pm

SOLVED

After hours of reprogramming, Joom!Fish now defaults to American English.

However, that was completely pointless because the original problem I posted here viewtopic.php?f=28&t=5078 with still isn't resolved. When I write a translation, the translated article shows up as the original article and the original article shows up as the translated article except with the message "There are no translations available." under the article title.

What an utter waste of time. Joom!Fish sucks. I'm uninstalling it. What a terrible program. Total waste of time!
manilaenglish
Newbee
 
Posts: 10
Joined: Mon Sep 14, 2009 11:21 am

Re: 0 - Not Authorised! en-GB

Postby hormigacapoeira on Thu Oct 29, 2009 7:11 pm

Hi

I am using Joomla 1.5.14 + fish 2.0.3 with Joomla 1.5 built-in SEF enabled using Apache mod_rewrite - not using suffix

I have GB language that came with the joomla installer I used + ES 1.5.9 front end pack (uploaded)
I use GB for backend. (no other packs installed for backend)

Here´s the story :

1- I installed Joomla 1.5.14 + fish 2.0.3 with Joomla 1.5 built-in SEF enabled using Apache mod_rewrite - not using suffix
2- installed ES 1.5.9 front end package and set it to front end default language
3- tested site navigation and It was working perfectly - joomfish was using my default language.
4- at some point it stop working (I am still wondering why) fish was using GB as default despite my joomla settings
* I have tried to solved this issue, but after hours of frustration I finally gave up and decided to reinstall the whole thing
5- I reapeated steps 1,2,3 and it was working again :)
6- I installed JoomlaPack 2.3.3 Plus in order to backup my working fish. Run backup succesfully.
7- I run JoomlaPack restore in order to test it and guess what ? Now joomfish is GB default again - WTF :shock: :( :?

In the joomla extension site http://extensions.joomla.org/extensions/460/details
Alex Kempkens stated

Did you just installed a new language pack of en-US and set this to default in your site? The default language is clearly not fixed in Joom!Fish.
...
Joom!Fish is serving well for huge websites with a couple of languages, if they would have these kind of problems we would not be where we are. Looking forward talking to you and improving the tutorials.

Alex


Well It makes sense, but does anyone know why would joomfish ignore my joomla language settings ?

I do not have enough time to explore the whole code looking for a way to hardcode joomfish with ES as default .
If you could point me to variable or variables I need to change as workaround I would appreciate it !

Thank you
hormigacapoeira
Newbee
 
Posts: 2
Joined: Thu Oct 29, 2009 5:45 pm

Re: 0 - Not Authorised! en-GB

Postby hormigacapoeira on Thu Oct 29, 2009 7:38 pm

SOLVED

under jfrouter plugin set new user language to = use site default language

in your browser delete the following cookie = jfcookie[lang]

refresh browser and that´s it. :lol:

regards
hormigacapoeira
Newbee
 
Posts: 2
Joined: Thu Oct 29, 2009 5:45 pm

Re: [Solved] 0 - Not Authorised! en-GB

Postby robaminima on Thu Feb 18, 2010 11:30 am

SOLVED
I spent my last two days and two nights in Webland desert, banging my head on that solid matter. My brain dried up and I almost died of thirst, till I finally came upon this post, a water source for a desperate man.
Thanks, Thanks a lot.
robaminima
Newbee
 
Posts: 1
Joined: Thu Feb 18, 2010 11:11 am

Re: [Solved] 0 - Not Authorised! en-GB

Postby Pilu36 on Tue Jun 12, 2012 4:20 pm

Hi hormigacopeira!

I have also 2 days of finding solutions, and your suggestion seems to be clear and easy to follow. But I don't see 'jfrouter' plugin among my plugins. OK, it is already 2012, and I have trouble with Joomfish 2.2.3. on a Joomla! 1.5.22....
I think I have checked all permissions, everything is allowed, my language pack is GB default, so I really do not know what else to check...
Pilu36
Newbee
 
Posts: 3
Joined: Mon Jun 11, 2012 4:23 pm

Next

Return to Joom!Fish 2.0.x Stable Solved Threads

Who is online

Users browsing this forum: No registered users and 0 guests