This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Error opening Roundcube
#1
[Not Solved] Error opening Roundcube
Hi my friends, I have Ubuntu 20.04 with Sentora 2.0.0 and I am getting an error when I have roundcube open..... The error says:


The website will not allow Firefox to display the page if another site has embedded it... 

I don t know hat is bad. Please your help....


Attached Files Thumbnail(s)
   
Reply
Thanks given by:
#2
[Not Solved] RE: Error opening Roundcube
(05-13-2025, 04:46 AM)cfreire Wrote: Hi my friends, I have Ubuntu 20.04 with Sentora 2.0.0 and I am getting an error when I have roundcube open..... The error says:


The website will not allow Firefox to display the page if another site has embedded it... 

I don t know hat is bad. Please your help....

I haven't seen this problem before. I checked Google and there is a lot about it. Apparently it has become common.
It has to do with ' X-Frame-Options' which I am looking into right now and will post back my findings.

I am also curious if you get the same issue when using phpMyAdmin..?
RoundCube and phpMyAdmin both use X-Frame-Options to prevent XSS/click-jacking.

This is from the FireFox site: https://support.mozilla.org/en-US/kb/xfr...error-page

It could also be a configuration issue with how you installed Sentora. Specifically the panel login URL that you set when installing Sentora.
Are you using the same URL for the panel that you setup during installation?
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#3
[Not Solved] RE: Error opening Roundcube
Hi, there is not any problem with phpMyadmin, the issued is just with roundcube.... Are there steps to reinstall roundcube maybe?
Thanks, regards.
Reply
Thanks given by:
#4
[Not Solved] RE: Error opening Roundcube
(05-20-2025, 04:26 AM)cfreire Wrote: Hi, there is not any problem with phpMyadmin, the issued is just with roundcube.... Are there steps to reinstall roundcube maybe?
Thanks, regards.

I'll keep looking into it. Give me a couple days to sort through it.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#5
[Not Solved] RE: Error opening Roundcube
(05-22-2025, 07:39 AM)TGates Wrote: I'll keep looking into it. Give me a couple days to sort through it.

Thank you
Reply
Thanks given by:
#6
[Not Solved] RE: Error opening Roundcube
I'm not sure what has caused this issue for you, but I have found this:
(Always make a backup!)
Quote:./program/js/app.js (replace app.min.js with this):
Code Select Expand
Code:
    // clickjacking protection
    if (this.env.x_frame_options) {
      try {
        // bust frame if not allowed
   
        if (this.env.x_frame_options == 'deny' && top.location.href != self.location.href) {
          top.location.href = self.location.href;
        } else if (this.env.x_frame_options.indexOf('ALLOW-FROM') == 0) {
   
        } else if (top.location.hostname != self.location.hostname) {
          throw 1;
        }
      } catch (e) {
        // possible clickjacking attack: disable all form elements
        $('form').each(function(){ ref.lock_form(this, true); });
        this.display_message("Blocked: possible clickjacking attack!", 'error');
        return;
      }
    }
Original post: https://www.roundcubeforum.net/index.php?topic=21680.0
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#7
[Not Solved] RE: Error opening Roundcube
(05-24-2025, 03:49 AM)TGates Wrote: I'm not sure what has caused this issue for you, but I have found this:
(Always make a backup!)
Original post: https://www.roundcubeforum.net/index.php?topic=21680.0

I have replaced the app.js file, but the output is the same error.
Regards.
Reply
Thanks given by:
#8
[Not Solved] RE: Error opening Roundcube
Ok, I'll keep digging.

I'm not sure if it is a good idea to comment out the line of code that includes ' X-Frame-Options' which I noticed some other people tried.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#9
[Not Solved] RE: Error opening Roundcube
Thank you for sharing this issue/solution! Here are some additional suggestions based on my experience:

Logs Check: If the problem persists, the /var/sentora/logs/ directory might provide error details (e.g., apache-error.log).
Permissions: Ensure Sentora’s core folders (e.g., /etc/sentora/) have correct ownership (chown -R zpanel:zpanel /path).
Version Compatibility: Confirm your OS (e.g., Ubuntu 20.04) is officially supported.
Let me know if you need further debugging help
Reply
Thanks given by:
#10
[Not Solved] RE: Error opening Roundcube
Ensure that your Roundcube configuration allows embedding. Look for the config/config.inc.php file and check for any settings related to iframe or X-Frame-Options and Clear Browser Cache, Sometimes, clearing your browser's cache can help resolve loading issues.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Apache giving error in kevwebbie 7 3 ,731 04-25-2025, 09:56 PM
Last Post: kevwebbie
Dovecot error rsthomas 2 1 ,600 12-17-2024, 02:35 PM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)