Jump to content

jkirk001

Members
  • Posts

    16
  • Joined

  • Last visited

jkirk001's Achievements

  1. jkirk001

    Cron Task Stuck

    I did open a ticket (Ticket #1853980) on 10/02. You replied to initial entry. I replied with more info. It has now been 4 days without a reply from you. As for nobody blaming me, it sure comes across as if he is doing just that. I've been it the IT industry since 1995. I too have had many occasions where customers would make simple mistakes (incorrect passwords, unplugged systems and wondering why system won't boot, monitor unplugged, etc). Yes, the simplest errors tend to be the cause of most problems. And the simple solutions tend to be the correct solutions. But I NEVER blamed them or even insinuated it might have been their fault. To do so is just bad form. That's Customer Service-101.
  2. jkirk001

    Cron Task Stuck

    Thank you for your replies. Licensecart - I agree with your practice of pasting it in the text tab first and then copy/paste into html. It usually does work. Tyson - Not trying to be argumentative, but; it was not a copy/paste issue. This IS caused by the default template. It never accepted ANY modification of content or change of email address. Had it allowed for changes, I might be able to understand your position. But, blaming the user is NEVER a good method in support or customer service. That being said, I have moved on and switched to a different CRM.
  3. jkirk001

    Cron Task Stuck

    Yes, it would seem so. Except: 1. Blesta and database were both completely removed. 2. This is a clean install (including database). 3. Everything is default configuration. 4. This problem persists regardless of Softaculous or manual install. For whatever reason Blesta does not properly function for me. In spite of my liking how it looks and feels, I cannot allow that to interfere with business decisions. I shouldn't have to fight my way through a program to force it to work properly, I've spent way too much time on this. Time to cut my losses and move on.
  4. jkirk001

    Cron Task Stuck

    Well, this isn't good. After clean install, I am unable to make ANY changes (content or email address) to "Scheduled Payment Reminder", "An order has been received", or "An order has been received (mobile)". Even without any packages or services, I should at least be able to change the email address.
  5. jkirk001

    Cron Task Stuck

    Unfortunately, since the HTML has been deleted and I am unable to put them back in place, running cron manually produces: "Attempting to run all tasks for Kirkpatrick & Davis, LLC. All tasks have been completed. Attempting to run all system tasks. All system tasks have been completed". Any attempt to edit those email templates produce: "Template parse error: unexpected character in filters : "&" at 32". All if...else statements are concluded with {% endif %}. Service created email template and Package welcome email templates contain no errors. At this point, it is tempting to backup my client theme, delete Blesta and its database, and start from scratch. One last ditch effort before moving on. I really don't want to have to switch to different CRM, But if all else fails, I see no other option.
  6. jkirk001

    Cron Task Stuck

    Found two that did not run: "Apply Payments to Open Invoices Oct 01, 2015 10:46:32 AM" & "Provision Paid Pending Services Oct 02, 2015 5:46:35 AM". This happened only after I changed email addresses to @domain.com. Only using English. The "Scheduled Payment Reminder" does not allow edit and only saves when I completely remove the "HTML" or delete the "if...else" statement from "HTML". Other templates affected by "if...else" include: "An order has been received" & "An order has been received (mobile)".
  7. jkirk001

    Cron Task Stuck

    Unfortunately, I have yet to properly resolve this issue. Cron has been working properly only after changing emails back to @subdomain.domain.com. I am using the default email template: Hi {contact.first_name}, This is a reminder that a payment is scheduled to be charged to your account on {autodebit_date} in the amount of {amount_formatted} for invoice #{invoice.id_code}. {% if payment_account.account_type == "ach" %}Your {payment_account.type} Account ending in {payment_account.last4} will be processed on this date. If we should use a different payment method, or if you need to make a change to this account, please login to our client area at http://{client_url} to make the correction at your earliest convenience.{% else %}Your {payment_account.type} ending in {payment_account.last4} will be processed on this date. If we should use a different payment method, or if you need to make a change to this account, please login to our client area at http://{client_url} to make the correction at your earliest convenience.{% endif %} If you'd like to disable automatic payments, you may do so by logging into your account at http://{client_url}. Thank you for your continued business! I can find no ampersand set here. Only if I delete the if...else statement, will it save and allow cron to properly run with emails changed to @domain.com. But, this is not viable solution. Maybe I'm missing something here. But; since all emails are default, I would think changing emails from @subdomain.domain.com to @domain.com shouldn't have any effect on cron or email templates. At this point I am at a loss.
  8. jkirk001

    Cron Task Stuck

    Thanks Licensecart for your quick response. Running the query gives a #1064 syntax error regarding near 'Limit 0, 30'. Looks like fun. The only thing that has changed between now and the when it worked was my changing email addresses in email templates to drop sub domain. When I tried to change "Edit Email Template Auto-Debit-Pending" I received "Template parse error: unexpected character in filters : "&" at 32". At the time, I didn't think much of it. But now, it appears the two are very much related. So, it looks like I'll be busy fixing the parse error. Hopefully, that will help resolve the cron problem. Only problem is, I've not been able to find the proper file to fix said parse error.
  9. jkirk001

    Cron Task Stuck

    I realize there was another post regarding "cron stuck". But, that post died off with no response from OP. So, I thought I'd create a new post that hopefully will resolve my problem and help others having similar issue. The service that is stuck: "Provision Paid Pending Services" has been running for over an hour now. What do I need to do to resolve this?
  10. Outstanding heroes!!! After changing code to Naja7host's latest code and removing $this->client = $this->Clients->get($this->Session->read("blesta_client_id") ; Flawless victory! Thanks again to everyone's help. Much appreciated.
  11. Thanks Tyler! It properly redirects user to login with message. And allows only logged in clients to place orders. So,that works with one minor issue: the message still displays above the order form when logged in. If unable to resolve, not a deal breaker.
  12. Okay, almost there. I had a simple typo. Now, with <?php /** * Order System Parent Controller * * @package blesta * @subpackage blesta.plugins.order * @copyright Copyright (c) 2010, Phillips Data, Inc. * @license http://www.blesta.com/license/'>http://www.blesta.com/license/ The Blesta License Agreement * @link http://www.blesta.com/ Blesta */ class OrderController extends AppController { public function preAction() { $this->structure->setDefaultView(APPDIR); parent::preAction(); $this->flashMessage('notice', "You must be logged in to use the order system.", null, false); $this->requireLogin($this->client_uri); // Auto load language for the controller Language::loadLang(array(Loader::fromCamelCase(get_class($this))), null, dirname(__FILE__) . DS . "language" . DS); // Override default view directory $this->view->view = "default"; $this->orig_structure_view = $this->structure->view; $this->structure->view = "default"; } } require_once dirname(__FILE__) . DS . "order_form_controller.php"; ?> it displays the message above Order Form when: logged in > Return to Portal > Order. When logged out, redirects to login but no message. Sorry to be such a pest. You guys are great! I appreciate your time.
  13. Hello again, Sorry guys, I've tried the two solutions you two have provided. Unfortunately, if I place the "requirelogin" followed by the "if" statement below the opening php tag, it give an "Ohnoes". If placed anywhere else, leads to blank screen. Only one situation with redirect was I able to get close to solution However, after login, "Return to Portal" > "Order" redirects to "My Account". But have not been able to replicate since. I've submitted ticket to see what the devs at Blesta can come up with. I am certain this can be resolved. Will post best solution when issue is resolve. Thanks again!
  14. Thanks Licensecart & naja7host! With $this->requireLogin(); Order System is still visible when not logged in, but leads to blank page. When logged in, it is both visible and functions properly. I suppose I could drop in a message "User must be logged in to place order" (or something like that). If I'm not mistaken, I think I saw a post regarding such a message. I appreciate you two having taken the time to help me.
  15. Ah, was afraid that'd be the case. Oh well, at least that's on less thing for me to have to worry about.
×
×
  • Create New...