Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2007-06-28 23:45:36

Guilherme Blanco
New member
Registered: 2007-02-05
Posts: 6

Xinha does not load (same app works on other server)

Hi,

I moved a project from one place to another and Xinha stopped working.
The working project is here:

http://200.168.90.70/proex/Web/admin
U: teste
P: password

Go to "Notícias" (News) and then click on "Adicionar" (Add).
The language is Portuguese Brazilian. smile


I moved the same project to the definite server:

http://www.proex.ufscar.br/nova/Web/admin
U: teste
P: password

Same steps as before.


You'll see that Xinha does not load now.
I have no clue what's going on and I need to mention I do not have the access to definite server configuration.
I am really desperate, since this project is my Graduation Conclusion Work. If I can't get this running, I'll be lost. =\


Thanks in advance,


Best regards,

Guilherme Blanco

Last edited by Guilherme Blanco (2007-06-28 23:50:49)

Offline

#2 2007-06-29 04:48:45

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: Xinha does not load (same app works on other server)

This is in fact as you might have guessed a server configuration issue. Xinha loads its language files using XMLHttpRequest. For security reasons this works only for requests the same server. Now it happens that some language files are not found, your server should send a 404 and everything's OK, no translated strings, but at least it works in English. BUT the server instead sends a 302 redirect to a different server, and there it quits because of the aforementioned security reason. This is wrong behaviour, quite simply; you might want to tell the administrator about that.

Now you have to take several steps to solve this:
1. Get yourself Firebug to see what's going on smile
2. change _editor_lang from "pt" to "pt_br", as there are no translations for pt but there are for pt_br
3. Use Firebug in your working installation to check whether there are any 404's left (in the Net tab). If there still are, you will have no other choice than to translate the missing plugins (send in the translations then)

I hope you can make it smile

Offline

#3 2007-06-29 09:39:48

Guilherme Blanco
New member
Registered: 2007-02-05
Posts: 6

Re: Xinha does not load (same app works on other server)

Hi ray,

Thanks for the input.
I suspect that was a redirection error, but I could not found it in Firebug (I didn't remember where to go to check for redirections).

I see there're still some other missing translations... I think I'll have to make them! smile


Just curious... where do I post the translations?


Thanks, you have no idea how much you helped me.


Regards,

Last edited by Guilherme Blanco (2007-06-29 10:57:16)

Offline

Board footer

Powered by FluxBB