Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

White login screen - proxy connection

By
Ben oit
on 7/31/13, 7:36 AM 1,773 views

When login locally on openerp, everything is fine. When I login remotely, through an http proxy I get the following error message The Chrome and Firefox console show the same error message :

Resource interpreted as Script but transferred with MIME type text/html: "http://MyOpenErpServer:8069/web/webclient/js".
js:1  - Uncaught SyntaxError: Unexpected token <
:8069/:12 - Uncaught ReferenceError: $ is not defined

Here is the firt part of code that is said to cause the issue (for the poste I replaced "://www" by ":--www" because of karma and links)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http:--www.w3.org/TR/html4/loose.dtd">
<html>

Here is the second part of code that is said to cause the issue

<script type="text/javascript">
    $(function() {
        var s = new openerp.init(["web", "web_kanban", "base", "base_setup", "mail", "board", "hr", "process", "email_template", "edi", "account", "account_voucher", "hr_expense", "web_diagram", "web_graph", "web_view_editor", "web_calendar", "share", "auth_signup", "portal", "web_tests", "web_gantt"]);
        var wc = new s.web.WebClient();wc.appendTo($(document.body));
    });
</script>

The server has been installed through synology package repositery, the issue was there, and then I updated openerp within the app, but it didn't solve the issue.

It's really weird, I can login remotetly with my smartphone, but using the network of the big company (my client) It doesn't work.

Can someone provide any help on this?

Ben oit: Facing same problem have you get any solution ??

Jagdish Panchal
on 2/17/14, 2:54 AM
0
Ben oit
On 2/17/14, 12:49 PM

I now access OpenERP using port 80 (public port) and it works. Not the best solution I know but this is all I found. Let me know what you do.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 7/31/13, 7:36 AM
Seen: 1773 times
Last updated: 3/16/15, 8:10 AM