process definition not working

Hi All,

I have setup sugarcrm 13 on local and when I go to "localhost/projectname/#pmse_Project/c5c9867c-c90xxxxxxxxxx7282a2059f67/layout/designer" then it open page but don't load process definition, can anyone suggest what might be root cause for the same and I got below error in sugarcrm.log file:

[-none-][SECURITY] Destroying Session User has crossed Sites.

Please suggest.

Kindest Regards,
Shreya

Parents
  • The unique_key value of your user session does not match the unique_key value of the current instance. Looks like you have different installations opened simultaneously with the same credentials.

  • HI Harald,

    I have logout from CRM and cleared browser cache and rename cache folder now I am not getting above error.

    But still process definition is not loading.

    When I click on Process Design Preview it shows broken image as below:

     And when I go to Process Design layout it shows:

    Please suggest.

    Kindest Regards,

    Shreya

  • When you import a process definition from another system it may happen that some links will be corrupted after the import. In that case it can happen that the image of the process is lost also.

    The only solution for that is to create the process definition manually again and delete the corrupted definition.

    In one of my projects I had a corrupted else path of a gateway which caused such an error 500 exception because the link to the else part was not in the database.

    Only the recreation of the process definition solved the issue.

  • Hi Harald,

    I tried to create new process defination and save it, if I opened it again it shows blank as above:

    Can you please tell me what might be the root cause for the same.

    My project permissions are as follows:

    sudo find . -type d -exec chmod 2770 {} \;

    sudo find . -type f -exec chmod 660 {} \;

    sudo chmod 770 bin/sugarcrm

    Also, I tried to run crm in debug mode but unable to find the root cause.

    Please suggest. 

    Kindest Regards,

    Shreya

  • This looks like the data is not saved.

    Can you please check  the log files (php error log, sugarcrm log, apache log) for error messages. esp. error 500. Maybe the database structure does not match with the code. Did you run an upgrade before which was not completed? Which SugarCRM version do you run?

  • Hi Harald,

    Thanks a lot for help.

    I followed below steps on on mac system and its working now:

    cd /var/log
    sudo mkdir php
    cd /var/log/php/
    
    #create error log file at above location (cd /var/log/php/)
    nano error_log.log
    
    #open php.ini file 
    cd /opt/homebrew/etc/php/8.2
    
    #Find and modify the error_log directive as follows in php.ini file:
    error_log = /var/log/php/error_log.log
    
    #Make sure display_errors set to Off (no errors to end users):
    display_errors = Off
    
    #Save and close the file. Restart the Apache web server 
    sudo apachectl stop
    sudo apachectl start
    

    means I have created log file for php logs and added log file path to php.ini and also  make display_errors = Off in php.ini file and restarted the apache server.

    Now I am able to see process definition's and preview also.

    Kindest Regards,

    Shreya

  • Awesome ...

    Perhaps some error messages destroyed the information on the screen which shoul should show the process.

    I hope you can work with the processes now.

Reply Children
No Data