Page 1 of 1
[SOLVED] Where comes this message from?
Posted: 20 May 2009, 00:18
by nuckel
Hi,
i am using Joomla 1.5.10 and Phoca gallery 2.2.3.
I created a menu link called "Picture upload" where registered users can upload pictures.
That is working, so far so good.
Problem is:
When an unregistered user clicks on that menu-link "Picture upload" that message is shown:
"Es ist Ihnen nicht erlaubt diese Ressource einzusehen!" (german)
which means
"You are not allowed to view this ressource!".
WHERE can i find this message? Can't find it in any of the Joomla files, only in some cache-files...
This message makes not really a sense - i want exchange it to " Register first to be able to upload pictures".
Thanks for any help!
Re: Where comes this message from?
Posted: 20 May 2009, 09:37
by caro84g
Hi,
I don't know if it's a phocagallery string or a Joomla! string. If it is a phocagallery string then you can find it here:
language/en-GB/en-GB.com_phocagallery.ini (for the English file)
Regards, Carolien
Re: Where comes this message from?
Posted: 20 May 2009, 13:50
by Dottie
The way the message is written does sound like its an error rather than a information message. Would be worth asking the developers to change this in the default release?
Re: Where comes this message from?
Posted: 20 May 2009, 17:25
by nuckel
caro84g wrote:Hi,
I don't know if it's a phocagallery string or a Joomla! string. If it is a phocagallery string then you can find it here:
language/en-GB/en-GB.com_phocagallery.ini (for the English file)
Regards, Carolien
Hi Carolien,
i searched all text/source-codes of the ini-Files, all Joomla-files, all PHP-File, all Xamp-Files...
this message string is nowhere to find!
I upped a pic where it's shown. The message takes one to the joomla-login.
As one can see there also appears a number "1" - don't no either where that comes from ...

Re: Where comes this message from?
Posted: 21 May 2009, 14:12
by nuckel
No idea anyone?

Re: Where comes this message from?
Posted: 21 May 2009, 15:36
by caro84g
Hi,
I'm almost sure it's in a Joomla core language file. It might be handy to ask this to the German Joomla community translation team. I think that they know where this string is located.
Regards, Carolien
Re: Where comes this message from?
Posted: 22 May 2009, 12:48
by nuckel
I am afraid those guys would send me back to the phoca forum since it is apparently an issue with phoca gallery

:
the link that will be created looks like that: index.php?option=com_phocagallery&view=user
And that link makes registered users able to upload pics.
But if one is not registered and hits the button - that weired message shows up ...
Don't know if Jan (the author) could have a look at this?

Re: Where comes this message from?
Posted: 22 May 2009, 13:29
by caro84g
Hi,
Did you ask it?
By the way, a component developer could use language strings from the core. I think it's a general error message you'll get when you're not authorised to be on that page. I searched for it in the de-DE.com_phocagallery.ini and I couldn't find it there.
Well, you're lucky, I took my time looking it up for you. It's in de-DE.ini: (you can find this file in language/de-DE)
ALERTNOTAUTH=Es ist Ihnen nicht erlaubt diese Ressource einzusehen!
Regards, Carolien
Re: Where comes this message from?
Posted: 22 May 2009, 23:47
by nuckel

Carolien!!!
Thanks a gazillion for spending time on finding "my" error!
Me and myself spend "weeks" finding that string ...
I guess the search-function of my programm isn't working the way it should be (guess it's the equal-sing in the beginning with no space to the first letter
=Es ist... that makes the search function not working right).
Now it's working for visitors who click on the menulink: they get a recommendation to register.
Thanks again!
Greetz nuckel
