Forum Replies Created

Viewing 48 posts - 1 through 48 (of 48 total)
  • Author
    Posts
  • in reply to: 500 error on "Add Credit Card" #22117

    mikejandreau
    Participant

    Fresh install did the trick.

    Also found the .env file with all the MySQL credentials.

    Adding credit card to account works now, too.

    in reply to: 500 error on "Add Credit Card" #22116

    mikejandreau
    Participant

    Now I’m getting a 500 error on the whole thing. Killer.

    Trying a completely fresh install now.

    Where’s the config info stored for my MySQL connection so I can move that over from my broken install?

    in reply to: 500 error on "Add Credit Card" #22115

    mikejandreau
    Participant

    Downloaded the .zip from invoiceninja.org, so it seems odd that files are missing.

    But I’ll try an in-place upgrade and see if that fixes it.

    in reply to: 500 error on "Add Credit Card" #22107

    mikejandreau
    Participant

    Yep. Looks like one corresponding to each of my tests:

    [2019-10-03 13:09:20] production.ERROR: ***ErrorException*** [0] : /home/mjjdesig/public_html/app/Ninja/PaymentDrivers/StripePaymentDriver.php [Line 22] => Class 'Stripe\Stripe' not found (View: /home/mjjdesig/public_html/resources/views/payments/credit_card.blade.php) (View: /home/mjjdesig/public_html/resources/views/payments/credit_card.blade.php) {"context":"PHP","user_id":1,"account_id":1,"user_name":"Mike Jandreau","method":"GET","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36","locale":"en","ip":"173.76.153.40","count":3,"is_console":"no","is_api":"no","db_server":"mysql","url":"payment/c61z7ts3ijwqlvrm348n9zqufp4sfnue/credit_card"} []
    
    [2019-10-03 13:08:59] production.ERROR: ***ErrorException*** [0] : /home/mjjdesig/public_html/app/Ninja/PaymentDrivers/StripePaymentDriver.php [Line 22] => Class 'Stripe\Stripe' not found (View: /home/mjjdesig/public_html/resources/views/payments/credit_card.blade.php) (View: /home/mjjdesig/public_html/resources/views/payments/credit_card.blade.php) {"context":"PHP","user_id":1,"account_id":1,"user_name":"Mike Jandreau","method":"GET","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36","locale":"en","ip":"173.76.153.40","count":2,"is_console":"no","is_api":"no","db_server":"mysql","url":"payment/s3ztyeb2oudjmn28uk1is3kpyibpdbtz/credit_card"} []
    
    [2019-10-03 13:08:01] production.ERROR: ***ErrorException*** [0] : /home/mjjdesig/public_html/app/Ninja/PaymentDrivers/StripePaymentDriver.php [Line 22] => Class 'Stripe\Stripe' not found (View: /home/mjjdesig/public_html/resources/views/payments/credit_card.blade.php) (View: /home/mjjdesig/public_html/resources/views/payments/credit_card.blade.php) {"context":"PHP","user_id":1,"account_id":1,"user_name":"Mike Jandreau","method":"GET","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36","locale":"en","ip":"173.76.153.40","count":1,"is_console":"no","is_api":"no","db_server":"mysql","url":"payment/s3ztyeb2oudjmn28uk1is3kpyibpdbtz/credit_card"} []
    in reply to: Invoice and then tasks? #22088

    mikejandreau
    Participant

    I know I can add the tasks to an invoice. But I’m looking for advice on how to keep track of those tasks’ hours, but not invoice for them.

    The client paid a flat rate for the project (which is in the original invoice). I wanted to keep track of my hours (for my own use), so I logged tasks and ran the timers.

    If I don’t invoice/archive those tasks, they just sit there forever and I feel that’s untidy.

    Should I just archive them?

    in reply to: Insert Quote into Proposal? #21332

    mikejandreau
    Participant

    Found another thread saying this isn’t supported.

    It’s disappointing that I’m going to have to go back to making PDFs in Word to get a complete proposal out to a potential client.

    in reply to: WHAT AM I MISSING??? #21331

    mikejandreau
    Participant

    The whole proposals functionality needs a huge re-work. It’s almost completely unusable right now, especially without the ability to send the Quote as PART of the Proposal.

    No one’s going to agree to a Proposal without seeing the pricing.

    in reply to: Products? Do I need them for historic purposes? #21216

    mikejandreau
    Participant

    Anyone have any insight here?

    in reply to: Add Tasks and Expenses to one invoice? #21079

    mikejandreau
    Participant

    Adding the expenses one at a time is a bit slow, but not the end of the world (I only had 5).

    Ideally if the “Add to invoice X” was on the Expenses tab rather than in a single Expense, that’d speed things up considerably if you have more than one.

    in reply to: Add Tasks and Expenses to one invoice? #21077

    mikejandreau
    Participant

    I figured it out. Not super elegant, but it’ll work for now.

    in reply to: Reminders sent? #21056

    mikejandreau
    Participant

    I found the issue and fixed my cron jobs.

    I also triggered them manually, but they didn’t send the reminder that should have gone out. I’ll keep looking into why.

    in reply to: Reminders sent? #21042

    mikejandreau
    Participant

    I’m seeing reminders not sent unless I trigger the reminder script from Terminal.

    It seems to be failing via Cron, but the command is identical.

    Would the failed Cron be logged somewhere so I can look and see why it’s failing?

    in reply to: No option for Custom Javascript #21009

    mikejandreau
    Participant

    Thanks, Hillel, that workaround worked a treat and will suffice for now.

    Looking forward to 2.0!

    in reply to: No option for Custom Javascript #21007

    mikejandreau
    Participant

    Looks like this didn’t make it into 4.5.13, will it be included in a future update?

    Or is there some other place I can drop my JavaScript? I want to add our live chat to the portal.

    in reply to: Notification on email viewing #20863

    mikejandreau
    Participant

    The “Email opened” date was there when I used Gmail, too.

    And the Report on Emails leaves a lot to be desired, too.

    I guess it is what it is, though.

    in reply to: Notification on email viewing #20861

    mikejandreau
    Participant

    Looks like I just add the Postmark stuff.

    Where do I see some sort of chart of opens and whatnot now? I don’t see anything in Activity other than the fact that I sent my test. Shouldn’t I see the Open event there, too?

    in reply to: Notification on email viewing #20860

    mikejandreau
    Participant

    Do I need to remove the SMTP settings from .env, or will adding Postmark to .env “just work”?

    in reply to: Looking for a specific variable #20859

    mikejandreau
    Participant

    That doesn’t work in Notifications, which is where I’d like it to be.

    Will add it in the Invoice for now, though.

    in reply to: Notification on email viewing #20828

    mikejandreau
    Participant

    There’s no Postmark option in self hosted, though. Just SMTP, Mail, Sendmail, and Mailgun.

    Is Postmark supposed to be an option when you’re self hosting?

    in reply to: Pay Button or Link Directly on the Invoice #20806

    mikejandreau
    Participant

    You can use $paymentLink in your templates. That’ll give you a direct link to pay, versus the link to view.

    in reply to: Reminders sent? #20774

    mikejandreau
    Participant

    The Invoice Ninja install is running 7.2, but it looks like (at least on Centos), cron runs as the default version of PHP, which is 7.3 for us.

    So forcing those cronjobs to run at 7.2 seems to have resolved the issue for me.

    in reply to: Reminders sent? #20771

    mikejandreau
    Participant

    And, yes, the “Time Sent” updates when a Reminder is sent. Phew.

    in reply to: Reminders sent? #20770

    mikejandreau
    Participant

    I see the issue. The Cron is running as the default version of PHP (7.3) and failing.

    Modifying my cron to /usr/local/bin/php72 /home/***/public_html/***/artisan ninja:send-reminders did the trick by forcing it to run as PHP 7.2

    in reply to: Reminders sent? #20768

    mikejandreau
    Participant

    I tried to manually run my reminders from the command line and got the error:

    In Builder.php line 1229:
                                               
      compact(): Undefined variable: operator

    Anyone know if that means they’re not sending and how to fix it? A Google result points me to a post here citing PHP 7.3 isn’t supported, but I already downgraded Invoice Ninja to PHP 7.2 and don’t have any other issues.

    Also, should this timestamp update when a Reminder is sent? https://take.ms/yu6iq (Don’t ask me how they viewed it a week before I sent it, I don’t care about that.)

    • This reply was modified 10 months, 1 week ago by  mikejandreau.
    in reply to: Reminders sent? #20764

    mikejandreau
    Participant

    Thanks, Titanfall. I didn’t even see the dropdown for before/after.

    I’d still love to add _more_, but I guess that’ll work for now.

    I see a logging option in their docs, but only for Postmark, not for Gmail. Hopefully, that gets added soon. For now, I’ll use your suggestion.

    in reply to: No option for Custom Javascript #20707

    mikejandreau
    Participant

    Documentation failure.

    in reply to: 500 error on "View Statement" #20702

    mikejandreau
    Participant

    Found an old forum post about it. It’s because Invoice Ninja doesn’t support PHP 7.3 (yet).

    I downgraded the subdomain it runs on to PHP 7.2 and all is well.

    in reply to: "Outstanding" on dashboard #20642

    mikejandreau
    Participant

    I think I figured it out.

    One of the invoices had been emailed prior to switching to Ninja, so Ninja doesn’t see it as having been sent, so it’s not including it in that total.

    So, while it’s due, it’s not “sent”, and I’m 99% sure that’s the problem.

    in reply to: "Outstanding" on dashboard #20640

    mikejandreau
    Participant

    I have that set to January.

    The two unpaid invoices are from May and June.

    So that’s not it, either.

    in reply to: "Outstanding" on dashboard #20638

    mikejandreau
    Participant

    Ok, I fixed that. But now I’m back to why the “Outstanding” is wrong.

    See my screenshot: https://take.ms/Ft7f3

    Shouldn’t the number on the LEFT of Outstanding be all outstanding invoices?

    You can see there’s two unpaid under “Upcoming”, that total more than the Outstanding total. Why is that?

    in reply to: "Outstanding" on dashboard #20637

    mikejandreau
    Participant

    This has led me down a hole and on a wild goose chase.

    Somehow the math is wrong, and there’s an extra payment in the client’s account somewhere.

    I’ve tried deleting the payment, but then they have an invoice unpaid.

    I’m just going to go into the database and zero out their account, because no matter what I do through the UI, the balance is wrong when I apply a correct payment.

    in reply to: "Outstanding" on dashboard #20635

    mikejandreau
    Participant

    I found the issue.

    One of the invoices’ totals for Client A shows in Client B’s ledger: https://take.ms/ypVLx

    That $461.35 is not on invoice #2018-0965. That invoice’s total was $68.85, which was paid by credit.

    So, somehow, Invoice Ninja accredited the wrong amount on that invoice, which is throwing off all the subsequent balances for this client.

    How can I fix that?

    in reply to: "Outstanding" on dashboard #20613

    mikejandreau
    Participant

    I tried the exact same thing and I can’t make it do the same thing, no matter what I do.

    I’m going to just hope it fixes itself at some point in the future.

    in reply to: Sending Invoice for Credit #20612

    mikejandreau
    Participant

    I confirmed that sending an invoice and then using that payment as a credit causes too much money having been paid.

    If I look at a Client’s “Paid to Date”, it’s including payments made on the invoice (to pre-pay for the credit), as well as payments made by the credit.

    in reply to: "Outstanding" on dashboard #20610

    mikejandreau
    Participant

    Then something’s definitely broken.

    Here’s my Active, Archived and Unpaid invoices: https://take.ms/ptNkw
    Here’s my Dashboard: https://take.ms/zna78

    If what you’re saying is right (which it seems like it is), the total on the left should be $575.5

    Should I just ignore this and hope it fixes itself as invoices get paid? I’m worried the more invoices I add, the worse it’s going to get.

    in reply to: "Outstanding" on dashboard #20608

    mikejandreau
    Participant

    That still doesn’t explain the math I’m seeing, though.

    The black number on the left of Outstanding should be all outstanding invoices, right?

    If so, mine should show $575.5, the sum total of the two invoices I currently show in Unpaid invoices.

    If I add a test payment to either of the open invoices, the Outstanding goes down (as I’d expect). But it seems like the initial total is wrong, but I don’t know how or why, since I don’t know what math is going into it and what it should be counting.

    in reply to: "Outstanding" on dashboard #20605

    mikejandreau
    Participant

    Ok, the math is definitely wrong there. Here’s what I found after digging through some stuff:

    I sent a client an invoice for $500. They paid it. I applied a $500 credit to their account.
    They had an outstanding invoice balance of $38.65, which I paid with their new credit.

    A new client then has a new invoice for $439.00

    $439.00 (client a) – $38.65 (client b, completely unrelated to client A’s invoice) = $400.35 which is what’s shown on the dashboard.

    So it seems like the “outstanding” is subtracting the payment made to Client B’s invoice (due last month) from the total owed on Client A’s invoice, due this month.

    That seems wrong to me.

    If I delete that Credit applied to Client B’s invoice, my “outstanding” is correct. But then I have an invoice that’s actually paid, but isn’t showing as paid, because of the credit issue.

    The math in the Outstanding calculation is definitely doing something wrong.

    in reply to: "Outstanding" on dashboard #20604

    mikejandreau
    Participant

    Nothing out of the norm there. There’s only two unpaid invoices, and their total is not what’s shown as “Outstanding”.

    Can you explain the math behind that number? That might point me to look at something I’m overlooking now.

    in reply to: "Outstanding" on dashboard #20601

    mikejandreau
    Participant

    Nope. No manual changes to anything.

    in reply to: "Outstanding" on dashboard #20599

    mikejandreau
    Participant

    The same two invoices that show as unpaid on the Dashboard.

    One for $439 and one for $136.5

    in reply to: "Outstanding" on dashboard #20597

    mikejandreau
    Participant

    That would make sense if the total were higher than what I’m seeing, no?

    As is, the Outstanding total is less than the sum of my two u paid invoices.

    in reply to: View/Pay buttons & View/Pay links break #20593

    mikejandreau
    Participant

    I ended up changing the “raw” code and added both links as HTML links and that seems to have fixed the problem.

    in reply to: Sending Invoice for Credit #20592

    mikejandreau
    Participant

    In your scenario, your “paid” amount is now too much, isn’t it? The paid invoice and the credit would total R1000 (the R500 they paid for the invoice, and the R500 you gave them as a credit).

    The credit part of this works fine, but having the extra invoice is what (I think) is screwing up my totals for income, and outstanding balances due.

    in reply to: White Label Question #20404

    mikejandreau
    Participant

    @abkibh, I got an answer on Twitter. It seems to be the only place they respond to anything. Posts here and emails go unanswered.

    The upper left corner logo only changes with a “Reseller license”, of which I can’t find a single piece of information about. The white label license only removes branding from customer-facing parts of Invoice Ninja.


    mikejandreau
    Participant

    We found the error:

    Pancake exports the name of the Client as: FIRST LAST – COMPANY NAME

    But importing the Invoices looks for the Client name as just FIRST LAST.

    It would be super helpful if the error output cited this, instead of just the generic error in my original post.


    mikejandreau
    Participant

    I tried reimporting and got an error in laravel-error.log

    [2019-04-08 20:15:23] production.ERROR: ***Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException*** [405] : ../vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php [Line 251] => {"context":"PHP","user_id":0,"account_id":0,"user_name":"","method":"GET","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36","locale":"en","ip":"98.110.233.39","count":1,"is_console":"no","is_api":"no","db_server":"mysql","url":"import"} []

    • This reply was modified 11 months, 3 weeks ago by  mikejandreau.
    in reply to: Invoices not sending by email #20356

    mikejandreau
    Participant

    There must have been something wonky in the imported client record.

    Once I re-input the customer’s email, it worked fine.

    in reply to: Email Button Color #20355

    mikejandreau
    Participant

    Is this something that may be planned for the future?

    I’d like emails to match our branding.

Viewing 48 posts - 1 through 48 (of 48 total)

Posted in: