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.

Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5 ,001
» Latest member: Ekwadorin23
» Forum threads: 3 ,788
» Forum posts: 22 ,997

Full Statistics

Online Users
There are currently 39 online users.
» 1 Member(s) | 38 Guest(s)
TGates

Latest Threads
Size of DB table x_logs t...
Forum: General Support Forum v1.0.x
Last Post: TGates
1 hour ago
» Replies: 5
» Views: 155
SMTPTLS port 587 Close af...
Forum: General Support Forum v2.x.x
Last Post: Ekwadorin23
10 hours ago
» Replies: 6
» Views: 1 ,664
Problem ssl subdomain acc...
Forum: General Support Forum v2.x.x
Last Post: ccr1969
10-22-2024, 04:11 AM
» Replies: 9
» Views: 2 ,662
Sentora v2.1.0 sitrep
Forum: Sentora Announcements
Last Post: TGates
10-21-2024, 05:08 PM
» Replies: 3
» Views: 1 ,022
php timeout
Forum: General Support Forum v2.x.x
Last Post: TGates
10-04-2024, 12:38 PM
» Replies: 3
» Views: 2 ,066
Opening ports after insta...
Forum: General Discussions (Non-Support Related)
Last Post: TGates
09-28-2024, 11:10 AM
» Replies: 5
» Views: 553
Webalizer Stats not work ...
Forum: General Support Forum v1.0.x
Last Post: TGates
09-22-2024, 02:35 PM
» Replies: 4
» Views: 6 ,793
Apaxge2 keeps exiting...
Forum: General Support Forum v2.x.x
Last Post: TGates
09-20-2024, 11:37 AM
» Replies: 5
» Views: 411
Sentora update Informatio...
Forum: Sentora Announcements
Last Post: jennybaso
09-19-2024, 11:27 AM
» Replies: 3
» Views: 2 ,905
v2.0.0 Closed Beta testin...
Forum: Sentora Announcements
Last Post: jennybaso
09-19-2024, 11:24 AM
» Replies: 10
» Views: 30 ,450

 
Deluge Torrent + Sentora
Posted by: mattewre - 06-24-2015, 10:44 PM - Forum: General Discussions (Non-Support Related) - Replies (1)

Hi,
I'm new to sentora and I'm testing it a bit on a new dedicated server. It seems very good!
I installed deluge for torrent (+web interface) but I need help to achieve this result:
> change the deluge download directory to the public html folder of one of the domains, in which I'll set up a directory listing tool to access to the files I downloaded from any internet browser.

Consider this:
- deluge default directory is /var/lib/deluge: torrent download works fine here
ls -l
drwxr-xr-x 3 deluge  deluge  4096 Jun 24 11:10 deluge


- I can change the download directory to another one, for example  /var/sentora/torrent: torrent download works fine if I set the folder correctly:
chmod 755 /var/sentora/torrent
chown -R deluge:deluge /var/sentora/torrent


- When I try to use as download folder any directory inside /var/sentora/hostdata (with usual chmod and chown) deluge says that its hasn't permission to write in the directory.

Any suggestion?

Print this item

Can't connect to server " Timed Out"
Posted by: apinto - 06-18-2015, 03:20 AM - Forum: General Discussions (Non-Support Related) - Replies (10)

Hello,
this is NOT Sentora related, I just wanted some advice and being a active forum I decided to post here.

On my VPS I can't send emails to one server (lusodigital.net 83.96.162.35), I mean, it is just that server that I found at the moment.

Troubleshooting the issue I found it was not related to the email, I can't even ping the server neither the IP.

I contacted lusodigital.net and they told me ping commands are blocked (anyways I can ping from my office computer...), they said it is likely a routing issue and it is not their responsibility.

Anyone has some insight on how to troubleshoot this? I would really like to understand what is wrong.

Here are some testing i've done:

  • Ping from my VPS = timeout

  • Ping from other places = 100% OK
  • Send mail from VPS (sentora-postfix) I receive: (connect to lusodigital.net[83.96.162.35]:25: Connection timed out)

  • Send mail (gmail) works 100% OK
Thank you!!!

Print this item

guess on which note i have a VPS...
Posted by: Ron-e - 06-12-2015, 04:57 AM - Forum: General Discussions (Non-Support Related) - Replies (13)

Thats new to me..  Angry

Quote:Hello dear client,


This is an urgent notification from our end to you:

Few hours ago police entered with a warrant into datacenter in Germany where our server is placed and confiscated one of our servers ( DE3 node ), to be more exact hard drives. Unfortunately by the german laws we could not be notified before the disc were taken away due to a fact that the data there could be erased. Unfortunately we cannot disclose the information about why the discs were taken away by the police. 

We have been notified about this one hour ago and we are already on the phone with our DC on what to do.

At the moment we have switched the drives but unfortunately we do not keep customers backups, meaning if you did not take offsite backups your data is lost ( as the discs can be in police property as long as the suspicious about some activity that was reported takes.. ). 

Please understand that we are as much surprised as you are and we are doing our best to resolve this situation.

At the moment we are in talks with our DC and in meantime we are already installing services ( the IP will be the same! ) for our clients there.

Also I would like to point out that, even its rare cases that this happens, we are not liable for any data loss or actions like this, even though, as we wrote before, its very rare!.

I must say that we planned to roll out backup system in following weeks for our clients ( as a feature ) but as this happened it has messed up our plans for that.

Rest assured that we will update you as things progress

Thank you for your patience and bearing with us in these hard times for us.
Yes i have back-ups and no i have/had no illegal stuff on it..  Cool

Print this item

Automatic DNS
Posted by: Rick - 05-15-2015, 09:38 PM - Forum: General Discussions (Non-Support Related) - Replies (1)

Hello,

I hope you can add this to your to-do-list:
Automatically add a DNS template to a domainname with @, www, mail, imap, ftp, etc.

That would be a great feature.

Kind Regards,

Rick

Print this item

As users to register?
Posted by: potyomkin - 04-27-2015, 12:49 AM - Forum: General Discussions (Non-Support Related) - Replies (10)

Good day!
Please tell me if the module is a free user registration?
If there is, please tell me the name and where to find it?

Print this item

How do you Bench-marking your Web Server?
Posted by: apinto - 04-15-2015, 08:01 PM - Forum: General Discussions (Non-Support Related) - Replies (2)

Hello.
I'm interested in your feedback and thoughts about this.

How do You Bench-mark your Web Server?

Please say how you do it, the tools you use and any tips you can drop Smile

Print this item

Getting Attacked on my home server
Posted by: technicalnetwork - 04-15-2015, 03:33 AM - Forum: General Discussions (Non-Support Related) - Replies (4)

Hi All.

I've just come home and logged in, found there had been 2000+ server failed log in attempts.

Within a space of a few seconds of logging out and back in I found that there was 37 attempts.

How do I find out who or what is doing this? I have powered my centos off for Now.

centos 7.

Print this item

Forum anchors and logo with small screens
Posted by: Ron-e - 04-12-2015, 10:05 PM - Forum: General Discussions (Non-Support Related) - Replies (6)

@[TGates] i hope you don't get annoyed by my forum suggestions as i have two new ones.. Tongue


  • The anchors need an offset because the forum has an fixed navbar. 

Does this when using anchor links:
[Image: VFivnSDm.jpg]

Needs to do this:
[Image: bQtbZBem.jpg]


  • When the navbar collapses the Sentora logo stays big.

Does this:
[Image: 0kMmzzgm.jpg]

needs to be:
[Image: AIiyT4Wm.jpg]



I have copied a page of the forum and have a fix for both, but of course there can be things changed when i copied them.
So i am not 100% sure it will work without tweaking..

Add also to bottom off http://forums.sentora.org/cache/themes/t...custom.css

Code:
/* fixes offset off anchors for screens with full navbar */
:target:before {
 content:"";
 display:block;
 height:78px;
 margin:-78px 0 0;
}

@media (max-width: 767px) {
    /* fixes offset off anchors for screens collapsed navbar */
    :target:before {
      content:"";
      display:block;
      height:50px;
      margin:-50px 0 0;
    }
    /* fixes logo size with collapsed navbar */
    .navbar-brand img{
        transform: scale(0.7, 0.7);
        -ms-transform: scale(0.7, 0.7);
        -webkit-transform: scale(0.7, 0.7);
          margin-top: -22px;
    }
}

Print this item

Sentora Forum Suggestion
Posted by: wormsunited - 04-12-2015, 08:11 PM - Forum: General Discussions (Non-Support Related) - Replies (3)

Hi there folks!

To be honnest i didnt know were to post this thread on the forum since i havent found any category for this topic, i have a suggestion for the functions at sentora forum. As you know many posts are long. Since we have to scrool it down, sometimes we have to dragg all up, or click on "return to top" wich call div #top. and jumps up without any animation and we get the link as: http://forums.sentora.org/something#top wich is not so cool, dont get me wrong...

So i suggest a simple ugrade and very simple to integrate wich will make us as members with a more interesting funcionality over this forum. I have created a simple .js file that can be called to any pages by adding one simple line of code and it will bring to top in a more intuitive look and animated. This is very lightweight i use it a lot in some of my webdesign projects. All members are free to copy and use it.

Here is the .js file code (requires jquery wich the forum already have)


Code:
/*
Sentora.org
Scrool to top
@wormsunited contribution
*/

var scrolltotop={
    //startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
    //scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (0=top).
    setting: {startline:100, scrollto: 0, scrollduration:500, fadeduration:[500, 100]},
    controlHTML: '<img src="../images/sentora/gotop.png" style="width:50px; height:50px" />', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
    controlattrs: {offsetx:10, offsety:10}, //offset of control relative to right/ bottom of window corner
    anchorkeyword: '#main', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links

    state: {isvisible:false, shouldvisible:false},

    scrollup:function(){
        if (!this.cssfixedsupport) //if control is positioned using JavaScript
            this.$control.css({opacity:0}) //hide control immediately after clicking it
        var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
        if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
            dest=jQuery('#'+dest).offset().top
        else
            dest=0
        this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
    },

    keepfixed:function(){
        var $window=jQuery(window)
        var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
        var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
        this.$control.css({left:controlx+'px', top:controly+'px'})
    },

    togglecontrol:function(){
        var scrolltop=jQuery(window).scrollTop()
        if (!this.cssfixedsupport)
            this.keepfixed()
        this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
        if (this.state.shouldvisible && !this.state.isvisible){
            this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
            this.state.isvisible=true
        }
        else if (this.state.shouldvisible==false && this.state.isvisible){
            this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
            this.state.isvisible=false
        }
    },
    
    init:function(){
        jQuery(document).ready(function($){
            var mainobj=scrolltotop
            var iebrws=document.all
            mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode
            mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')
            mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
                .css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
                .attr({title:''})
                .click(function(){mainobj.scrollup(); return false})
                .appendTo('body')
            if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text
                mainobj.$control.css({width:mainobj.$control.width()}) //IE6- seems to require an explicit width on a DIV containing text
            mainobj.togglecontrol()
            $('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
                mainobj.scrollup()
                return false
            })
            $(window).bind('scroll resize', function(e){
                mainobj.togglecontrol()
            })
        })
    }
}

scrolltotop.init()


Implementation:
- Save the script provided on top as "gotop.js"
- Create and Add a image file called "gotop.png" at -> http://sentora.org/images/sentora/ directory.
- Just add this line of code to call up the script on the index.php file (template file) -> Check bellow!


Code:
<script type="text/javascript" src="http://forums.sentora.org/jscripts/gotop.js"></script>

That's it! Simple and lightweight solution that will bring Sentora Forum a new shine!
I hope this contribution can make members experience better!

Wink

Print this item

Creating a module
Posted by: rafaht - 04-05-2015, 02:12 PM - Forum: General Discussions (Non-Support Related) - Replies (7)

Hey guys!
I'm trying to create a module, but some piece of code doesn't working and I don't know why, because doesn't have error.

See:
module.zpm

Code:
        <h3><: Alerts list :></h3>

        <% if AlertsList %>
            <table class="table table-striped">
                <tr>
                  <th><: ID :></th>               
                  <th><: Title  :></th>
                  <th><: Message :></th>                   
                </tr>
                <% loop AlertsList %>
                <tr>
                    <td><~ alert_id ~></td>
                    <td><~ alert_title ~></td>
                    <td><~ alert_message ~></td>                     
                </tr>
                <% endloop %>
            </table>
            <@ CSFR_Tag @>
        <% else %>
        <p><: There are currently no alerts to display! :></p>
        <% endif %>
I tried replace <~ and ~> for <& and &>, but doesn't worked too.

The module displays until this piece: <h3><: Alerts list :></h3>.

The controller.ext.php corresponding code:

Code:
    /*

     * The 'worker' methods.
     */
    static function ListAlerts() {
        global $zdbh;
        $sql = "SELECT * FROM sentora_alerts";
        $numrows = $zdbh->prepare($sql);
        $numrows->execute();
        if ($numrows->fetchColumn() <> 0) {
            $sql = $zdbh->prepare($sql);
            $res = array();
            $sql->execute();
            while ($rowalerts = $sql->fetch()) {
        array_push($res, array('alert_id' => $rowalerts['alert_id'], 'alert_title' => runtime_xss::xssClean($rowalerts['alert_title']), 'alert_message' =>runtime_xss::xssClean($rowalerts['alert_message'])));
            }
            return $res;
        } else {
            return false;
        }
    }

    /*
     * End 'worker' methods.
     */

    static function getAlertsList() {
        global $zdbh;
        return self::ListAlerts();
    }

The database exists, the table and column names is correct. I verified.

Any ideas? :/
Thanks,

Print this item