Jump to content

velaware

Alpha Developers
  • Posts

    346
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by velaware

  1. Describe the issue you're experiencing.

     

    When I submit the form I get this: "SQLSTATE[21000]: Cardinality violation: 1241 Operand should contain 1 column(s) on line 124 in /home/ehansen/public_html/asdev.com/public/lib/model.php"

     

    Provide detailed steps necessary to reproduce the issue.

     

    I enter a package name, quantity of unlimited, select the module and its package option, select "one-time" for term and enter a price of 123.00 and create a new group.

     

    Include the URL the error occurred on, relative to the installation path, ie "/admin/login".

     

    /admin/packages/add/

     

    Attach screenshots.

     

    Done

     

    Include your configuration settings, i.e. OS, version of Blesta, version of module/gateway/plugin if applicable, version of PHP & MySQL.

     

    OS: Linux (Ubuntu)

    Blesta: 3.1.1

    PHP: 5.4.9

    MySQL: 5.5.35

     

    This is on a development machine, my production install (v3.1.0) doesn't cause any issues.

    post-4-0-57139700-1392697161_thumb.png

  2. I had this issue myself and its kind of really annoying.

     

    Add this to your controller's preAction method:

            $this->structure->setDefaultView(APPDIR);
            $this->structure->setView(null, $this->orig_structure_view);
    

    Add this to your plugin's main controller preAction (i.e.: plugin_controller.php file):

                    $this->view->view = "default";
                    $this->orig_structure_view = $this->structure->view;
                    $this->structure->view = "default";
    

    Note that your controller (where you call setView()) has to extend your plugin's controller for this to work.

  3. Currently (as of 3.1.1) te support manager plugin doesn't encrypt email passwords.  If you look in the support_departments table, the passwords are in plaintext.  This confuses me since the user passwords are hashed.  While I know you can't reverse a hash to get the message, you can still encrypt the passwords using systemEncrypt and get the message via systemDecrypt.

  4. Why? ;)

    The intent is to still be able to keep a record for all clients.  I've started work on a plugin that fixes this but its also difficult to purge records from all accounts since MySQL doesn't have the functionality that Postgre does in terms of cascade deletion.

  5. Oh so if you put the value as "Checked" in the database if the user has checked it it will show labelname | checked

    Give or take, yeah.  Not sure about other fields but I found w/ checkboxes when they aren't checked there's not even a record for it in the database.  Which, kind of makes sense.

  6. I'd like to see better debugging information, especially as it seems Blesta is wanting to be more developer friendly.

     

    For example, my cron task issue.  I'm sure there's a fatal error or something in my code, but I can't figure out where as I can't get any output from it.  This makes it very difficult to squash bugs in a timely fashion.

  7. What setting values are saved for the cron task? Did it happen to run once, but stall?

    I feel bad, I forgot I even made this thread, heh.

     

    Not sure what you're asking in regards to "setting values are saved" but it's a time cron that is typically set to run at 23:50:00.

     

    It'll start, then stall, and I have to delete the entry in log_cron to make anything happen.

     

    Cody mentioned to disable the automatic schedule and run php /blesta/path/index.php cron pluginTasks but I get no output at all.

  8. I have a cron task I made myself that doesn't want to run at its time interval (I've tested by updating the interval and waiting one or two cron cycles).  Cron's set to run every 5 minutes and it does run as I see entries in the logs and and such, even running cron manually doesn't work for this one cron.  It is also enabled.

    1. Describe the issue you're experiencing.
      1. The comment for addTaskRun's "time" option states that "14:25" is valid format, but when you look at the rules, it has to be in hh:mm:ss not hh:mm.
    2. List any generated errors. (The "Oh Noes" error pages are very helpful.)
      1. Cron task doesn't get installed or listed in the Automation section

    It took me a little while to figure out why my cron task wouldn't get added, and I had to dig into the getTaskRunRules() method to understand the format conflicted.  It would make a lot more sense to offer the ":ss" portion as optional:

    'rule' => array("matches", "/^([0-9]{1,2})[0-9]{2})([0-9]{2})?)$/"),
    

    I'm not a regex expert so I think a look-ahead would be more efficient but you get the idea.

  9. As some know I've been pretty active around here lately in offering custom development and just overall solutions that either fill a niche or a growing need.  While I love programming in Python, my roots started in PHP and I still use the language to this day.

     

    Now I'm offering custom development for every and anyone here.  Past, current and future are welcome to reach out to me.  You can see some of my work here: https://github.com/anzenehansen/Blesta-Goodies

     

    While I like to offer what I develop to everyone, its not a requirement and I can release the product only to you.

     

    WHAT YOU GET:

    1. Premium development and direct communication
    2. An account to our project management system so you can monitor our progress
    3. Continued support after development is done*
    4. Updates either at request or when we reach a milestone in the project

    PRICES

    This is always the stickler for people, and my company understands that.  We started our business to help other small businesses without stretching their bank.  Heck, we're bootstrapped from the core up ourselves.

     

    Our pricing is flexible and depends more on the project.  We do ask for 10% down up front though, and charge hourly (another reason why we give you an account to our project management system, so you know what you're paying for).  The hourly rate is typically around $10/hour.

     

    As a note though, require the invoice to be paid before providing the finished product.  We are, however, happy to provide screenshots or other proof.

     

    Currently we only accept PayPal for payment.

     

    HOW?

    As our website is currently under development the best way to enquire about this is to contact plugin-dev@anzensolutions.com and our team will get in touch with you.  If you need to provide attachments or the like, then please email the ticket # to me (ehansen@anzensolutions.com) along w/ the attachments as we do not allow them currently through Blesta.

  10. Hey all

     

    I've stuck with 2.5 for a while but now that we've hit 3.1 I'm trying to move across.  I've tried migrating using the plugin but I get the following error:

     

    SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens

     

    After that, the system will show most of my clients, but not all.  It doesn't show any services.  I've done a search but can't find any similar topics.

     

    Any ideas?

     

    Pete

    Do any of the clients have custom fields set?  Though, realistically I don't see how that matters any in this situation, it could.

     

    Basically what's happening is when you're running the import plugin to migrate, there's one too many fields (either column names or data) and its throwing off the import.

     

    There's nothing I personally know how to fix this, but I'm sure Paul, Cody or Tyson will have an idea or two.

  11. Actually made a mistake in the SQL query!  Now have 24000 items with wrong end date ;)

     

    Think it might be possible/safe to truncate the table?

    Personally I would advise against it but to be sure I would draw the attention of Paul, Cody or Tyson to this thread (PM them) so they're aware of this.  I don't want to advise you on something I know not much on (don't know what issues might occur if any).

  12. It would be a nice feature for people from other billing systems, but I like it as it is because it means only people in the billing department can see orders / billing status etc.

    I'm not familiar with all the ACLs and such but I'm pretty sure making a widget plugin to render only when someone with the proper billing & support permissions is possible.

     

    @SusanC if you're interested in me developing this for you PM me and we'll talk more.

  13. Thanks.  I've discovered the task which causes the problem as the interface leaves a spinner next to it.  I read in another thread that a reset button was to be included with 3.1.0.  I'm guessing this slipped.

     

    For now then, I can either wait six hours or update the end time of that task?

    If you're going to update the end time, read this thread: http://www.blesta.com/forums/index.php?/topic/1805-there-are-one-or-more-cron-tasks-that-have-been-executing-for-more-than-60-minutes/ (post of interest: http://www.blesta.com/forums/index.php?/topic/1805-there-are-one-or-more-cron-tasks-that-have-been-executing-for-more-than-60-minutes/?p=13924 ).

     

    I had the same issue as you just with IMAP instead of piping, and waiting 6 hours didn't do me any good.

×
×
  • Create New...