Fork me on GitHub

Announcement

The oneye project has been discontinued. You might not expect further fixes and support from us. All community related systems are set to read-only mode. Though feel free to download and use oneye as-is or even fork it over at GitHub.

#1 2011-07-29 11:00:44

eveline
Member
Registered: 2011-07-29
Posts: 14

RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

Hi there,

After installing the eyeRoundCube app on EyeOS 1.9 on debian squeeze, I get this when I try to start it:

"rawjs console.log(Base64.decode("PGJvZHkgb25sb2FkPSJkb2N1bWVudC5nYWlhX2xvZ2luZm9ybS5zdWJtaXQoKTsiPjxmb3JtIG5hbWU9ImdhaWFfbG9naW5mb3JtIiBhY3Rpb249Imh0dHA6Ly93ZWJtYWlsLmxlZ2VhcmR3ZWIuY29tL2luZGV4LnBocD9fdGFzaz1tYWlsIiBtZXRob2Q9InBvc3QiPjxpbnB1dCBjbGFzcz0iZ2FpYSBsZSBidXR0b24iIHR5cGU9ImhpZGRlbiIgbmFtZT0ic2lnbkluIiB2YWx1ZT0iQ29ubmV4aW9uIiAvPjwvZm9ybT4="));"

What would be the solution for this?

Thanks for any reply!

Regards,

Eveline.

Offline

#2 2011-07-30 12:49:58

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

Here's a simple eyeRoundCube rewrite (but without eyePass integration...):

http://projects.lars-sh.de/eyeRoundCube.eyepackage


Best regards,
Lars Knickrehm

The oneye project.

Offline

#3 2011-07-31 12:12:27

eveline
Member
Registered: 2011-07-29
Posts: 14

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

Thanks, will try that after my two-week vacation.

lars-sh wrote:

Here's a simple eyeRoundCube rewrite (but without eyePass integration...):

http://projects.lars-sh.de/eyeRoundCube.eyepackage

Offline

#4 2011-08-16 14:34:39

eveline
Member
Registered: 2011-07-29
Posts: 14

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

Thanks, though that doesn't work either. It opens a new window named eyeRoundCube with this content:

----
Not Found

The requested URL /eyeOS/ROUNDCUBE_URL was not found on this server.

Apache/2.2.16 (Debian) Server at eyeos.xs4all.net Port 80
----

eveline wrote:

Thanks, will try that after my two-week vacation.

lars-sh wrote:

Here's a simple eyeRoundCube rewrite (but without eyePass integration...):

http://projects.lars-sh.de/eyeRoundCube.eyepackage

Offline

#5 2011-08-16 23:34:56

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

I just replaced that file with a fixed one. Remember to edit app.eyecode and add the url to your RoundCube folder, please.


Best regards,
Lars Knickrehm

The oneye project.

Offline

#6 2011-08-17 10:46:09

eveline
Member
Registered: 2011-07-29
Posts: 14

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

Ah yes, that works. Thanks!

eveline wrote:

Thanks, though that doesn't work either. It opens a new window named eyeRoundCube with this content:

----
Not Found

The requested URL /eyeOS/ROUNDCUBE_URL was not found on this server.

Apache/2.2.16 (Debian) Server at eyeos.xs4all.net Port 80
----

eveline wrote:

Thanks, will try that after my two-week vacation.

lars-sh wrote:

Here's a simple eyeRoundCube rewrite (but without eyePass integration...):

http://projects.lars-sh.de/eyeRoundCube.eyepackage

Offline

#7 2011-12-22 13:26:09

Steven
Member
From: Near Aix en Provence, France
Registered: 2011-07-19
Posts: 20
Website

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

Hi,

I have created my own Roundcube app (a bit along the same lines as lars's) but with an autostart
of roundcube with name and password from the users xml file (extended it with a mail password)
All working fine, exept the end of roundcube.
I use a plugin to redirect the close action to my php page (which is then loaded in the iframe).

I also loaded a javascript upon startup, to be able to call it from that php page to close the iframe / oneye-window.

However there are 2 problems :
1. I cannot find the right javascript command to call the loaded function to close the page ?
2. Each time i start the app, the javascript is loaded, so after some testing I have 20 times the same function in the main page (each time with an other pid!)

Has anyone any ideas how to solve this ?.

Kindest,
Steven


Steven Lobbezoo
[url=http://www.maisons-de-france.com]www.maisons-de-france.com[/url]

Offline

#8 2011-12-22 13:42:09

Steven
Member
From: Near Aix en Provence, France
Registered: 2011-07-19
Posts: 20
Website

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

Would have liked to send my files, but there is no option for attachments on this forum ;-)))


Steven Lobbezoo
[url=http://www.maisons-de-france.com]www.maisons-de-france.com[/url]

Offline

#9 2011-12-23 03:36:28

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

Steven wrote:

Would have liked to send my files, but there is no option for attachments on this forum ;-)))

Sorry, I deactivated it. Can you send it by mail or commit it to your svn playground, please?


Best regards,
Lars Knickrehm

The oneye project.

Offline

#10 2011-12-23 10:15:37

Steven
Member
From: Near Aix en Provence, France
Registered: 2011-07-19
Posts: 20
Website

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

Done


Steven Lobbezoo
[url=http://www.maisons-de-france.com]www.maisons-de-france.com[/url]

Offline

#11 2011-12-24 22:04:50

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

Steven, what do you need the logout button for? Isn't closing the window just all you need?

Or do you want to connect the RoundCube logout with oneye?


Best regards,
Lars Knickrehm

The oneye project.

Offline

#12 2011-12-25 09:45:57

Steven
Member
From: Near Aix en Provence, France
Registered: 2011-07-19
Posts: 20
Website

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

Hi Lars,

Well, I need to logout properly from roundcube (terminate the session).
So, I need to use the logout button that's included in the app.
But, of course that does not close the oneye window.
So, I tried to superpose my own button on theirs (cheat a bit).
I could, however extnd the functionallity of their button, if I knew how to close
the oneye window from that app (so from inside the i-frame).

Steven


Steven Lobbezoo
[url=http://www.maisons-de-france.com]www.maisons-de-france.com[/url]

Offline

#13 2011-12-25 09:47:07

Steven
Member
From: Near Aix en Provence, France
Registered: 2011-07-19
Posts: 20
Website

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

ps: Is your server still running in summer-time ?


Steven Lobbezoo
[url=http://www.maisons-de-france.com]www.maisons-de-france.com[/url]

Offline

#14 2011-12-29 07:15:18

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

Your code seems to be quite clear, but there's one thing, that you didn't think of I guess... Modern browsers follow a strict Cross-Domain-Policy, that does not allow you to access the content of iFrames and/or the parent of a website from inside the iFrame itself. You'd need to load a second script (probably inside an iFrame), that cancels the session of your second server (with RoundCube) and throws the loaction back to your original server to close the process...

Or even a bit easier (should be okay, anyway): Just close the process regularly and load the logout url of the RoundCube installation in a hidden iFrame. That iFrame just stays or you might remove it using some tricks.

Hope I could help you. Just ask if not wink ...

Steven wrote:

ps: Is your server still running in summer-time ?

It's quite strange. The server time is correct. But FluxBB seems to be a bit more "static" in these concerns...

Just check "Profile" > "Essentials" and remove the checked state from "Daylight Savings Time is in effect (advance time by 1 hour)."...


Best regards,
Lars Knickrehm

The oneye project.

Offline

#15 2011-12-29 11:42:41

Steven
Member
From: Near Aix en Provence, France
Registered: 2011-07-19
Posts: 20
Website

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

Hi,

Ok, the iframe is from the same domain, so it was just me.

I changed :
<code>
function closeIframe() {
   var iframe = document.getElementById('$myPid_Iframe_RCM');
   iframe.parentNode.removeChild(iframe);
    sendMsg('$checknum',"BBut_close",eyeParam("go","1"));
}
</code>

and added :
<code>
    $Iframe_1->addEvent('onUnload', 'sendMsg('.$checknum.',"BBut_close",eyeParam("go","1"));');

</code>

And made the button invisible (1x1 px, etc.)


And it works like a charm.

Thanks Lars,

Steven


Steven Lobbezoo
[url=http://www.maisons-de-france.com]www.maisons-de-france.com[/url]

Offline

#16 2011-12-29 21:27:52

lars-sh
Administrator
From: near Hamburg, Germany
Registered: 2011-07-14
Posts: 731
Website

Re: RoundCube App error: rawjs console.log(Base64.decode("PGJvZHkgb25sb2Fk

Thanks for the info Steven smile !


Best regards,
Lars Knickrehm

The oneye project.

Offline

Board footer

Powered by FluxBB