Jump to content

ZweiTiger

Members
  • Posts

    21
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by ZweiTiger

  1. 3 hours ago, Paul said:

    Did you check that Blesta is sending out the email every hour? Tools > Logs > Email. Is there only 1 transaction recorded for the payment in Blesta, or are you seeing many transactions? (Check all statuses)

    Blesta sends the email receipt after receiving an IPN notification from PayPal, so no others should be sent unless Blesta receives multiple IPN requests. See Tools > Logs > Gateway log to see PayPal IPN request logs.

    Hi!

    Thank you for your reply!

    Yes, just checked this and received 10 paypal IPN request, but  actually in the real there was only one payment with one transaction. Strange. Any suggestion?

    Thank You!

  2. Hello

    We got a problem with our Blesta. Blesta says at client registration, user email is invalid. As i know blesta check the user email address and has to be valid. Could you help me to turn off this shit? Many users reported  they cant register, invalid email (gmail address example), then sadly the user is finally created in the database, but not appear in the Blesta admin area.

    Blesta 4.1.2

  3. Here is the log:

    On the main company this is working. On the addon company not.

    This is the output log:

    my.hostname.com
    a:1:{s:27:"<!DOCTYPE_html>
    <html_class";s:7948:""no-js">
        <head>
            <meta charset="utf-8" />
            <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
            <title>Title</title>
            <meta name="description" content="" />
            <meta name="viewport" content="width=device-width, initial-scale=1" />
    
            <link href='https://fonts.googleapis.com/css?family=Montserrat:700|Open Sans' rel='stylesheet' type='text/css' />
    
            <!-- normlize -->
    
            <style>
            /*! normalize.css v1.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}html,button,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,samp{font-family:monospace,serif;_font-family:'courier new',monospace;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:before,q:after{content:'';content:none}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ul,nav ol{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;*overflow:visible}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}
            </style>
    
            <!-- einDa login | boilerplate -->
    
            <style>
            /* HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
            html,button,input,select,textarea{color:#222}html{font-size:1em;line-height:1.4}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}audio,canvas,img,video{vertical-align:middle}fieldset{border:0;margin:0;padding:0}textarea{resize:vertical}.browsehappy{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}body{font-family:'Open Sans',sans-serif;background:#7A5196;}body .box-error{width:80%;margin:0 auto}body .box-login{position:absolute;width:80%;height:27em;left:0;right:0;top:50%;margin-left:auto;margin-right:auto;margin-top:-13.5em;}body .box-login h1{text-align:center;color:#fff;font-family:'Montserrat',sans-serif}body .box-login .login-content{background:#fff;-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;padding:1em;}body .box-login .login-content .lc-enviar{padding-top:1em}body .box-login .login-content input[type="text"],body .box-login .login-content input[type="password"]{width:100%;height:3em;line-height:3em;font-family:'Montserrat',sans-serif;border-top:0;border-bottom:.1em dotted #ccc;border-left:0;border-right:0;color:#31544d}body .box-login .login-content input[type="submit"]{width:100%;height:3em;line-height:3em;background:#7A5196;border:.1em solid #b47cdb;color:#fff;-webkit-border-radius:.2em;-moz-border-radius:.2em;border-radius:.2em;font-family:'Montserrat',sans-serif;}body .box-login .login-content input[type="submit"]:hover{-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;background:#b47cdb}body footer{text-align:center;height:3em;line-height:3em;}body footer a{color:#fff;font-weight:bold;text-decoration:none;font-size:.8em;}body footer a:hover{color:#f2f2f2}body .retrieve-password{min-height:3em;line-height:3em;padding-top:1em;}body .retrieve-password p{width:70%;margin:0 auto;text-align:center;font-size:.9em;}body .retrieve-password p a{background:#49bc85;display:block;-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em;color:#fff;text-decoration:none;}body .retrieve-password p a:hover{-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;background:#5ed19b;color:#27514d}body .login-msg{background:#d6eda6;margin-bottom:1em;-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em;min-height:2.2em;line-height:2.2em;}body .login-msg p{color:#396b66;text-align:center}@media only screen and (min-width:480px){body .box-login{width:50%}}@media only screen and (min-width:768px){body .box-login{width:40%}}@media only screen and (min-width:1024px){body .box-login{width:34%}}@media only screen and (min-width:1220px){body .box-login{width:28%}}@media only screen and (min-width:1420px){body .box-login{width:22%}}.ir{background-color:transparent;border:0;overflow:hidden;*text-indent:-9999px}.ir:before{content:"";display:block;width:0;height:150%}.hidden{display:none !important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.clearfix{*zoom:1}@media print{*{background:transparent !important;color:#000 !important;box-shadow:none !important;text-shadow:none !important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}
            </style>
    
    
        </head>
        <body>
          
          
          <div class="box-login">
            <h1>S1 - Cloud</h1>
            <div class="login-content">
              <form action="/CMD_LOGIN" method="POST">
                <input type="hidden" name="referer" value="/CMD_API_USER_PASSWD">
    
                <div class="lc-texto">
                  <input type="text" name="username" placeholder="User">
                </div>
    
                <div class="lc-texto">
                  <input type="password" name="password" placeholder="Password">
                </div>
    
                <div class="lc-enviar">
                  <input type="submit" value="Login">
                </div>
    
              </form>
            </div>
            
            <footer>
            </footer>
          </div>
    
        </body>
    </html>
    ";}

     

  4. 1 minute ago, Jono said:

    What version did you update to?  And I'm assuming you chose 'First Available' as the add order for your server group?

    Latest version of Blesta

    Yes, First non-full server

  5. On 2017. 11. 27. at 10:59 PM, Jono said:

    I think I understand at last your original post.  You have two DA servers with different IPs: hosting1.domain.com and hosting2.domain.com.  You set them both up in blesta and assigned them both to the same server group.  When you create the package you assign the server group, but you can only select the ip address for the  hosting1.domain.com.  Because of this any service you create will send that IP to DA as the IP for the user/domain which is displayed on the DA server interface in the user list under the 'IP' column.  So an account is created on hosting2.domain.com but with the ip from hosting1.domain.com.  It sounded like that was your only problem from the original post.  

    So everything looks correct in blesta, and the login link takes you to the correct server.

     

    This sounds like your problem has totally changed.  That the account is now being created on the wrong server instead of correct server with the wrong IP.  Is this now your problem?

    Blesta update fixed my first original post. DA module updated, and working. Now i got different issue. One server group. Two assigned server. 1st if full (reached the 50/50), 2nd is empty(0/50). But the module create accounts on the 1st server, and not choose the second. If i edit the package, then i choose group: cloud server (which got two server 1st is full, second is empty). But the module still create account on the first server. So its a bug. You have to reproduce this bug.

    So i edited the package and choosed cloud server 2 only. Now only create accounts with the second server. This not a fix, just a how to fix this problem asap solution.

    If you not understand i really sorry, i tried to tell hard :)

  6. On 2017. 10. 27. at 8:45 PM, Jono said:

    API calls are based on the service 'hostname', is the hostname correct?  Login is based on the ip from the server(module row) which can be seen if you expand the service row in the services widget on the client page.  Where exactly are you encountering an error?

    I confirm the bug.

    1, Created a group

    2, Assigned two server

    3, 1st server is full, second is empty. Still the package created on the 1st server. Which is full... but the module only select the 1st server.

    If i edit the package: Server group: my server group with two assigned server, Accounty type: user, Package: 2GB,  IP address: 1st server IP, and cannot change.

    So actually.. thats should be a bug. I think. The module only choose the 1st server, not matter if its full.

    Could you check, and reproduce the problem?

  7. 7 minutes ago, Paul said:

    If you're running PHP 7.0, you need to use the 3 files in the php7-hotfix directory that's included in the Blesta zip file. If you can log into Blesta now though, I suspect you are running a different version of PHP for CLI vs your web server. They should be the same. If the web server is running PHP 5.6, and your CLI is 7.0, try locating your PHP 5.6 binary and running it with that instead.

    Thats why i have to use wget command for Cron. Clear! cron run the CLI ioncube. Replaced the files (4.1.2), we shall see this fix this email issue or not. There is no another Blesta installed.  But yes, i moved Blesta and followed your tutorials. Well the system sent the payment notice but i cannot find it in the database. Checked by phpmyadmin. SMTP server show its sent. But this invoice not exist. We shall see, if i experience problem like this.

  8. 3 hours ago, Paul said:

    1. Did you ever move Blesta? Possible you have another copy still running someplace else? If Blesta sent out an email, it will be in the logs. There will be a transaction recorded.

    2. Disable the cron temporarily, enable error reporting in /config/blesta.php (Change from 0 to -1, change back when done) wait 5 minutes, and try running via CLI: php ./index.php cron

    3. It always appears, if you ran it once you're good to go.

    Since you went from 3.x to 4.x did you remove the files that were removed in 4.0? From https://docs.blesta.com/display/user/Upgrading+Blesta

     

    Got it!

    PHP Fatal error:  
    The file ****/html/app/app_controller.php was encoded
    with the PHP 5.6 ionCube Encoder and requires PHP 5.6 to be installed.
     in Unknown on line 0
     

    I use PHP 7.0, and not really understand why need PHP 5.6 ioncube. Maybe a bug? PHP 7 ioncube installed

  9. Hello

    After i upgraded Blesta 3.5.2 to 4.1.2 i got very strange issues.

    1, User reported he already paid invoice with number 500. After he paid the invoice he got the correct emails, succes payment etc. Everything is ok. I check the email log in Blesta and seems perfect. After 2-3 day the user reported he already paid the invoice but still got a payment notice, he have to pay, but with invoice 501 number. But this invoice not exist in the system, in the database. 

    Got this strange issue, and many user reported this issue.

    2, cron not working anymore, so i have to use wget with the website name, and key. This worked very well before update.

    3, The admin/upgrade appear. I already updated Blesta, why its appear? If i click then its say update finished.

     

    Something is not okay... But everything is working. Invoice creation, modules, plugins not got any issue, just this three thing.

  10. Hello

    2 directadmin server

    hosting1.domain.com

    hosting2.domain.com

    one of the directadmin server is full, so the second server will be used to create accounts.

    The account succesfully created on hosting2.domain.com, but the module create the account with the hosting1.domain.com IP address. I should see this by checked the logs. But if i create the account manually on the hosting2.domain.com server then its got the correct IP, so i think this should be a Blesta plugin issue.

     

    Is there any bug related to this issue?

    Blesta 3.5.2

    Directadmin Plugin: 2.2.1

    I know its not the newest but too much custom there to update with one click.

  11. 21 hours ago, Blesta Addons said:

    we will make your suggestion in our RADAR , what essential feature we can look at it in the beginning ?

    just to correct the info

    i think after cpanel, exist plesk . then maybe Directadmin :)

    Not really know about Plesk. Never used it. But the cPanel Extended module already done, so there is no need to make another one. ( i think)

    "cPanel Reloaded = rewrite the module to support more features than the core one has."

    -Why? We already got the best cPanel module, not need another one with less features.

     

    Well i would like to see the same features as in cPanel Extended. Thats the goal for Directadmin Module.

  12. On 2016. 10. 02. at 2:46 PM, naja7host said:

    i have tested the plugin in v4, is working, this related only to v3 .

    Hello :)

    The invoices are working but how to shoe the active services? I tried to figure out but none of them worked for me. Here is the code:

    Quote

        <?php
            $this->Javascript->setInline('
                $(document).ready(function() {
                    fetchInvoices("open");
                });
                
                function fetchInvoices(status) {
                    $(this).blestaRequest("GET", "' . $this->Html->safe($this->base_uri . "plugin/client_data/client_main/count_invoices/") . '" + status, null, function(data) {
                        if (data)
                            $(".count_invoices").html(data);
                    },
                    null,
                    {dataType:"json"});
                }
            ');
            $this->Javascript->setInline('
                $(document).ready(function() {
                    fetchServices("active");
                });
                
                function fetchServices(status) {
                    $(this).blestaRequest("GET", "' . $this->Html->safe($this->base_uri . "plugin/client_data/client_main/count_services/active") . '" + status, null, function(data) {
                        if (data)
                            $(".count_active_services").html(data);
                    },
                    null,
                    {dataType:"json"});
                }
            ');
            ?>

    Whats wrong with the services:)?

    Inovices: <span class="count_invoices">0</span>

    Services: <span class="count_active_services">0</span>

×
×
  • Create New...