Jump to content
X2Community Forums


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by X2Peter

  1. Hello alt_f4,

    We released 8.3 last January which contained a few bugfixes, and upgrade to the newest yii1 version as well as compatibility with PHP 8.0.

    We apologize on not making a formal announcement on the forums, we will be having another release in less than a month which will contain some changes to our GMail integration. We will be making an official forum post at this time.

    • Like 1
  2. Hello therealsai,


    I believe the issue might be related to the 'media/view/' portion of the media view request:

    2020/10/12 06:50:32 [error] [exception.CHttpException.404] CHttpException: Unable to resolve the request "media/view/<WEBSITE_URL>/index.php/media/media/getFile/id/2010/key/116c285d11a5332748587790e352ef81fe9eb49c688a9567e75b7afb662982e4".

    Would you be able to PM me the 'Public Info Settings' of your app? You can find these under the 'System Settings' of the admin control panel.

  3. Hello Rafer,


    At the moment this is not possible to at the moment. We have worked on a feature similar to this in the past however it only works with dropdowns and the color is based on the dropdown value. We can look into implementing this fully in the near future.

  4. Hello Allied,


    Regarding the 'Major' issue, it seems like it is having trouble connecting to the updates server. Could you PM me your protected/components/UpdaterBehavior.php? You might want to try running from the command line as well:

    curl https://x2planet.com/installs/registry/reqCheck

    The issue also might lie with PHP cURL itself, the following code (along with the above command) should help determine where the issue lies:

    $ch = @curl_init("https://x2planet.com/installs/registry/reqCheck");
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_POST, 0);
    $response = @curl_exec($ch);
    echo $response;

    Regarding the 'Critical' message, this is a permissions issue. I believe you are trying to run this as root (root is usually given the id of 0). The update should complete successfully however all the updated files will then be owned by root which is not something you want necessarily. If you want to go this route then you will also want to make sure the files are owned by the web server after the update is run.


    Your session save path also does not seem to be writable meaning PHP will not be able to save it's session files to the location specified by the session.save_path() (this shouldn't affect the install but you may not be able to log in after the install). Make sure the location is writable by the web server, you can usually change the directory by updating the proper php.ini file.

  5. Hello Success,


    You will need to update the database and the `x2_fields` table in particular. You will need to change the `readonly` attribute of `workflowId` and `stageNumber` to 0. The following should then work:

    curl -H 'Content-Type: application/json' -H 'Authorization: Basic {your auth here}' --request POST --data '{"workflowId":1, "type":"workflow", "stageNumber":1}' https://{domain}/index.php/api2/{modelName}/{modelId}/Actions
  6. Hello Success,


    I believe this is possible to do via the API. You will need to set the 'workflowId' field (this fieldname is a misnomer, it is actually the ID of the Process you would like the record to be on) and the 'stageNumber' (this is the number of the stage  of the process you would like the record to be on). Everything else should be straightforward such as the 'associationType', 'associationId' and 'createDate' fields.

  7. Thank you for the feature idea John. We will look into adding a backup command to the codebase, this would allow the command to be run via Cron. Would you also be interested in performing backups via API?

  8. 8.0
    New Enterprise Features:

      * Portal Product:
        * Customer login and messaging for support cases
        * Invite users to the portal through service case webform
      * Related Case Solutions: Match service cases by issue for relevant resolutions
      * Knowledge Base: Create documents that can be searched by keyword or phrase
      * Responsive Editor for Email Templates: New responsive editor for email templates
      * Nexmo Call Pop-up: Links to contact with matching number if one exists
    New Open Source Features:
      * Sales Quotations Improvements:
        * Comments are their own line item
        * Adjustments are also their own line item, and percentage adjustments are based off the most previous line item
        * Added tax modifier on the subtotal
        * Added quote template insertable attribute "Packing Slip" that inserts quote item table without prices
      * Group Profiles: Admins can set default homepage layouts.
      * Data Visualizations
        * Day/hour heat map for campaigns that shows number and time of open/click/sent events
        * Added bubble, spline, and area spline charts to reports
      * Appointment Calendar:
        * Users profile setting for dedicated appointment calendar
        * Guests can reserve appointments through invitation link
      * UI Update:
        * Publisher widget history items scrollable when too long
        * General styling changes
      * Listability Improvements: Account, lead, and opportunity lists are campaignable

    Miscellaneous bug fixes

        * PHP 7.2 compatability fixes
        * Login CSRF and duplicate primary key fix
        * Fix for phone numbers not deleting from phone number table when deleted from record
        * Fixed bug with accounts report failing if the grid view for accounts has the tag column but accounts don't have any tags
        * Fixed issue with not being able to edit account lists if the criterion model is empty
        * Total rows error on summation report fix
        * Boolean fields and action eventSubType reportability fix


    Note for sales quotes after updating to 8.0
    With the new quote creator changes, quotes appear differently. Quotes already stored in the database will still have comments for line items, but will not be seen on the view/update/print pages. In order to make sure comments show properly, you will need to run the FixOldQuotesCommand command. To do this, navigate to your application directory and then to the protected/ directory. Then run ./yiic fixoldquotes to move all line items' comments to it's own line item.

    • Like 3
  9. I believe this is an issue with the dummy data (for a dummy default workflow). If you need the dummy data, you should be able to just delete that line from the dummy_data.sql (the line number should be 81).


    Regarding the mcrypt and openssl library error, it will show if either the openssl or mycrypt library is missing. mycrypt was removed completely from PHP 7.2 so you may not have it installed. You can safely ignore that error (just make sure you have openssl installed). We will update this error message in the next release so that it is not confusing.

  10. Any ideas on how to fix? Permission or path problem? 

    Email is broken.


    Your config directory may not have the proper permissions. Can you verify that the directory exists, that it has web-server write permissions and that the following files exist in that directory:


    encryption.iv  encryption.key

  11. It sounds like there may be an authentication error. This can be due to a few reasons. Are you using the base64 encoded of {username:APIKey}? If so then the issue may be related to your hosting. If you are on a shared web host then you may need to add/modify your .htaccess file with the following contents:

    # Allows PHP to moderate HTTP Basic authorization in CGI/FCGI so that the REST
    # API's authentication method can work in shared hosting environments
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    Let me know if this does not work for you so that we may continue troubleshooting.

    • Like 1
  12. We have a sad announcement this afternoon regarding a very special user here. Atilla, who was with us since June of 2017 passed away this month. On behalf of X2CRM I would like to send his family and friends our condolences and to Atilla personally, our appreciation for all the hard work he put on this forum. Without Atilla, X2CRM would not be where we are today and we want to again thank Atilla for all the effort he put into this forum. Thank you Atilla, and may you rest in peace.

    The X2CRM team

    • Like 6
  • Create New...