Announcement

Collapse
No announcement yet.

bitnami-espocrm-5.0.5-0-windows-installer / windows 10 and cron

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • bitnami-espocrm-5.0.5-0-windows-installer / windows 10 and cron

    hello
    install on windows bitnami-espocrm-5.0.5-0

    comand: C:\Bitnami\espocrm-5.0.5-0\apache2\bin\httpd.exe -f C:\Bitnami\espocrm-5.0.5-0\apps\espocrm\htdocs\cron.php
    resilt: httpd.exe: Syntax error on line 36 of C:/Bitnami/espocrm-5.0.5-0/apps/espocrm/htdocs/cron.php: Include takes one argument, Name(s) of the config file(s) to be included; fails if the wildcard does not match at least one file
    what could be the problem?

  • #2
    Hello
    find php.exe on your server and set it path instead of C:\Bitnami\espocrm-5.0.5-0\apache2\bin\httpd.exe in the command

    Comment


    • #3
      C:\Bitnami\espocrm-5.0.5-0\php
      how i can set path? sorry)

      Comment


      • #4
        Sorry, didn't try Bitnami EspoCRM for Windows. Thy to find Windows Task Scheduler, find this task, modify the command
        something like C:\Bitnami\espocrm-5.0.5-0\php\php.exe -f C:\Bitnami\espocrm-5.0.5-0\apps\espocrm\htdocs\cron.php
        you can run this command in terminal at first to check if the path is OK.

        Comment


        • #5
          work)

          Comment


          • #6
            HI )

            Moved CRM to another PC, successfully updated but cron gives an error. What can be error?
            Version 5.2.5

            C:\Users\Admin>C:\Bitnami\wampstack-7.1.19-0\php\php.exe -f C:\Bitnami\wampstack-7.1.19-0\apache2\htdocs\cron.php
            PHP Fatal error: Uncaught Error: Class 'Espo\Core\Application' not found in C:\Bitnami\wampstack-7.1.19-0\apache2\htdocs\cron.php:38
            Stack trace:
            #0 {main}
            thrown in C:\Bitnami\wampstack-7.1.19-0\apache2\htdocs\cron.php on line 38

            LINE 38: $app = new \Espo\Core\Application();

            Comment


            • #7
              check, what php version is using in crontab

              Comment


              • #8
                PHP Version 7.1.19

                Comment


                • #9
                  I met this error only, when the version was too old, check it twice, please. (the version in cli could be different, than the version on web server)
                  I just tried to know version of my PHP from windows command typing, C:\> php -v But it is not working. It says php is not recognized as internal or external command.

                  Comment


                  • #10

                    Comment


                    • #11
                      try to run in cli
                      php cron.php

                      Comment


                      • #12
                        Hi Tanya thank you so much

                        Comment


                        • #13
                          I have install the latest version 5.7.11 and it keep said to do add this line to Windows TASK :
                          C:\server\apps\Apache24\bin\httpd.exe -f C:\CS3.2\stage\web\backend\espocrm\cron.php

                          I have change my line to php -f C:\CS3.2\stage\web\backend\espocrm\cron and it work now.

                          Comment

                          Working...
                          X