Infite Loop in Links in Markers of PhocaMaps

Phoca Maps - displaying maps in Joomla! CMS
MenschMarcus
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Sep 2011, 12:57

Infite Loop in Links in Markers of PhocaMaps

Post by MenschMarcus »

Hello friends of PhocaMaps,

First I need to say that I really love this little tool. It makes things for me as a traveller with a travel blog so much easier! :)

But I am having a little problem: I am developing my website on the localhost right now, I embedded a travel map in an article "My Travel Route". On this map there are markers of places I travelled to. In the description of these markers I created a link to the article I wrote about that travel destination (e.g. by clicking on Barcelona, the marker opens with the link to the "Barcelona" article.

When I click on that link in the frontend, the websites loads for about 3 seconds, nothing happens. Then The window says: "error loading page". The URL is:

Code: Select all

"http://localhost/joomla/index.php/de/index.php/de/[... about 50 times "index.php/de/" ...]/travels/index.php?option=com_content&view=article&id=86:8-barcelona&catid=43:spain&Itemid=151"
And the error message is: "Redirection Error: The Website redirects the request in that way, that it never can be ended. This problem sometimes appears, if Cookies are deactivated or rejected." (free translation from German Firefox)

That looks like an infinite loop. How can I solve that problem?

Thank you very much!

Cheers,
Marcus
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Infite Loop in Links in Markers of PhocaMaps

Post by Jan »

Hi, seems like on your site you have some problem with the path creating, in the path there is 2x /de/ which maybe causes the problems. So try to recheck the links you are adding the the articles.

Jan
If you find Phoca extensions useful, please support the project
MenschMarcus
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Sep 2011, 12:57

Re: Infite Loop in Links in Markers of PhocaMaps

Post by MenschMarcus »

No, that is not the problem. I changed the URL several times and trying different ways. But the URL is always becoming:

http://localhost/joomla/index.php/de/in ... index.php/[... 50 times the same ...]/streifzuege/index.php?option=com_content&view=article&id=86:8-malta&catid=43:spanien-malta&Itemid=151

I can specify it a little bit more: When I set a link to that certain article about Malta in a normal article and inspect it with Firebug. the href in the anchor-tag looks like that:

Code: Select all

href="/joomla/index.php/de/streifzuege/spain-malta-2010/86-8-malta"
When I inspect now the link in the marker of the PhocaMap, the href in the anchor-tag looks like this:

Code: Select all

href="index.php?option=com_content&view=article&id=86:8-malta&catid=43:spanien-malta&Itemid=151" 
If I know copy the upper link into the link of the marker of the PhocaMap, then it works for some reason :)
So that solves it. But the problem is still: if I choose the article with the "link 2.0.12"-tool then it doesn't work. So I need to copy/paste a little bit more ;)

Thank you very much for your help, I appreciate it!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Infite Loop in Links in Markers of PhocaMaps

Post by Jan »

Hi, not sure but seems like this issue is related more the article vs. SEF settings in Joomla! Try to remove the numbers from aliases - some servers have problems while translating alias if it includes numbers.

Jan
If you find Phoca extensions useful, please support the project
MenschMarcus
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Sep 2011, 12:57

Re: Infite Loop in Links in Markers of PhocaMaps

Post by MenschMarcus »

Yah, the problem appeared only on the local host. When I put my website to the real server it all worked out!

By the way: I needed to re-enter all maps and markers as I found no way to copy them from my localhost. Is there a possibility to do so? Because in all the other joomla components and modules it worked. Just PhocaMaps was "empty"

Thank you for your help!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Infite Loop in Links in Markers of PhocaMaps

Post by Jan »

By the way: I needed to re-enter all maps and markers as I found no way to copy them from my localhost. Is there a possibility to do so? Because in all the other joomla components and modules it worked. Just PhocaMaps was "empty"
Sorry I don't understand - just export/import database via phpmyadmin or other utils. For now I don't know any extension of Joomla! which have a copy feature from localhost to server :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply