问题标签 [orocrm]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
896 浏览

validation - Symfony:通过 Valid 和 Count 约束进行集合验证

今天我遇到了表单集合验证的奇怪问题(symfony 2.7.3)

我已将 validation.yml 配置为验证 BusinessTrip 表单。此表单包含一个包含 BusinessTripUser 表单集合的字段,用于指定用户及其商务旅行目标。

问题:

当我尝试保存将多个用户添加到集合中的 BusinessTrip 表单时,出现验证错误,提示我必须为此出差指定至少一个用户(计数约束)。但是已经有几个用户了。

如果我禁用计数约束(在validation.yml 中对其进行注释)一切正常,则用户将通过有效约束成功验证。但我需要这个验证。也许有人已经遇到并解决了这个问题?

来源:

0 投票
1 回答
2882 浏览

php - Symfony 实体不保存到持久化数据库

这适用于控制器,但是,当注入命令时它不起作用。

cron 成功地将其拾取直到结束,但它不会引发任何错误或保存实体。

0 投票
1 回答
169 浏览

php - 安装 orocrm 时出现致命错误

尝试安装orocrm时出现此错误:

致命错误:不能使用 'True' 作为类名,因为它在第 10 行的 C:\xampp\htdocs\crm-application\vendor\oro\platform\src\Oro\Component\ConfigExpression\Condition\True.php 中保留

知道这可能是什么原因吗?

0 投票
1 回答
554 浏览

symfony - 我正在安装 OROCRM,所以在安装过程中出现错误

我正在安装 orocrm,所以在安装过程中出现错误这是我的命令 php app/console oro:install error is [Symfony\Component\Process\Exception\RuntimeException]
进程超时。我检查了 oro_install.log 文件没有任何错误这里是我遵循的指令页面http://www.orocrm.com/documentation/index/current/book/installation 谢谢

这是我的控制台 root@efttt-Intron-5t59:/home/eures/tance/crm-application/orocrm# php app/console oro:install

安装 Oro 应用程序。

Oro 要求检查:+---------+--------------------------------- -------------------------------------------------- -----+ | 支票 | 强制性要求
| +---------+-------------------------------------- -------------------------------------------------- -+ | 好的 | 必须安装供应商库
| | 好的 | app/cache/ 目录必须是可写的
| | 好的 | app/logs/ 目录必须是可写的
| | 好的 | 您安装的 PHP | 必须支持配置的默认时区“亚洲/科伦坡” | 好的 | json_encode() 必须可用
| | 好的 | session_start() 必须可用
| | 好的 | ctype_alpha() 必须可用
| | 好的 | token_get_all() 必须可用
| | 好的 | simplexml_import_dom() 必须可用
| | 好的 | PCRE 扩展必须可用
| | 好的 | 缓存文件夹不应位于加密目录中
| +---------+-------------------------------------- -------------------------------------------------- -+ +---------+-------------------------- --------+ | 支票 | PHP 设置 | +---------+-------------------------------------- -----+ | 好的 | 必须设置 date.timezone 设置 | | 好的 | php.ini 中必须禁用detect_unicode | | 好的 | memory_limit 应至少为 512M | +---------+-------------------------------------- -----+ +---------+--------------------------------- ---------------------------------+ | 支票 | 奥罗的具体要求
| +---------+-------------------------------------- ---------------------------------------+ | 好的 | PHP版本必须至少为5.4.9(安装5.6.11-1ubuntu3.1)| | 好的 | GD 扩展必须至少为 2.0
| | 好的 | cURL 扩展名必须至少为 7.0
| | 好的 | mcrypt_encrypt() 应该可用
| | 好的 | 国际扩展应该可用
| | 好的 | icu 库必须至少为 3.8
| | 好的 | web/uploads/ 目录必须是可写的
| | 好的 | web/media/ 目录必须是可写的
| | 好的 | web/bundles/ 目录必须是可写的
| | 好的 | app/attachment/ 目录必须是可写的
| | 好的 | web/js 目录必须是可写的
| | 好的 | web/css 目录必须是可写的
| | 好的 | app/config/parameters.yml 文件必须是可写的
| +---------+-------------------------------------- ---------------+ +---------+------------ -------------------------------------------------- -------------------------------------------------- -------------------------------------------------- -------------------------------------------------- ------------------------------------+ | 支票 | 可选建议
| +---------+-------------------------------------- -------------------------------------------------- -------------------------------------------------- -------------------------------------------------- ----------------------------------------------+ | 好的 | 需求文件应该是最新的
| | 好的 | 当使用 Symfony 安全组件的注销处理程序时,由于 PHP 错误 #63379,您应该至少有 PHP 5.4.11(作为一种解决方法,您还可以在安全注销处理程序配置中将 invalidate_session 设置为 false)| | 好的 | PCRE 扩展应至少为 8.0 版(已安装 8.35)
| | 好的 | 应安装 PHP-XML 模块
| | 好的 | mb_strlen() 应该可用
| | 好的 | iconv() 应该可用
| | 好的 | utf8_decode() 应该可用
| | 好的 | posix_isatty() 应该可用
| | 好的 | 国际扩展应该可用
| | 好的 | 应正确配置 intl 扩展
| | 好的 | intl ICU 版本至少应为 4+
| | 好的 | 应该安装一个 PHP 加速器
| | 好的 | short_open_tag 应该在 php.ini 中被禁用
| | 好的 | php.ini 中应该禁用magic_quotes_gpc
| | 好的 | 应该在 php.ini 中禁用 register_globals
| | 好的 | session.auto_start 应该在 php.ini 中被禁用
| | 好的 | 应该安装 PDO
| | 好的 | PDO 应该安装一些驱动程序(当前可用:dblib、mysql、odbc)
| | 好的 | 应安装 SOAP 扩展(API 调用)
| | 好的 | 安装了 JS 引擎(节点)
| +---------+-------------------------------------- -------------------------------------------------- -------------------------------------------------- -------------------------------------------------- --------------------------------------------------------------+

删除数据库模式... 成功删除数据库模式!清除实体配置缓存清除扩展实体缓存设置数据库。进程迁移...

Oro\Bundle\MigrationBundle\Migration\CreateMigrationTableMigration Oro\Bundle\OrganizationBundle\Migrations\Schema\OroOrganizationBundleInstaller Oro\Bundle\SecurityBundle\Migrations\Schema\v1_0\OroSecurityBundle Oro\Bundle\AttachmentBundle\Migrations\Schema\OroAttachmentBundleInstaller Oro\Bundle\EmailBundle\ Migrations\Schema\OroEmailBundleInstaller Oro\Bundle\UserBundle\Migrations\Schema\OroUserBundleInstaller Oro\Bundle\SSOBundle\Migrations\Schema\OroUserBundleInstaller Oro\Bundle\EntityConfigBundle\Migrations\Schema\OroEntityConfigBundleInstaller Oro\Bundle\EntityConfigBundle\Migrations\Schema\v1_3\ OroEntityConfigBundle Oro\Bundle\EntityConfigBundle\Migrations\Schema\v1_4\FixOptionSetObjects Oro\Bundle\EntityConfigBundle\Migrations\Schema\v1_5\DropFieldConfigOro\Bundle\EntityExtendBundle\Migrations\Schema\OroEntityExtendBundleInstaller Oro\Bundle\EntityExtendBundle\Migrations\Schema\v1_3\OroEntityExtendBundle Oro\Bundle\IntegrationBundle\Migrations\Schema\OroIntegrationBundleInstaller Oro\Bundle\ActivityBundle\Migrations\Schema\OroActivityBundleInstaller Oro\Bundle\ ActivityListBundle\Migrations\Schema\OroActivityListBundleInstaller Oro\Bundle\AddressBundle\Migrations\Schema\OroAddressBundleInstaller Oro\Bundle\BatchBundle\Migrations\Schema\OroBatchBundleInstaller Oro\Bundle\CalendarBundle\Migrations\Schema\OroCalendarBundleInstaller Oro\Bundle\CalendarBundle\Migrations\Schema\ v1_9\OroCalendarBundle Oro\Bundle\ConfigBundle\Migrations\Schema\OroConfigBundleInstaller Oro\Bundle\CronBundle\Migrations\Schema\v1_0\OroCronBundleOro\Bundle\CronBundle\Migrations\Schema\v1_0\JmsJob Oro\Bundle\CronBundle\Migrations\Schema\v1_1\JmsJob Oro\Bundle\DataAuditBundle\Migrations\Schema\OroDataAuditBundleInstaller Oro\Bundle\DataGridBundle\Migrations\Schema\OroDataGridBundleInstaller Oro\ Bundle\EmbeddedFormBundle\Migrations\Schema\OroEmbeddedFormBundleInstaller Oro\Bundle\ImapBundle\Migrations\Schema\v1_0\OroImapBundle Oro\Bundle\ImapBundle\Migrations\Schema\v1_1\OroImapBundle Oro\Bundle\ImapBundle\Migrations\Schema\v1_2\OroImapBundle Oro\ Bundle\InstallerBundle\Migrations\Schema\OroInstallerBundle Oro\Bundle\MigrationBundle\Migrations\Schema\v1_0\OroMigrationBundle Oro\Bundle\MigrationBundle\Migrations\Schema\v1_1\OroMigrationBundle Oro\Bundle\NoteBundle\Migrations\Schema\v1_0\OroNoteBundleOro\Bundle\NoteBundle\Migrations\Schema\v1_1\OroNoteBundle Oro\Bundle\NotificationBundle\Migrations\Schema\OroNotificationBundleInstaller Oro\Bundle\ReportBundle\Migrations\Schema\OroReportBundleInstaller Oro\Bundle\SearchBundle\Migrations\Schema\OroSearchBundleInstaller Oro\Bundle\ SegmentBundle\Migrations\Schema\OroSegmentBundleInstaller Oro\Bundle\SidebarBundle\Migrations\Schema\v1_0\OroSidebarBundle Oro\Bundle\SidebarBundle\Migrations\Schema\v1_1\OroSidebarBundle Oro\Bundle\TagBundle\Migrations\Schema\OroTagBundleInstaller Oro\Bundle\TranslationBundle\ Migrations\Schema\OroTranslationBundleInstaller Oro\Bundle\WindowsBundle\Migrations\Schema\v1_0\OroWindowsBundle Oro\Bundle\WorkflowBundle\Migrations\Schema\OroWorkflowBundleInstaller Oro\Bundle\CommentBundle\Migrations\Schema\v1_0\OroCommentBundleOro\Bundle\DashboardBundle\Migrations\Schema\OroDashboardBundleInstaller Oro\Bundle\NavigationBundle\Migrations\Schema\v1_0\OroNavigationBundle Oro\Bundle\NavigationBundle\Migrations\Schema\v1_1\OroNavigationBundle Oro\Bundle\NavigationBundle\Migrations\Schema\v1_2\OroNavigationBundle Oro\Bundle\NavigationBundle\Migrations\Schema\v1_3\OroNavigationBundle OroCRM\Bundle\ContactBundle\Migrations\Schema\OroCRMContactBundleInstaller OroCRM\Bundle\AccountBundle\Migrations\Schema\OroCRMAccountBundleInstaller --------------- -------------------------------------------------- --- >“Symfony\Component\Process\Exception\RuntimeException 进程超时。”

0 投票
0 回答
585 浏览

php - 安装 php5-intl

我目前正在尝试将 OroCRM 安装到 linux VirtualBox 系统上进行尝试。然而,当尝试作曲安装时,它给了我一些错误。其中一些需要 ext-intl,搜索后每个人都说只是这样做:

sudo apt-get install php5-intl

但是,这不起作用,并给了我这个消息:

包 php5-intl 不可用,但由其他包引用。这可能意味着该软件包丢失、已过时或只能从其他来源获得。E: 包 php5-intl 没有安装候选。

有谁知道如何正确安装 php5-intl 或 ext-intl?我在安装之前尝试过更新以及在网上找到的各种其他解决方案。

0 投票
2 回答
320 浏览

mysql - 访问数据库 Symfony2

有谁知道如何通过在 symfony2 应用程序下运行的接口访问数据库?就像您可以使用 phpmyadmin 查看数据库的方式一样?

0 投票
0 回答
241 浏览

php - 如何使用 PHP 解码从 Microsoft Outlook Express 6 收到的消息?

我在使用 OroCRM 电子邮件捆绑包时遇到问题,当我同步我的电子邮件时,其中一些电子邮件没有正确解码。在例如。使用 IMAP,我收到了这条消息,它现在没有被解码:

执行quoted_printable_decode函数后,我得到了这个结果:

函数执行后的真实结果必须是这样的:

这个问题我只看到从 Microsoft Outlook Express 6 发送的消息,从更高版本的电子邮件客户端我没有遇到这个问题。

0 投票
1 回答
274 浏览

php - OROPlateform 错误:您的要求无法解析为一组可安装的软件包

我正在我的 Windows 系统上安装 ORO-Plateform。我从它的官方网站下载了这个包并将它放在 xampp/htdocs 文件夹中。当我运行这个命令“ composer install --prefer-dist --no-dev ”。我得到以下错误。

问题 1 - zendframework/zend-i18n 2.1.5 的安装请求 -> 可由 zendframework/zend-i18n[2.1.5] 满足。- zendframework/zend-i18n 2.1.5 需要 ext-intl * -> 您的系统中缺少请求的 PHP 扩展 intl。

我该如何解决这个问题?请帮我。任何帮助将不胜感激。

0 投票
1 回答
187 浏览

php - 从 Magento 到 OroCRM 的网站跟踪不起作用

我是 OroCRM 新手,使用 OroCRM 1.9.0 和 Magento 1.9.2 版本。我能够将 Magento 与 OroCRM 集成并将客户和订单数据从 Magento 同步到 OroCRM。现在尝试使用文档https://www.orocrm.com/documentation/index/current/user-guide/marketing中所述配置的网站跟踪功能来跟踪我的 magento 客户交互,例如查看的产品、访问的页面等-tracking-website-records但不起作用。还安装了可用的扩展http://www.magentocommerce.com/magento-connect/orocrm-tracking.html但它仍然不适合我。任何人都可以帮助我跟踪magento电子商务并同步到OroCRM。谢谢

0 投票
0 回答
430 浏览

php - 在控制器 Symfony2 中调用非对象上的成员函数 get()

我是 OroCRM 和 Symfony2 的新手,在我的 DefaultController 的方法更新中我创建了一个 OroCRM\Bundle\MagentoBundle\Controller\CustomerController 的实例并调用它的方法

$extendCustomer 是 OroCRM\Bundle\MagentoBundle\Entity\Customer 的继承

但是当我调用 CustomerController 的方法更新时,它会抛出这个错误:

我已经用了 2 天的时间在谷歌上搜索了所有可以搜索的内容,但它仍然无法正常工作。我知道有一些服务,我不太了解。请给我一些建议。非常感谢。