Announcement

Collapse
No announcement yet.

Error 404 when trying to convert lead

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

  • Error 404 when trying to convert lead

    Hi,

    I'm using Version 5.9.4 and when I try to convert lead it throws "Error 404". I've checked the log and here is the message, but I haven't made any changes on code.

    Espo.DEBUG: API (404) Action POST 'getConvertAttributes' does not exist in controller 'Lead'

    Any suggestion?

    Thanks.


  • #2
    Hello,

    You need to check :

    PHP Code:

    Searching 34832 files 
    for "getConvertAttributes"

    /application/Espo/Modules/Crm/Controllers/Lead.php:
    56 }
    57
    58
    : public function postActionGetConvertAttributes($params$data$request)
    59 {
    60 if (empty($data->id)) {
    ..
    62 }
    63
    64
    : return $this->getRecordService()->getConvertAttributes($data->id);
    65 }
    66 }

    /
    application/Espo/Modules/Crm/Services/Lead.php:
    85 }
    86
    87
    : public function getConvertAttributes($id)
    88 {
    89 $lead $this->getEntity($id);

    /
    client/modules/crm/src/views/lead/convert.js:
    93
    94 
    if (scopeList.length) {
    95this.ajaxPostRequest('Lead/action/getConvertAttributes', {
    96 idthis.model.id
    97 
    }).done(function (data) { 

    Comment


    • #3
      Hello,

      I've checked each of the files and everything is OK. Any other suggestions please?

      Comment


      • #4
        Hello,
        log file from php/espocrm/apache or .. ?

        if you have these file, certainly "permission" error.

        maybe cache, clearCache/Rebuild
        php version
        espocrm version


        Without more information.. it's difficult

        Comment

        Working...
        X