Jump to content

mukesh

Members
  • Posts

    225
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by mukesh

  1. 10 hours ago, Paul said:

    What module are you using?

    We have a task for cPanel to allow a config option that determines the server group. See https://dev.blesta.com/browse/CORE-3024 This would allow the creation of a dropdown for selecting the server group, and you would organize your server groups by location. However, I don't have an ETA on this task.

    For now, what I would recommend is creating a Package Group for each location, and cloning your Packages (selecting the right server group for the cloned packages) and assigning them to the new Package Group for that location. On your order form, they would be listed by group like this:

    USA Hosting
    - Plan A
    - Plan B

    UK Hosting
    - Plan A
    - Plan B

    .. etc

    Then they would select the Package within the group for the location they want.

    i am using cpanel module.

  2. 1 hour ago, Tyson said:

    The Cron Command is an example command derived from what Blesta knows about the system it is installed on. It is not a setting that controls the cron or relates in any way to an actual cron job. A cron job would need to be setup on the server separately (e.g. through cPanel).

    The Cron Key is a unique key you can use to run the cron manually in Blesta. It should be kept secret so that others cannot run the cron. It is not required when a cron job runs via CLI mode, but it is when you click the "Run Cron Manually" button as shown in your screenshot.

    I would recommend you do the following:

    1. Click "Generate Code" to create a new cron key.
    2. Click "Update Cron Key" to save that change.
    3. Create a cron job on your server. This is done outside of Blesta, typically through a control panel (e.g. cPanel) or via command line. This is where you would set the frequency to 15 minutes, and you can use the example "Cron Command" as a reference to what to set for the cron job.
      1. The "Cron Command" field in Blesta will still show 5 minutes (i.e. "* /5 * * * *") because it is only an example.
    4. Verify the cron has been running successfully by checking the last run time for automation tasks under Settings > Company > Automation.

    is there any example set up in cpanel.

  3. after taking full backup then i restore error shown 

    ============================================ 

    Something went wrong.

    SQLSTATE[28000] [1045] Access denied for user 'billmhos_bles391'@'localhost' (using password: YES) on line 74 in /home/qucvnuar/public_html/portal/core/ServiceProviders/MinphpBridge.php 

    Printing Stack Trace: 
    #0 /home/qucvnuar/public_html/portal/core/ServiceProviders/MinphpBridge.php(74): PDO->__construct('mysql:dbname=bi...', 'billmhos_bles39...', '4pS[57[5D5', Array)
    #1 /home/qucvnuar/public_html/portal/vendors/pimple/pimple/src/Pimple/Container.php(118): Blesta\Core\ServiceProviders\MinphpBridge->Blesta\Core\ServiceProviders\{closure}(Object(Minphp\Container\Container))
    #2 /home/qucvnuar/public_html/portal/vendors/minphp/container/src/Container.php(22): Pimple\Container->offsetGet('pdo')
    #3 /home/qucvnuar/public_html/portal/vendors/minphp/bridge/src/Lib/Model.php(25): Minphp\Container\Container->get('pdo')
    #4 /home/qucvnuar/public_html/portal/app/app_model.php(0): Model->__construct()
    #5 /home/qucvnuar/public_html/portal/app/models/currencies.php(20): AppModel->__construct()
    #6 [internal function]: Currencies->__construct()
    #7 [internal function]: ReflectionClass->newInstance()
    #8 /home/qucvnuar/public_html/portal/vendors/minphp/bridge/src/Lib/Loader.php(275): call_user_func_array(Array, Array)
    #9 /home/qucvnuar/public_html/portal/vendors/minphp/bridge/src/Lib/Loader.php(253): Loader::createInstance('Currencies', Array)
    #10 /home/qucvnuar/public_html/portal/vendors/minphp/bridge/src/Lib/Loader.php(129): Loader::loadInstances(Array, Array, 'models')
    #11 /home/qucvnuar/public_html/portal/helpers/currency_format/currency_format.php(35): Loader::loadModels(Object(CurrencyFormat), Array)
    #12 [internal function]: CurrencyFormat->__construct()
    #13 [internal function]: ReflectionClass->newInstance()
    #14 /home/qucvnuar/public_html/portal/vendors/minphp/bridge/src/Lib/Loader.php(275): call_user_func_array(Array, Array)
    #15 /home/qucvnuar/public_html/portal/vendors/minphp/bridge/src/Lib/Loader.php(253): Loader::createInstance('CurrencyFormat', Array)
    #16 /home/qucvnuar/public_html/portal/vendors/minphp/bridge/src/Lib/Loader.php(158): Loader::loadInstances(Array, Array, 'helpers')
    #17 /home/qucvnuar/public_html/portal/vendors/minphp/bridge/src/Lib/Controller.php(154): Loader::loadHelpers(Object(AdminLogin), Array)
    #18 /home/qucvnuar/public_html/portal/vendors/minphp/bridge/src/Lib/Controller.php(123): Controller->helpers(Array)
    #19 /home/qucvnuar/public_html/portal/app/app_controller.php(0): Controller->__construct()
    #20 /home/qucvnuar/public_html/portal/vendors/minphp/bridge/src/Lib/Dispatcher.php(120): AppController->__construct('admin_login', NULL, false)
    #21 /home/qucvnuar/public_html/portal/index.php(21): Dispatcher::dispatch('/portal/admin/l...')
    #22 {main}

    ==========

    after taking full backup then i restore error shown 

  4.  Something went wrong.

    in_array() expects parameter 2 to be array, string given on line 2063 in /home/billmhosting/public_html/portal/components/modules/namesilo/namesilo.php 

    Printing Stack Trace: 
    #0 [internal function]: UnknownException::setErrorHandler(2, 'in_array() expe...', '/home/billmhost...', 2063, Array)
    #1 /home/billmhosting/public_html/portal/vendors/monolog/monolog/src/Monolog/ErrorHandler.php(164): call_user_func(Array, 2, 'in_array() expe...', '/home/billmhost...', 2063, Array)
    #2 [internal function]: Monolog\ErrorHandler->handleError(2, 'in_array() expe...', '/home/billmhost...', 2063, Array)
    #3 /home/billmhosting/public_html/portal/components/modules/namesilo/namesilo.php(2063): in_array('', 'domain')
    #4 [internal function]: Namesilo->validatePortfolio('', '8a264d8fea8d240...', 'mukesh9770@gmai...', 'false')
    #5 /home/billmhosting/public_html/portal/vendors/minphp/input/src/Input.php(539): call_user_func_array(Array, Array)
    #6 /home/billmhosting/public_html/portal/vendors/minphp/input/src/Input.php(362): Minphp\Input\Input->validateRule('portfolio', Array, '', 'portfolio')
    #7 /home/billmhosting/public_html/portal/components/modules/namesilo/namesilo.php(794): Minphp\Input\Input->validates(Array)
    #8 /home/billmhosting/public_html/portal/app/models/module_manager.php(518): Namesilo->addModuleRow(Array)
    #9 /home/billmhosting/public_html/portal/app/controllers/admin_company_modules.php(353): ModuleManager->addRow('13', Array)
    #10 /home/billmhosting/public_html/portal/vendors/minphp/bridge/src/Lib/Dispatcher.php(143): AdminCompanyModules->addRow()
    #11 /home/billmhosting/public_html/portal/index.php(21): Dispatcher::dispatch('/portal/admin/s...')
    #12 {main}

  5. On 11/27/2018 at 6:17 PM, NETLINK said:

    Hi guys. Could you do me a favour and try the following?

    1. Go to Settings -> Modules
    2. Click on Namesilo -> Manage
    3. Beside your Namesilo API user account, click the "Edit" link
    4. Now, press the "Update Account" button

    Once you've completed the above, please see if the error persists or if it's now resolved.

    still error

    in_array() expects parameter 2 to be array, string given on line 2063 in /home/billmhosting/public_html/portal/components/modules/namesilo/namesilo.php 

    Printing Stack Trace: 
    #0 [internal function]: UnknownException::setErrorHandler(2, 'in_array() expe...', '/home/billmhost...', 2063, Array)
    #1 /home/billmhosting/public_html/portal/vendors/monolog/monolog/src/Monolog/ErrorHandler.php(164): call_user_func(Array, 2, 'in_array() expe...', '/home/billmhost...', 2063, Array)
    #2 [internal function]: Monolog\ErrorHandler->handleError(2, 'in_array() expe...', '/home/billmhost...', 2063, Array)
    #3 /home/billmhosting/public_html/portal/components/modules/namesilo/namesilo.php(2063): in_array('', 'domain')
    #4 [internal function]: Namesilo->validatePortfolio('', '23a26b38d5190113...', 'mukesh@gmail...', 'false')
    #5 /home/billmhosting/public_html/portal/vendors/minphp/input/src/Input.php(539): call_user_func_array(Array, Array)
    #6 /home/billmhosting/public_html/portal/vendors/minphp/input/src/Input.php(362): Minphp\Input\Input->validateRule('portfolio', Array, '', 'portfolio')
    #7 /home/billmhosting/public_html/portal/components/modules/namesilo/namesilo.php(794): Minphp\Input\Input->validates(Array)
    #8 /home/billmhosting/public_html/portal/components/modules/namesilo/namesilo.php(826): Namesilo->addModuleRow(Array)
    #9 /home/billmhosting/public_html/portal/app/models/module_manager.php(564): Namesilo->editModuleRow(Object(stdClass), Array)
    #10 /home/billmhosting/public_html/portal/app/controllers/admin_company_modules.php(395): ModuleManager->editRow('17', Array)
    #11 /home/billmhosting/public_html/portal/vendors/minphp/bridge/src/Lib/Dispatcher.php(143): AdminCompanyModules->editRow()
    #12 /home/billmhosting/public_html/portal/index.php(21): Dispatcher::dispatch('/portal/admin/s...')
    #13 {main}

  6. 4 hours ago, Joseph H said:

    We have developed an almost similar Plugin but for infobip. But It's mostly currently event based.

    • Service suspended
    • Service unsuspended
    • Welcome SMS
    • Payment received SMS
    • New Invoice SMS notification

    It's currently still work in progress, thinking of adding it to github.

     

    its good idea. 

  7. 1 hour ago, Panfilo said:

    I am on  ver 1.8.5

    The page I get this on is when I try to managed the module.

    Here is a stacktrace:

    Printing Stack Trace: 
    #0 [internal function]: UnknownException::setErrorHandler(8, 'Undefined varia...', '/...', 639, Array)
    #1 .../vendors/monolog/monolog/src/Monolog/ErrorHandler.php(173): call_user_func(Array, 8, 'Undefined varia...', '/...', 639, Array)
    #2 .../components/modules/namesilo/namesilo.php(639): Monolog\ErrorHandler->handleError(8, 'Undefined varia...', '/...', 639, Array)
    #3 .../app/controllers/admin_company_modules.php(106): Namesilo->manageModule(Object(stdClass), Array)
    #4 .../vendors/minphp/bridge/src/Lib/Dispatcher.php(142): AdminCompanyModules->manage()
    #5 .../index.php(21): Dispatcher::dispatch('/admin/settings...')
    #6 {main}

    same issue occur with me and there is no solution yet.

×
×
  • Create New...