Forum Replies Created

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • in reply to: Invoice and Quote Counter Reset #23101

    GerooTech
    Participant

    Thanks for your help.

    in reply to: Invoice and Quote Counter Reset #23095

    GerooTech
    Participant

    apparently the php path for my ubuntu is /usr/bin/php instead of /usr/local/bin/php

    • This reply was modified 1 month, 3 weeks ago by  GerooTech.
    in reply to: Invoice and Quote Counter Reset #23094

    GerooTech
    Participant

    I am sorry i recognized i change the path to the artisan script, still getting the same error though:

    Jan 4 19:22:01 websrv CRON[15892]: (root) CMD (/usr/local/bin/php /var/www/html/ninja/artisan ninja:send-invoices)
    Jan 4 19:22:01 websrv CRON[15893]: (root) CMD (/usr/local/bin/php /var/www/html/ninja/artisan ninja:send-reminders)
    Jan 4 19:22:01 websrv postfix/sendmail[15895]: fatal: open /etc/postfix/main.cf: No such file or directory
    Jan 4 19:22:01 websrv cron[2711]: sendmail: fatal: open /etc/postfix/main.cf: No such file or directory
    Jan 4 19:22:01 websrv CRON[15891]: (root) MAIL (mailed 42 bytes of output but got status 0x004b from MTA#012)
    Jan 4 19:22:01 websrv cron[2711]: sendmail: fatal: open /etc/postfix/main.cf: No such file or directory
    Jan 4 19:22:01 websrv postfix/sendmail[15897]: fatal: open /etc/postfix/main.cf: No such file or directory
    Jan 4 19:22:01 websrv CRON[15890]: (root) MAIL (mailed 42 bytes of output but got status 0x004b from MTA#012)

    in reply to: Invoice and Quote Counter Reset #23093

    GerooTech
    Participant

    I have changed the time to run today, and this is the output i am getting from the cron job

    Jan 4 18:13:45 websrv crontab[2721]: (root) END EDIT (root)
    Jan 4 18:14:01 websrv cron[2711]: (root) RELOAD (crontabs/root)
    Jan 4 18:15:01 websrv CRON[3170]: (root) CMD (/usr/local/bin/php /path/to/ninja/artisan ninja:send-reminders)
    Jan 4 18:15:01 websrv CRON[3171]: (root) CMD (/usr/local/bin/php /path/to/ninja/artisan ninja:send-invoices)
    Jan 4 18:15:01 websrv cron[2711]: sendmail: fatal: open /etc/postfix/main.cf: No such file or directory
    Jan 4 18:15:01 websrv postfix/sendmail[3175]: fatal: open /etc/postfix/main.cf: No such file or directory
    Jan 4 18:15:01 websrv postfix/sendmail[3176]: fatal: open /etc/postfix/main.cf: No such file or directory
    Jan 4 18:15:01 websrv cron[2711]: sendmail: fatal: open /etc/postfix/main.cf: No such file or directory
    Jan 4 18:15:01 websrv CRON[3162]: (root) MAIL (mailed 42 bytes of output but got status 0x004b from MTA#012)
    Jan 4 18:15:01 websrv CRON[3161]: (root) MAIL (mailed 42 bytes of output but got status 0x004b from MTA#012)

    The counter didn’t reset though

    in reply to: Invoice and Quote Counter Reset #23092

    GerooTech
    Participant

    ok, thanks. I just thought this is only for invoices. I have added the following lines:

    0 8 * * * /usr/local/bin/php /path/to/ninja/artisan ninja:send-invoices
    0 8 * * * /usr/local/bin/php /path/to/ninja/artisan ninja:send-reminders

    will set the date for tomorrow. Thanks.

    in reply to: Invoice and Quote Counter Reset #23090

    GerooTech
    Participant

    You mean the ones for daily invoices and reminders ??

    in reply to: Invoice and Quote Counter Reset #23087

    GerooTech
    Participant

    How can i enable cron, i have cron running for other tasks in the same linux box, however i couldn’t find a settings that i can use to turn cron.

    All i can find on the manual is to set cron to send reoccurring invoices.

    in reply to: Invoice Ninja v2 – Live demo #23025

    GerooTech
    Participant

    Will v2 add inventory management??

    in reply to: New User have some questions #19445

    GerooTech
    Participant

    Thanks, i have already unchecked this option in the initial setup. Appreciate your quick reply.

    in reply to: Error Installing #15950

    GerooTech
    Participant

    Everything is working now with no issues in my setup, but i just need a confirmation that this is the correct url iam using to access the application:

    ninja/public/index.php

    in reply to: Error Installing #15945

    GerooTech
    Participant

    It is working perfectly if i browse to:
    ninja/public/index.php/dashboard

    Do you know a way to redirect my site /ninja (main folder) to the /ninja/public/index.php ??

    Sorry if this out of the application support scope

    • This reply was modified 1 year, 6 months ago by  GerooTech.
    in reply to: Error Installing #15944

    GerooTech
    Participant

    Also i have noticed,

    When i try to access the servername/ninja/public it auto redirect me to servername/ninja/public/login and gives me 404 Not found error

    do i miss anything in this folder ??

    in reply to: Error Installing #15943

    GerooTech
    Participant

    i will try to figure this out, however i am getting also lots of this errors :

    anonymous>
    https://servername/ninja/server.php/invoices:943:13
    [Show/hide message details.] ReferenceError: $ is not defined[Learn More] invoices:1043:2
    <anonymous>
    https://servername/ninja/server.php/invoices:1043:2

    Is there a way to get away from this errors, till i figure out how to configure the virtual hosts ??

    in reply to: Error Installing #15940

    GerooTech
    Participant

    I can see the following errors:

    Loading failed for the <script> with source “https://servername/ninja/server.php/built.js?no_cache=4.5.2”.

    So just to make it a bit clear as well, i have a couple of other PHP applications installed in the same server, so i usually access the applications by browsing my server/appfolder

    so i didn’t configure the documentroot in /etc/apache2/sites-available/000-default.conf to public folder under ninja folder.

    Also, i appreciate all the help i am not a developer, so sorry if my questions is a bit basic

    • This reply was modified 1 year, 6 months ago by  GerooTech.
    in reply to: Error Installing #15937

    GerooTech
    Participant

    just installed it, and i am able to login but the display is very strange

    How the look of the app after logins

    Image URL if not displaying

    https://ibb.co/nNG7az

    • This reply was modified 1 year, 6 months ago by  GerooTech. Reason: added image url
    in reply to: Error Installing #15934

    GerooTech
    Participant

    Ok, finally figured this out, the PHP-MySQL was version 5.6, so i have updated this to 7.2 and i was able to pass the configuration page, and get redirected the login page.

    I was able to login but i am getting another error after login

    “production.ERROR: ***Symfony\Component\Debug\Exception\FatalThrowableError*** [0] : /var/www/html/ninja/app/Libraries/CurlUtils.php [Line 21] => Call to undefined function App\Libraries\curl_init()”

    • This reply was modified 1 year, 6 months ago by  GerooTech.
    in reply to: Error Installing #15932

    GerooTech
    Participant

    When i click test connection, it doesn’t do anything.

    in reply to: Error Installing #15869

    GerooTech
    Participant

    PHP V7.2

    “PHP 7.2.8-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul 25 2018 10:51:50) ( NTS )”

    • This reply was modified 1 year, 6 months ago by  GerooTech.
    in reply to: Error Installing #15836

    GerooTech
    Participant

    I have the following when i do php -m
    mysql
    mysqli
    mysqlnd

    also i have couple of other apps on the apache server that uses the php mysql and they are working. I do the following commands though to switch between the 2 php versions

    sudo a2dismod php5.6 ; sudo a2enmod php7.2 ; sudo service apache2 restart

    • This reply was modified 1 year, 6 months ago by  GerooTech. Reason: added more information
Viewing 19 posts - 1 through 19 (of 19 total)

Posted in: