Jump to content

EMar

Members
  • Posts

    114
  • Joined

  • Last visited

Posts posted by EMar

  1. Ok sorry I was half asleep last night,

    I'm was referring to that page title "Order" when you click the Order link in the nav menu
    When you change that word Order it changes the link text and the title under the nav menu.
    Anyway I have a cache issue now, the lnav link doesn't change properly.

    $lang['OrderPlugin.client.name'] = "Order Stream Hosting";

    i6nl0c.jpg

     

  2. I dunno, what if you have different types of products / order forms,
    Why would they all have the same page title "Order" or whatever you put in OrderPlugin.client.name

    Like when you're managing the Portal section, it has its own index page title.

    I've so many ideas in my head that are not really there in the platform.

     

  3. Ok,

    At first the module wouldn't connect, it kept saying incorrect hostname or password or something,

    We did something on the server then were able to connect the Centova module to the server in question,

    What I meant was, say the correct password for the Centova admin was 43rgg7rg37
    If I entered something else like 56uy56 the module still says connected successfully.

    It's working now but I was wondering why it said connected successfully if it was the wrong password.

  4. Hi,

    Using the Centova Cast module,

    Just testing an order form as a demo client (paypal sandbox account) so developer mode is enabled in blesta.

    Went through the checkout process and ordered a Centova Cast account, $ 3.50 for 1 month.
    Created an account, used the email from the paypal sandbox account, selected paypal as payment method,
    Signed in as the new client and the Centova Cast account was already created and waiting, no payment made.

    I didn't have to login to paypal with the sandbox account to complete the payment.

    So it provisioned the new Centova Cast account, I was able to log in to the new stream account.

    There also was an invoice saying i was overdue and please pay 7 USD asap.

    What should I do?  it shouldn't be creating/provisioning any accounts until payment is received right?

    At least we know the module is connecting that's a good start.

    Any help appreciated.

  5. Not sure if I screwed up the installation, upgraded from 4.2.2 to 4.4.0.

    Uploaded everything from the Blesta folder and overwrite everything,

    Then used the hotfix for php 7.1 as I'm using php 7.2 on the server,
    So I ran the updater /crew/upgrade but get a white page.

    Do I need to configure any settings again? routes.php or others?

    Followed this guide https://docs.blesta.com/display/user/Upgrading+Blesta

    I have since switched the vps to use php 7.1.22 but that didn't make any difference.

     

    EDIT,

     

    I went into routes.php and see it had the default Configure::set('Route.admin', 'admin');

    Is that the only setting I need to change again? I had it renamed to "crew"

  6. Ok.. I have those config files now, I can edit them in CentOS Web Panel 7.

    There's no disable option for Mod Security, I uninstalled it while editing Blesta pages then installed it again.

    Adding 

    SecRuleRemoveById 9667848 to all 3 files

    Configuration Files:
    Main Configuration --> /usr/local/apache/conf.d/mod_security.conf
    Rules Configuration --> /usr/local/apache/modsecurity-owasp-old/owasp.conf
    Disabled Rules --> /usr/local/apache/modsecurity-owasp-old/global_disabled_rules.conf

    I don't have a custom_user.conf

    Contents of File: /usr/local/apache/conf.d/mod_security.conf

    Ifjny9.jpg

     

    Contents of File: /usr/local/apache/modsecurity-owasp-old/global_disabled_rules.conf

    E9Okxc.jpg

     

    Do I need to add it to /usr/local/apache/modsecurity-owasp-old/owasp.conf?

  7. [root@me /]# yum install mlocate -y                                                                     
    Loaded plugins: fastestmirror                                                                                
    Loading mirror speeds from cached hostfile                                                                   
     * base: centos.mirrors.tds.net                                                                              
     * epel: mirror.steadfast.net                                                                                
     * extras: mirrors.gigenet.com                                                                               
     * updates: centos.mirrors.tds.net                                                                           
    Package mlocate-0.26-6.el7.x86_64 already installed and latest version                                       
    Nothing to do 
  8. I logged into CentOS Control Panel 7 and clicked Mod Security under the Security tab.

    Last 20 Lines matching ModSecurity from Error log file: /usr/local/apache/logs/error_log

    [Tue Apr 24 01:08:09.218692 2018] [:error] [pid 255567:tid 1402356545764868i24] [client 11.110.113.232:63250] [client 11.110.113.232] ModSecurity: Access denied with code 403 (phase 2). Pattern match "(?i:(?:@.+=\\\\s*?\\\\(\\\\s*?select)|(?:\\\\d+\\\\s*?(x?or|div|like|between|and)\\\\s*?\\\\d+\\\\s*?[\\\\-+])|(?:\\\\/\\\\w+;?\\\\s+(?:having|and|x?or|div|like|between|and|select)\\\\W)|(?:\\\\d\\\\s+group\\\\s+by.+\\\\()|(?:(?:;|#|--)\\\\s*?(?:drop|alter))|(?:(?:;|#|--)\\\\s*?(?:update|i ..." at ARGS:content. [file "/usr/local/apache/modsecurity-owasp-old/base_rules/modsecurity_crs_41_sql_injection_attacks.conf"] [line "211"] [id "9667848"] [msg "Detects chained SQL injection attempts 1/2"] [data "Matched Data: div class=\\x22 found within ARGS:content:     <div class=\\x22col-md-12\\x22>\\x0d\\x0a        <div class=\\x22thanks\\x22>\\x0d\\x0a\\x0d\\x0a\\x0d\\x0a</div>\\x0d\\x0a    </div>\\x0d\\x0a\\x0d\\x0a    <div class=\\x22col-md-4 col-sm-6 portal-box\\x22>\\x0d\\x0a        <a href=\\x22{client_url}login/\\x22>\\x0d\\x0a            <div class=\\x22well\\x22>\\x0d\\x0a                <i class=\\x22fa fa-cogs fa-4x\\x22></i>\\x0d\\x0a                <h4>My Account</h4>\\x0d\\x0a                <p>Log in here to manage your ac [hostname "clients.domain.com"] [uri "/staff/settings/company/plugins/manage/5/"] [unique_id "%^$%6DeSztztryrrtrggJxJwAAAM8"], referer: https://clients.domain.com/staff/settings/company/plugins/manage/5/
  9. For some reason I created two staff members, but with the same info,

    Each assigned to a different department, billing and support.

    I've ticked every box at System > Staff > Staff Groups, for both users, but still can't edit that portal module.

    EDIT

    Actually I disable mod_security in the server and was able to edit the portal module.
    So any idea how to fix this when mod_security is enabled?

×
×
  • Create New...