oroinc / orocommerce Goto Github PK
View Code? Open in Web Editor NEWMain OroCommerce package with core functionality.
Home Page: http:///www.orocommerce.com/
License: Other
Main OroCommerce package with core functionality.
Home Page: http:///www.orocommerce.com/
License: Other
When running php app/console oro:install --env=prod
, I get this;
Installing Oro Application.
Oro requirements check:
+---------+---------------------------------------------------------------------------------------------------------------------------------------------------+
| Check | Mandatory requirements |
+---------+---------------------------------------------------------------------------------------------------------------------------------------------------+
| OK | Vendor libraries must be installed |
| OK | app/cache/ or var/cache/ directory must be writable |
| OK | app/logs/ or var/logs/ directory must be writable |
| OK | Configured default timezone "Europe/Amsterdam" must be supported by your installation of PHP |
| OK | iconv() must be available |
| OK | json_encode() must be available |
| OK | session_start() must be available |
| OK | ctype_alpha() must be available |
| OK | token_get_all() must be available |
| OK | simplexml_import_dom() must be available |
| OK | PCRE extension must be available |
| OK | Maximum supported filename length must be greater or equal 242 characters. Make sure that the cache folder is not inside the encrypted directory. |
+---------+---------------------------------------------------------------------------------------------------------------------------------------------------+
+---------+---------------------------------------------------------+
| Check | PHP settings |
+---------+---------------------------------------------------------+
| OK | date.timezone setting must be set |
| OK | detect_unicode must be disabled in php.ini |
| OK | xdebug.show_exception_trace must be disabled in php.ini |
| OK | xdebug.scream must be disabled in php.ini |
| OK | string functions should not be overloaded |
| OK | memory_limit should be at least 512M |
+---------+---------------------------------------------------------+
+---------+-----------------------------------------------------+
| Check | Oro specific requirements |
+---------+-----------------------------------------------------+
| OK | PHP version must be at least 5.6 (7.0.11 installed) |
| OK | GD extension must be at least 2.0 |
| OK | cURL extension must be at least 7.0 |
| OK | mcrypt_encrypt() should be available |
| OK | intl extension should be available |
| OK | icu library must be at least 3.8 |
| OK | zip extension should be installed |
| OK | web/uploads/ directory must be writable |
| OK | web/media/ directory must be writable |
| OK | web/bundles/ directory must be writable |
| OK | app/attachment/ directory must be writable |
| OK | web directory must be writable |
| OK | app/config/parameters.yml file must be writable |
+---------+-----------------------------------------------------+
+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Check | Optional recommendations |
+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OK | Vendors should be installed in order to check all requirements. |
| WARNING | Set "xdebug.max_nesting_level" to e.g. "250" in php.ini* to stop Xdebug's infinite recursion protection erroneously throwing a fatal error in your project. |
| OK | Requirements file should be up-to-date |
| OK | PCRE extension should be at least version 8.0 (8.38 installed) |
| OK | PHP-DOM and PHP-XML modules should be installed |
| OK | mb_strlen() should be available |
| OK | iconv() should be available |
| OK | utf8_decode() should be available |
| OK | filter_var() should be available |
| OK | posix_isatty() should be available |
| OK | intl extension should be available |
| OK | intl extension should be correctly configured |
| OK | intl ICU version should be at least 4+ |
| OK | intl.error_level should be 0 in php.ini |
| WARNING | Install and/or enable a PHP accelerator (highly recommended). |
| OK | short_open_tag should be disabled in php.ini |
| OK | magic_quotes_gpc should be disabled in php.ini |
| OK | register_globals should be disabled in php.ini |
| OK | session.auto_start should be disabled in php.ini |
| OK | PDO should be installed |
| OK | PDO should have some drivers installed (currently available: mysql, odbc, sqlite) |
| OK | SOAP extension should be installed (API calls) |
| WARNING | Install and enable the Tidy extension. |
| OK | A JS Engine (node) is installed |
+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
Setting up database.
Process migrations...
> Oro\Bundle\EntityExtendBundle\Migration\LoadEntityConfigStateMigration
> Oro\Bundle\MigrationBundle\Migration\UpdateBundleVersionMigration
> Oro\Bundle\CheckoutBundle\Migrations\Schema\RemoveWorkflowFieldsMigration
> Oro\Bundle\EntityExtendBundle\Migration\RefreshExtendCacheMigration
> Oro\Bundle\EntityConfigBundle\Migration\UpdateEntityConfigMigration
> Oro\Bundle\EntitySerializedFieldsBundle\Migration\SerializedDataMigration
> Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendConfigMigration
> Oro\Bundle\ActivityContactBundle\Migration\ActivityContactMigration
> Oro\Bundle\ActivityListBundle\Migration\ActivityListMigration
> Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendIndicesMigration
> Oro\Bundle\EntityConfigBundle\Migration\WarmUpEntityConfigCacheMigration
Loading permissions...
> VIEW
> CREATE
> EDIT
> DELETE
> ASSIGN
> CONFIGURE
> MANAGE_API_KEY
> TRANSLATE
Loading workflow definitions...
[Oro\Component\Action\Exception\AssemblerException]
Option "type" is required
oro:workflow:definitions:load [--directories [DIRECTORIES]] [--workflows [WORKFLOWS]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--disabled-listeners DISABLED-LISTENERS] [--] <command>
[RuntimeException]
The command '/usr/local/Cellar/php70/7.0.11_4/bin/php' 'app/console' 'oro:workflow:definitions:load' '--env=prod' terminated with an exit code: 1.
oro:install [--application-url [APPLICATION-URL]] [--organization-name [ORGANIZATION-NAME]] [--user-name [USER-NAME]] [--user-email [USER-EMAIL]] [--user-firstname [USER-FIRSTNAME]] [--user-lastname [USER-LASTNAME]] [--user-password [USER-PASSWORD]] [--skip-assets] [--force] [--symlink] [--sample-data [SAMPLE-DATA]] [--drop-database] [--skip-translations] [--force-debug] [--timeout [TIMEOUT]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--disabled-listeners DISABLED-LISTENERS] [--] <command>
I'm currently running a vagrant box on a Mac, and I'm getting an issue with sessions on installation.
( ! ) Warning: SessionHandler::read(): Session data file is not created by your uid in /var/www/orodemo_orocommerce/html/app/cache/prod/classes.php on line 416
( ! ) Warning: SessionHandler::write(): Session data file is not created by your uid in /var/www/orodemo_orocommerce/html/app/cache/prod/classes.php on line 420
( ! ) Warning: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/www/orodemo_orocommerce/html/app/cache/sessions) in /var/www/orodemo_orocommerce/html/app/cache/prod/classes.php on line 161
This issue appears to be related to php 7.0 and session path being not writable. Updating the session path save from the local file system to php's session location resolved the problem.
As this appears to be a Symfony issue, I'm not sure if the Oro team has any plans or recommendations. Has your team experienced this before on Vagrant and if so what is the best path towards resolution?
Error:
> loading Oro\Bundle\ProductBundle\Migrations\Data\ORM\DisableWrongConfigurableProducts
[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
You have requested a non-existent service "oro_product.provider.variant_field_provider". Did you mean one of these: "oro_pricing.provider.price_list_provider", "oro_product.provider.brand_status_provider", "oro_product.provider.content_variant_segment_provider", "oro_product.provider.grid_count_provider", "oro_product.provider.page_template_provider", "oro_product.provider.product_status_provider", "oro_product.provider.product_type_provider", "oro_product.provider.product_units_provider", "oro_product.provider.custom_field_provider"?
https://github.com/oroinc/orocommerce/blob/master/src/Oro/Bundle/ProductBundle/Migrations/Data/ORM/DisableWrongConfigurableProducts.php#L61
https://github.com/oroinc/orocommerce/blob/master/src/Oro/Bundle/ProductBundle/Resources/config/services.yml#L1101
If product is disabled there is possibility to show it on frontend. Just replace ID in URL (http://localhost:3080/app_dev.php/product/view/67).
Hello,
I'm trying to make a fresh install locally but I'm facing a weird issue.
$ php app/console oro:install --env=prod --timeout=0
Installing Oro Application.
...
[RuntimeException]
Failed migrations: Oro\Bundle\UserBundle\Migrations\Schema\OroUserBundleInstaller.
oro:migration:load [--force] [--dry-run] [--show-queries] [--bundles [BUNDLES]] [--exclude [EXCLUDE]] [--timeout [TIMEOUT]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--disabled-listeners DISABLED-LISTENERS] [--] <command>
Is there any workaround for this issue?
I'll continue my investigations tomorrow but if somebody has an idea in the meantime... ;-)
Hi,
I'm running following system
Windows 10 64-bit
XAMPP v3.2.2
PHP 5.6.24 (cli) (built: Jul 20 2016 21:19:29)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
I followed the tutorial and then I set up the virtual host to point to /web
.
Visiting that page on the browser shows me following error
Fatal error:
Uncaught exception 'RuntimeException' with message 'Mon Mar 13 22:26:20 2017 (8024):
Fatal Error Unable to open base address file ' in
C:\xampp\htdocs\orocommerce\vendor\oro\platform\src\Oro\Bundle\EntityExtendBundle\OroEntityExtendBundle.php:131
Stack trace: #0
C:\xampp\htdocs\orocommerce\vendor\oro\platform\src\Oro\Bundle\EntityExtendBundle\OroEntityExtendBundle.php(94):
Oro\Bundle\EntityExtendBundle\OroEntityExtendBundle->checkConfigs() #1
C:\xampp\htdocs\orocommerce\vendor\oro\platform\src\Oro\Bundle\EntityExtendBundle\OroEntityExtendBundle.php(70):
Oro\Bundle\EntityExtendBundle\OroEntityExtendBundle->ensureInitialized() #2
C:\xampp\htdocs\orocommerce\app\bootstrap.php.cache(2796):
Oro\Bundle\EntityExtendBundle\OroEntityExtendBundle->build(Object(Oro\Component\DependencyInjection\ExtendedContainerBuilder)) #3
C:\xampp\htdocs\orocommerce\app\bootstrap.php.cache(2775):
Symfony\Component\HttpKernel\Kernel->prepareContainer(Object(Oro\Component\DependencyInjection\ExtendedContainerBuilder)) #4
C:\xampp\htdocs in C:\xampp\htdocs\orocommerce\vendor\oro\platform\src\Oro\Bundle\EntityExtendBundle\OroEntityExtendBundle.php on line 131
Can you explain what the FallbackBundle is used for in relation to translation?
Hello,
I am not so sure if the ORO core team meant this or not, but what I found out is that composer.lock is listed in the ignorelist.The composer.lock also included in GIT.
Expected results:
I see there is a bug when using address collection. When the country is changed , the states have to re populate. However this is not happening.
I see this bug in ORO Commerce in the Admin Customer Management Screen - Both in Add Address via popup & Edit customer screen
That same issue is found in my implementation on another screen.
I guess this bug is because is AddressCollectionTypeSubscriber missing from the Github Source code. But Documentation say I have to add that as a Event Listener to the form
When I change the value of "css_debug_all" in config_dev.yml (false to true), the back-office is broken
oro_assetic:
css_debug: ~
css_debug_all: true
After this changement, I execute cache/assets/assetic
app/console cache:clear
app/console oro:assets:install
app/console assetic:dump
It's normal ?
Customer view page doesn't show a name of an account it is related to.
I had to override infoAction in my custom CustomerController.
public function infoAction(Customer $customer)
{
$account = null;
$am = $this->get('oro_sales.manager.account_customer');
if ($salesCustomer = $am->getAccountCustomerByTarget($customer, false)){
$account = $salesCustomer->getAccount();
}
return [
'entity' => $customer,
'account' => $account,
'treeData' => $this->get('oro_customer.customer_tree_handler')->createTree($customer),
];
}
also I added few lines into overridden template
{% if account %}
{{ UI.renderHtmlProperty('oro.account.name.label'|trans, UI.entityViewLink(account, account.name, 'oro_account_view')) }}
{% endif %}
Please add this feature to an upcoming release.
Dear Orocommerce team,
We have been testing Orocmmerce for a couple of days now.
As part of the testing process, we deleted the default price list (which had the ID 1).
Since then, we have created two new lists, with one of them being the new default list.
However, when we now try to access the url /admin/config/system/commerce/pricing
, Orocommerce fails with an error.
Looking at the logs, the following Exception is thrown:
request.CRITICAL: Uncaught PHP Exception InvalidArgumentException: "Price list record with id 1 not found, while reading default price list system configuration." at /var/www/orocommerce-application/vendor/oro/commerce/src/OroB2B/Bundle/PricingBundle/SystemConfig/PriceListConfigConverter.php line 111 {"exception":"[object] (InvalidArgumentException: Price list record with id 1 not found, while reading default price list system configuration. at /var/www/orocommerce-application/vendor/oro/commerce/src/OroB2B/Bundle/PricingBundle/SystemConfig/PriceListConfigConverter.php:111)"} []
Do you know, why Orocommerce tries to find the not existing list with ID 1?
Best Regards,
Manuel
Hi,
orocommerce has nice performance out of the box. On my local dev machine, I have loading times on the frontend about 500ms with php7.1, but why not make it faster :)
I just did a xdebug dump and played it through webgrind to visualize the execution times.
As you see, the symfony component "propertyAccess" is one of the big time consumers.
Is it possible to implement a caching strategy or something?
What are your current plans regarding performance in general?
Steps to Reproduce
Run git clone --recursive -b 1.0.0 https://github.com/orocommerce/orocommerce-application.git
Setup and Apache Virtualhost pointing to web/
as the Docroot
Load URL in browser
Expected Behavior: Application runs or displays installation steps
Actual Behavior: Receive vague PHP error about cache file not being found
When I try to navigate through a form via keyboard and checking a checkbox via the space bar, the checkbox gets immediately unchecked. This happens in Firefox 57. It doesn't happen in Chrome or when JavaScript is disabled. I reproduced this also in the OroCommerce demo environment. See the attached gif.
I add a none existed function , it only shows following stack info
Fatal error: Uncaught Error: Call to undefined function Oro\Bundle\SecurityBundle\ORM\Walker\breakhere() in /private/var/www/orocommerce-application/vendor/oro/platform/src/Oro/Bundle/SecurityBundle/ORM/Walker/OwnershipConditionDataBuilder.php on line 224
( ! ) Error: Call to undefined function Oro\Bundle\SecurityBundle\ORM\Walker\breakhere() in /private/var/www/orocommerce-application/vendor/oro/platform/src/Oro/Bundle/SecurityBundle/ORM/Walker/OwnershipConditionDataBuilder.php on line 224
Call Stack
# Time Memory Function Location
1 0.0002 362736 {main}( ) .../app_dev.php:0
2 0.0011 485712 Symfony\Component\HttpKernel\Kernel->handle( ) .../app_dev.php:34
3 0.1373 7499480 Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle( ) .../Kernel.php:185
it seems oro-platform hides lots of stack information, anyway to show more ?
Steps to Reproduce
Run git clone --recursive -b 1.0.0 https://github.com/orocommerce/orocommerce-application.git
Attempt to run Symfony console with php app/console
Expected Behavior: See list of Commands
Actual Behavior: See vague warning about missing cache file.
$ php app/console
PHP Warning: require_once(/path/to/oro/orocommerce-application/app/bootstrap.php.cache): failed to open stream: No such file or directory in /path/to/oro/orocommerce-application/app/console on line 10
PHP Stack trace:
PHP 1. {main}() /path/to/oro/orocommerce-application/app/console:0
Warning: require_once(/path/to/oro/orocommerce-application/app/bootstrap.php.cache): failed to open stream: No such file or directory in /path/to/oro/orocommerce-application/app/console on line 10
Call Stack:
0.0002 358608 1. {main}() /path/to/oro/orocommerce-application/app/console:0
PHP Fatal error: require_once(): Failed opening required '/path/to/oro/orocommerce-application/app/bootstrap.php.cache' (include_path='.:/usr/local/php5/lib/php') in /path/to/oro/orocommerce-application/app/console on line 10
PHP Stack trace:
PHP 1. {main}() /path/to/oro/orocommerce-application/app/console:0
Fatal error: require_once(): Failed opening required '/path/to/oro/orocommerce-application/app/bootstrap.php.cache' (include_path='.:/usr/local/php5/lib/php') in /path/to/oro/orocommerce-application/app/console on line 10
Call Stack:
0.0002 358608 1. {main}() /path/to/oro/orocommerce-application/app/console:0
While running composer install --prefer-dist
when installing Orocommerce, I get a warning that guzzle/guzzle
is deprecated. You should depend on guzzlehttp/guzzle
.
Hi!
I found a typo in RequestProductItem entity. In $requestProduct field should be: @ORM\ManyToOne(targetEntity="RequestProduct", inversedBy="requestProductItems")
instead of
@ORM\ManyToOne(targetEntity="requestProduct", inversedBy="requestProductItems")
This little thing causes huge problems with api processing (e.g. processor CompleteDefinition throws 'Class Oro\Bundle\RFPBundle\Entity\requestProduct does not exist').
When editing HTML templates the editor has an issue with converting the greater than symbol "<" to ">" Which doesn't work for twig code blocks.
Line that the editor converts:
<p>{{ payment_methods[0] }} {% elseif payment_methods|length > 1 %}</p>
Resulting error:
The template for Content (English) has syntax error: Unexpected character "&" at line 14.
When you open the HTML editor again you can see that the > was converted to ">"
This can be observed by:
First exception
string(16) "opportunity_flow"
[Oro\Component\Action\Exception\AssemblerException]
Option "type" is required
oro:workflow:definitions:load [--directories [DIRECTORIES]] [--workflows [WORKFLOWS]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--disabled-listeners DISABLED-LISTENERS] [--] <command>
solved by
/Oro/Bundle/SalesBundle/Resources/config/oro/workflows/opportunity_flow/attributes.yml
status:
property_path: opportunity.status
type: string
Second
oading "main" data fixtures ...
> loading [-240] Oro\Bundle\OrganizationBundle\Migrations\Data\ORM\LoadOrganizationAndBusinessUnitData
> loading [-230] Oro\Bundle\CalendarBundle\Migrations\Data\ORM\UpdateCalendarWithOrganization
> loading Oro\Bundle\ScopeBundle\Migrations\Data\ORM\LoadDefaultScope
> loading Oro\Bundle\CallBundle\Migrations\Data\ORM\LoadCallStatusData
> loading Oro\Bundle\SalesBundle\Migrations\Data\ORM\LoadLeadSourceData
[Doctrine\Common\Persistence\Mapping\MappingException]
Class 'Extend\Entity\EV_Lead_Source' does not exist
Third
[Doctrine\Common\Persistence\Mapping\MappingException]
Class 'Extend\Entity\EV_Prod_Inventory_Status' does not exist
Fourth
> loading Oro\Bridge\CustomerAccount\Migrations\Data\ORM\CreateAccountEntities
[Doctrine\ORM\Query\QueryException]
[Semantical Error] line 0, col 118 near 'customer_e197f906': Error: Class Oro\Bundle\SalesBundle\Entity\Customer has no field or association named customer_e197f906
The link in vendor/bower-asset/backbone.paginator/.npmignore
is broken on 1.0.0beta.5.
It makes break silently the loop processing of the RecursiveDirectoryIterator
in Oro\Bundle\DistributionBundle\OroKernel::findBundles
.
No error is returned, the file app/cache/<env>/bundles.php
then contains an empty array.
To fix this, I had to delete the link manually
I noticed that listed price on product frontend listing is the same for all products on the listing (tier prices are used from the first product on the list). I suppose that it's invalid behavior. This bug exists on your public demo version.
I am using the Akeneo to OroCommerce connector and I experienced these error messages in the top menu (which is here half the screen height, with a loader animation on the page, never ending)
Warning: Declaration of Oro\Bundle\ProductBundle\Entity\Product::removeShortDescription(Oro\Bundle\LocaleBundle\Entity\LocalizedFallbackValue $shortDescription) should be compatible with Extend\Entity\EX_OroProductBundle_Product::removeShortDescription($value) in /.../vendor/oro/commerce/src/Oro/Bundle/ProductBundle/Entity/Product.php on line 65
Warning: Declaration of Oro\Bundle\ProductBundle\Entity\Product::removeName(Oro\Bundle\LocaleBundle\Entity\LocalizedFallbackValue $name) should be compatible with Extend\Entity\EX_OroProductBundle_Product::removeName($value) in /.../vendor/oro/commerce/src/Oro/Bundle/ProductBundle/Entity/Product.php on line 65
Warning: Declaration of Oro\Bundle\ProductBundle\Entity\Product::removeDescription(Oro\Bundle\LocaleBundle\Entity\LocalizedFallbackValue $description) should be compatible with Extend\Entity\EX_OroProductBundle_Product::removeDescription($value) in /.../vendor/oro/commerce/src/Oro/Bundle/ProductBundle/Entity/Product.php on line 65
Warning: Declaration of Oro\Bundle\ProductBundle\Entity\Product::addShortDescription(Oro\Bundle\LocaleBundle\Entity\LocalizedFallbackValue $shortDescription) should be compatible with Extend\Entity\EX_OroProductBundle_Product::addShortDescription($value) in /.../vendor/oro/commerce/src/Oro/Bundle/ProductBundle/Entity/Product.php on line 65
Warning: Declaration of Oro\Bundle\ProductBundle\Entity\Product::addName(Oro\Bundle\LocaleBundle\Entity\LocalizedFallbackValue $name) should be compatible with Extend\Entity\EX_OroProductBundle_Product::addName($value) in /.../vendor/oro/commerce/src/Oro/Bundle/ProductBundle/Entity/Product.php on line 65
Warning: Declaration of Oro\Bundle\ProductBundle\Entity\Product::addDescription(Oro\Bundle\LocaleBundle\Entity\LocalizedFallbackValue $description) should be compatible with Extend\Entity\EX_OroProductBundle_Product::addDescription($value) in /.../vendor/oro/commerce/src/Oro/Bundle/ProductBundle/Entity/Product.php on line 65
I think that ajax parameters was missed (We should pass also customer and currency):
<div class="quote-lineitems" data-page-component-module="oroui/js/app/components/view-component" data-page-component-options="{{ { view: 'orosale/js/app/views/line-items-view', tierPrices: tierPrices|default({}), tierPricesRoute: 'oro_pricing_price_by_customer', customer: entity.customer is null ? null : entity.customer.id, currency: entity.currency }|json_encode }}" data-layout="separate"> {{ form_widget(form.quoteProducts) }} {{ form_errors(form.quoteProducts) }} </div>
Now it works ok (Ajax has a right response) but UI element should be updated. I think that should be called also "oro_quote_entry_point" request
There is an error on the websocket configuration parameters when not listening to the default HTTP port. The URL built has 2 times the port prefix, such as :
My cache is up to date and therefore may not interact.
There is my parameters.yml :
# This file is auto-generated during the composer install
parameters:
database_driver: pdo_mysql
database_host: 127.0.0.1
database_port: null
database_name: oro_commerce
database_user: oro_commerce
database_password: password
mailer_transport: mail
mailer_host: 127.0.0.1
mailer_port: null
mailer_encryption: null
mailer_user: null
mailer_password: null
websocket_address: 0.0.0.0
websocket_port: 8000
websocket_bind_address: 0.0.0.0
websocket_frontend_host: '*'
websocket_frontend_port: 8000
websocket_backend_host: '*'
websocket_backend_port: 8000
backend_prefix: /admin
session_handler: session.handler.native_file
locale: en
secret: *secret*
installed: '2015-08-19T14:02:14+02:00'
assets_version: W3xR8CKOOnLDtKM9gBQ=
Maybe I'm misusing the parameters.yml file's parameters values.
The following datagrid configuration is incorrect.
The join is not taking into account free form line items, thus they are not displayed on the Order View in admin which is very bad!
https://github.com/orocommerce/orocommerce/blob/8b18064902193018c44136ec02e1072c0e139b3c/src/Oro/Bundle/OrderBundle/Resources/config/oro/datagrids.yml#L519-L550
I solved the problem via an event listener but I had to remove lines 547-550 in Oro/Bundle/OrderBundle/Resources/config/oro/datagrids.yml
which is even worse.
My temporary solution:
oro_order.event_listener.order_line_items_datagrid:
class: 'Oro\Bundle\OrderBundle\EventListener\LineItemsDatagridListener'
arguments:
- @doctrine
tags:
- { name: kernel.event_listener, event: oro_datagrid.orm_datasource.result.after.order-line-items-grid, method: onResultAfter }
<?php
namespace Oro\Bundle\OrderBundle\EventListener;
use Symfony\Bridge\Doctrine\RegistryInterface;
use Oro\Bundle\ProductBundle\Entity\Repository\ProductRepository;
use Oro\Bundle\DataGridBundle\Datasource\ResultRecord;
use Oro\Bundle\DataGridBundle\Event\OrmResultAfter;
class LineItemsDatagridListener
{
protected $registry;
public function __construct(RegistryInterface $registry)
{
$this->registry = $registry;
}
/**
* @param OrmResultAfter $event
*/
public function onResultAfter(OrmResultAfter $event)
{
$repository = $this->getProductRepository();
/** @var ResultRecord[] $records */
$records = $event->getRecords();
$skus = [];
foreach ($records as $record) {
$product = $record->getValue('product');
if ($product) {
$skus[] = $record->getValue('productSku');
}
}
if (empty($skus)) return;
$products = $repository->getProductWithNamesBySku($skus);
if (empty($products)) return;
$skuName = [];
foreach ($products as $product){
$names = $product->getNames();
if (!empty($names)){
$skuName[$product->getSku()] = $names[0];
}
}
if (empty($skuName)) return;
foreach ($records as $record) {
$sku = $record->getValue('productSku');
if ($sku && isset($skuName[$sku])){
$record->addData(['productName' => $skuName[$sku]]);
}
}
}
/**
* @return ProductRepository
*/
protected function getProductRepository()
{
return $this->registry
->getManagerForClass('OroProductBundle:Product')
->getRepository('OroProductBundle:Product');
}
}
I couldn't find a better solution quickly...
X-Powered-By: PHP/7.0.18
Content-type: text/html; charset=UTF-8
Requirements validation for PHP CLI
CHECK:
If you have multiple PHP versions installed, you need to configure ORO_PHP_PATH variable with PHP binary path used by web server
Hello,
My fresh install of Orocommerce gives me a 'Widget content loading failed' error.
Image: https://i.imgur.com/N2eYSwK.png
The Console of the Browser shows the following error:
Mixed Content: The page at 'https://domain/app.php/admin/sale/quote/view/1?grid[quotes-grid]=i%3D1%26p%3D25%26s%255Bqid%255D%3D-1%26c%3Dqid1.customerUserName1.customerName1.internalStatusName1.customerStatusName1.ownerName1.expired1.validUntil1.poNumber1.shipUntil1.createdAt1.updatedAt1.workflowStepLabel1.payment_term_7c4f1e8e0%26v%3D__all__%26a%3Dgrid%26g%255BoriginalRoute%255D%3Doro_sale_quote_index' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://domain/app.php/admin/workflowwidget/transition/edit/attributes/32/send_to_customer_transition?_wid=3558bc1b-9458-4162-95b6-a9390831711c&_widgetContainer=dialog'. This request has been blocked; the content must be served over HTTPS.
Is this related to this other issue on ORO platform?
The installation have been stopped on load translation failed on 5th stage( finish stage) and cannot proceed further.
OS- ubuntu 16.04
php - 7.0
orocommerce 1.4
Duplication steps
Line 156 of mvp-swag/vendor/oro/commerce/src/Oro/Bundle/ShoppingListBundle/Entity/Repository/LineItemRepository.php
$productName = $lineItem->getProduct()->getName()->getString();
Temporary resolution
The only way I could resolve this issue was to comment out the line and then the front-end would load.
Then I had to go in and remove the item from my shopping-list.
While running command app/console oro:message:consume --env prod --process-isolation -vvv
a fatal error happened :
[debug] Payload: '{"jobId":1154}'
[debug] [DoctrineClearIdentityMapExtension] Clear identity map for manager "default"
[debug] [DoctrineClearIdentityMapExtension] Clear identity map for manager "config"
[debug] [DoctrineClearIdentityMapExtension] Clear identity map for manager "message_queue_job"
[debug] [DoctrineClearIdentityMapExtension] Clear identity map for manager "search"
[info] Message processed: oro.message_queue.consumption.ack
[debug] Switch to a queue oro.default
[info] Pre receive Message
[info] Message received
[debug] Headers: array (
'content_type' => 'application/json',
'message_id' => 'oro.58dd0d25b2c702.50659987',
'timestamp' => 1490881829,
)
[debug] Properties: array (
'oro.message_queue.client.topic_name' => 'oro.message_queue.job.calculate_root_job_status',
'oro.message_queue.client.processor_name' => 'oro_message_queue.job.calculate_root_job_status_processor',
'oro.message_queue.client.queue_name' => 'oro.default',
)
[debug] Payload: '{"jobId":1154}'
[debug] [DoctrineClearIdentityMapExtension] Clear identity map for manager "default"
[debug] [DoctrineClearIdentityMapExtension] Clear identity map for manager "config"
[debug] [DoctrineClearIdentityMapExtension] Clear identity map for manager "message_queue_job"
[debug] [DoctrineClearIdentityMapExtension] Clear identity map for manager "search"
[info] Message processed: oro.message_queue.consumption.ack
[debug] Switch to a queue oro.default
[info] Pre receive Message
[info] Message received
[debug] Headers: array (
'content_type' => 'application/json',
'message_id' => 'oro.58dd0d257cc998.42710349',
'timestamp' => 1490881829,
)
[debug] Properties: array (
'oro.message_queue.client.topic_name' => 'oro.integration.sync_integration',
'oro.message_queue.client.processor_name' => 'oro_integration.async.sync_integration_processor',
'oro.message_queue.client.queue_name' => 'oro.default',
)
[debug] Payload: '{"integration_id":1,"connector_parameters":[],"connector":null,"transport_batch_size":100}'
[debug] [DoctrineClearIdentityMapExtension] Clear identity map for manager "default"
[debug] [DoctrineClearIdentityMapExtension] Clear identity map for manager "config"
[debug] [DoctrineClearIdentityMapExtension] Clear identity map for manager "message_queue_job"
[debug] [DoctrineClearIdentityMapExtension] Clear identity map for manager "search"
PHP Fatal error: Uncaught Error: Call to undefined method Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken::setOrganizationContext() in /home/webuser/htdocs/vendor/oro/platform/src/Oro/Bundle/IntegrationBundle/Async/SyncIntegrationProcessor.php:161
Stack trace:
#0 /home/webuser/htdocs/vendor/oro/platform/src/Oro/Bundle/IntegrationBundle/Async/SyncIntegrationProcessor.php(133): Oro\Bundle\IntegrationBundle\Async\SyncIntegrationProcessor->updateToken(Object(Oro\Bundle\IntegrationBundle\Entity\Channel))
#1 /home/webuser/htdocs/vendor/oro/platform/src/Oro/Component/MessageQueue/Client/DelegateMessageProcessor.php(36): Oro\Bundle\IntegrationBundle\Async\SyncIntegrationProcessor->process(Object(Oro\Component\MessageQueue\Transport\Dbal\DbalMessage), Object(Oro\Component\MessageQueue\Transport\Dbal\DbalSession))
#2 /home/webuser/htdocs/vendor/oro/platform/src/Oro/Component/MessageQueue/Consumption/QueueConsumer.php(183): Oro\Component\MessageQueue\Client\DelegateMessageProcessor->process(Object(Oro\Componen in /home/webuser/htdocs/vendor/oro/platform/src/Oro/Bundle/IntegrationBundle/Async/SyncIntegrationProcessor.php on line 161
The command then runs again normally.
The addition of internal statuses in v1.4 for orders is awesome, but status is not returned via the API request to GET /admin/api/orders
This makes life very difficult. And also you cannot filter orders by status.
When I execute:
php app/console assetic:dump
I get:
[Symfony\Component\Debug\Exception\FatalThrowableError]
Call to a member function getName() on null
Exception trace:
() at /var/www/orocommerce-application/vendor/oro/customer-portal/src/Oro/Bundle/FrontendBundle/Twig/FrontendAsseticTokenParser.php:47
Oro\Bundle\FrontendBundle\Twig\FrontendAsseticTokenParser->createAsseticNode() at /var/www/orocommerce-application/vendor/oro/platform/src/Oro/Bundle/AsseticBundle/Twig/AsseticTokenParser.php:99
Oro\Bundle\AsseticBundle\Twig\AsseticTokenParser->parse() at /var/www/orocommerce-application/vendor/twig/twig/lib/Twig/Parser.php:193
Twig_Parser->subparse() at /var/www/orocommerce-application/vendor/twig/twig/lib/Twig/Parser.php:106
Twig_Parser->parse() at /var/www/orocommerce-application/vendor/twig/twig/lib/Twig/Environment.php:684
Twig_Environment->parse() at /var/www/orocommerce-application/app/cache/dev/appDevDebugProjectContainer.php:112660
OroBundleUIBundleTwigEnvironment_000000000d92f67c000000002acdb0b1248023995c182bc3777d1ad74ce79b5d->parse() at /var/www/orocommerce-application/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/TwigFormulaLoader.php:38
Assetic\Extension\Twig\TwigFormulaLoader->load() at /var/www/orocommerce-application/vendor/kriswallsmith/assetic/src/Assetic/Factory/Loader/CachedFormulaLoader.php:59
Assetic\Factory\Loader\CachedFormulaLoader->load() at /var/www/orocommerce-application/vendor/kriswallsmith/assetic/src/Assetic/Factory/LazyAssetManager.php:160
Assetic\Factory\LazyAssetManager->load() at /var/www/orocommerce-application/vendor/kriswallsmith/assetic/src/Assetic/Factory/LazyAssetManager.php:195
Assetic\Factory\LazyAssetManager->getNames() at /var/www/orocommerce-application/app/cache/dev/appDevDebugProjectContainer.php:113580
AsseticFactoryLazyAssetManager_000000000d92f394000000002acdb0b1248023995c182bc3777d1ad74ce79b5d->getNames() at /var/www/orocommerce-application/vendor/symfony/assetic-bundle/Command/DumpCommand.php:117
Symfony\Bundle\AsseticBundle\Command\DumpCommand->execute() at /var/www/orocommerce-application/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:259
Symfony\Component\Console\Command\Command->run() at /var/www/orocommerce-application/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:866
Symfony\Component\Console\Application->doRunCommand() at /var/www/orocommerce-application/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:193
Symfony\Component\Console\Application->doRun() at /var/www/orocommerce-application/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:92
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/orocommerce-application/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:124
Symfony\Component\Console\Application->run() at /var/www/orocommerce-application/app/console:22
Hello,
Here's the error when I run
app/console oro:message-queue:consume --env=prod
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Oro\Bundle\RedirectBundle\Generator\SlugEntityGenerator::generate() must implement interface Oro\Bundle\RedirectBundle\Entity\SluggableInterface, null given, called in /www/oro/vendor/oro/commerce/src/Oro/Bundle/RedirectBundle/Async/DirectUrlProcessor.php on line 81 and defined in /www/oro/vendor/oro/commerce/src/Oro/Bundle/RedirectBundle/Generator/SlugEntityGenerator.php:33 Stack trace: #0 /www/oro/vendor/oro/commerce/src/Oro/Bundle/RedirectBundle/Async/DirectUrlProcessor.php(81): Oro\Bundle\RedirectBundle\Generator\SlugEntityGenerator->generate(NULL) #1 /www/oro/vendor/oro/platform/src/Oro/Component/MessageQueue/Client/DelegateMessageProcessor.php(36): Oro\Bundle\RedirectBundle\Async\DirectUrlProcessor->process(Object(Oro\Component\MessageQueue\Transport\Dbal\DbalMessage), Object(Oro\Component\MessageQueue\Transport\Dbal\DbalSession)) #2 /www/oro/vendor/oro/platform/src/Oro/Component/MessageQueue/Consumption/QueueConsumer.php(182): Oro\Component
Here is my config (Oro CRM + Oro Commerce)
Do you have an idea ?
Mac OS 10.12.6
php 7.1.5 from homebrew
running installer with
php app/console oro:install --env=prod --timeout=0
I'm getting an error at
16:24:16 [file+] /Library/WebServer/Documents/orocommerce-application/web/js/oro.min.js
Launching "Update website URL" (/Library/WebServer/Documents/orocommerce-application/vendor/oro/commerce/src/Oro/Bundle/WebsiteBundle/install.php) script
// Clearing the cache for the prod environment with debug false
[Symfony\Component\Process\Exception\RuntimeException]
The process has been signaled with signal "11".
I previously had a similar error earlier in the install process when I was using the php from liip.ch, but I saw the post in another thread saying that was a problematic package. Going to homebrew for apache and php got me much farther along, but still not all the way there.
Tree views (Categories, CMS pages, etc) does not display in a practical manner on tablet view and are unusable on smartphones.
Maybe some alternative display could be considered, such as a sliding tree menu such as eg a sliding menu.
Hi, I am web developer, I am very interested in your project.
Is there demo to see how it works.
Hello !
Just to notify that we can not install vendors with php version under 5.5.
This is the result of a composer install with PHP 5.4.45:
Problem 1 - Installation request for doctrine/cache v1.6.0 -> satisfiable by doctrine/cache[v1.6.0]. - doctrine/cache v1.6.0 requires php ~5.5|~7.0 -> your PHP version (5.4.45) does not satisfy that requirement.
Problem 2 - Installation request for zendframework/zend-code 2.6.3 -> satisfiable by zendframework/zend-code[2.6.3]. - zendframework/zend-code 2.6.3 requires php ^5.5 || 7.0.0 - 7.0.4 || ^7.0.6 -> your PHP version (5.4.45) does not satisfy that requirement.
Problem 3 - Installation request for zendframework/zend-eventmanager 3.0.1 -> satisfiable by zendframework/zend-eventmanager[3.0.1]. - zendframework/zend-eventmanager 3.0.1 requires php ^5.5 || ^7.0 -> your PHP version (5.4.45) does not satisfy that requirement.
Problem 4 - doctrine/cache v1.6.0 requires php ~5.5|~7.0 -> your PHP version (5.4.45) does not satisfy that requirement. - doctrine/doctrine-cache-bundle 1.3.0 requires doctrine/cache ^1.4.2 -> satisfiable by doctrine/cache[v1.6.0]. - Installation request for doctrine/doctrine-cache-bundle 1.3.0 -> satisfiable by doctrine/doctrine-cache-bundle[1.3.0].
So we have a conflict with requirements specified in the orocommerce-application's Readme
For some reason, the menu toggler isn't displayed in the mobile version. This makes the navigation in the application impossible on any mobile device.
Please implement Multi-tenant support (completely different businesses/accounts/domains) on the same install.
When running the installer with
$ php app/console oro:install --env=prod --timeout=0 -vvv
the installation process errors out with The process has been signaled with signal "11". Full -vvv
stack trace below.
Load sample data (y/n): y
Loading "demo" data fixtures ...
> loading Oro\Bundle\LocaleBundle\Migrations\Data\Demo\ORM\LoadLocalizationDemoData
> loading Oro\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadLeadSourceData
> loading Oro\Bundle\RFPBundle\Migrations\Data\Demo\ORM\LoadRequestStatusDemoData
> loading Oro\Bundle\PricingBundle\Migrations\Data\Demo\ORM\LoadPriceAttributePriceListDemoData
> loading Oro\Bundle\PricingBundle\Migrations\Data\Demo\ORM\LoadPriceListDemoData
> loading Oro\Bundle\PaymentTermBundle\Migrations\Data\Demo\ORM\LoadPaymentTermDemoData
> loading Oro\Bundle\PaymentTermBundle\Migrations\Data\Demo\ORM\LoadPaymentRuleDemoData
> loading Oro\Bundle\CMSBundle\Migrations\Data\Demo\ORM\LoadPageDemoData
> loading Oro\Bundle\CustomerBundle\Migrations\Data\Demo\ORM\LoadCustomerGroupDemoData
> loading Oro\Bundle\CustomerBundle\Migrations\Data\Demo\ORM\LoadCustomerInternalRatingDemoData
> loading Oro\Bundle\ProductBundle\Migrations\Data\Demo\ORM\LoadProductDemoData
> loading Oro\Bundle\CatalogBundle\Migrations\Data\Demo\ORM\LoadCategoryDemoData
> loading Oro\Bundle\ShippingBundle\Migrations\Data\Demo\ORM\LoadShippingOriginConfigurationDemoData
> loading Oro\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadBusinessUnitData
> loading Oro\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadGroupData
> loading Oro\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadChannelData
> loading Oro\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadEmbeddedFormData
> loading Oro\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadReportData
> loading Oro\Bundle\WebCatalogBundle\Migrations\Data\Demo\ORM\LoadWebCatalogDemoData
> loading Oro\Bundle\ProductBundle\Migrations\Data\Demo\ORM\LoadProductUnitPrecisionDemoData
> loading Oro\Bundle\CatalogBundle\Migrations\Data\Demo\ORM\LoadProductCategoryDemoData
> loading Oro\Bundle\CustomerBundle\Migrations\Data\Demo\ORM\LoadCustomerDemoData
> loading Oro\Bundle\CustomerBundle\Migrations\Data\Demo\ORM\LoadScopeCustomerDemoData
> loading Oro\Bundle\CustomerBundle\Migrations\Data\Demo\ORM\LoadScopeCustomerGroupDemoData
> loading Oro\Bundle\VisibilityBundle\Migrations\Data\Demo\ORM\LoadCategoryVisibilityDemoData
> loading Oro\Bundle\VisibilityBundle\Migrations\Data\Demo\ORM\LoadProductVisibilityDemoData
> loading Oro\Bundle\PaymentTermBundle\Migrations\Data\Demo\ORM\LoadPaymentTermToAccountDemoData
> loading Oro\Bundle\PaymentTermBundle\Migrations\Data\Demo\ORM\LoadPaymentTermToAccountGroupDemoData
> loading Oro\Bundle\PricingBundle\Migrations\Data\Demo\ORM\LoadPriceListToCustomerGroupDemoData
> loading Oro\Bundle\PricingBundle\Migrations\Data\Demo\ORM\LoadPriceListToWebsiteDemoData
> loading Oro\Bundle\PricingBundle\Migrations\Data\Demo\ORM\LoadProductPriceDemoData
> loading Oro\Bundle\PricingBundle\Migrations\Data\Demo\ORM\LoadPriceAttributeProductPriceDemoData
> loading Oro\Bundle\TaxBundle\Migrations\Data\Demo\ORM\LoadTaxTableRatesDemoData
> loading Oro\Bundle\AlternativeCheckoutBundle\Migrations\Data\Demo\ORM\UpdateAlternativeCheckoutWorkflowStatus
> loading Oro\Bundle\InventoryBundle\Migrations\Data\Demo\ORM\LoadFallbackFieldsData
> loading Oro\Bundle\InventoryBundle\Migrations\Data\Demo\ORM\LoadInventoryLevelDemoData
> loading Oro\Bundle\SEOBundle\Migrations\Data\Demo\ORM\LoadCategoryDemoMetaData
> loading Oro\Bundle\SEOBundle\Migrations\Data\Demo\ORM\LoadPageDemoMetaData
> loading Oro\Bundle\SEOBundle\Migrations\Data\Demo\ORM\LoadProductDemoMetaData
> loading Oro\Bundle\ShippingBundle\Migrations\Data\Demo\ORM\LoadProductShippingOptionsDemoData
> loading Oro\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadUserData
> loading Oro\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadContactGroupData
> loading Oro\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadEmailTemplates
> loading Oro\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadPintabsData
> loading Oro\Bundle\CustomerBundle\Migrations\Data\Demo\ORM\LoadCustomerUserDemoData
> loading Oro\Bundle\CustomerBundle\Migrations\Data\Demo\ORM\LoadCustomerUserAddressDemoData
> loading Oro\Bundle\PricingBundle\Migrations\Data\Demo\ORM\LoadPriceListToCustomerDemoData
> loading Oro\Bundle\RFPBundle\Migrations\Data\Demo\ORM\LoadRequestDemoData
> loading Oro\Bundle\InvoiceBundle\Migrations\Data\Demo\ORM\LoadInvoiceDemoData
> loading Oro\Bundle\InvoiceBundle\Migrations\Data\Demo\ORM\LoadInvoiceLineItemDemoData
> loading Oro\Bundle\ShoppingListBundle\Migrations\Data\Demo\ORM\LoadShoppingListDemoData
> loading Oro\Bundle\TaxBundle\Migrations\Data\Demo\ORM\LoadTaxConfigurationDemoData
> loading Oro\Bundle\SaleBundle\Migrations\Data\Demo\ORM\LoadQuoteDemoData
> loading Oro\Bundle\ShoppingListBundle\Migrations\Data\Demo\ORM\LoadLineItemDemoData
> loading Oro\Bridge\TaskCRM\Migrations\Data\Demo\ORM\UpdateTaskAccessLevels
> loading Oro\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadUsersData
> loading Oro\Bundle\CustomerBundle\Migrations\Data\Demo\ORM\LoadCustomerAddressDemoData
> loading Oro\Bundle\PricingBundle\Migrations\Data\Demo\ORM\LoadCombinedPriceListDemoData
> loading Oro\Bundle\OrderBundle\Migrations\Data\Demo\ORM\LoadOrderDemoData
> loading Oro\Bundle\OrderBundle\Migrations\Data\Demo\ORM\LoadOrderLineItemDemoData
[Symfony\Component\Process\Exception\RuntimeException]
The process has been signaled with signal "11".
Exception trace:
() at /Users/alanstorm/Sites/oro-commerce-1-0-0.dev/orocommerce-application/vendor/symfony/symfony/src/Symfony/Component/Process/Process.php:371
Symfony\Component\Process\Process->wait() at /Users/alanstorm/Sites/oro-commerce-1-0-0.dev/orocommerce-application/vendor/symfony/symfony/src/Symfony/Component/Process/Process.php:203
Symfony\Component\Process\Process->run() at /Users/alanstorm/Sites/oro-commerce-1-0-0.dev/orocommerce-application/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php:135
Oro\Bundle\InstallerBundle\CommandExecutor->runCommand() at /Users/alanstorm/Sites/oro-commerce-1-0-0.dev/orocommerce-application/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/Command/InstallCommand.php:508
Oro\Bundle\InstallerBundle\Command\InstallCommand->loadDataStep() at /Users/alanstorm/Sites/oro-commerce-1-0-0.dev/orocommerce-application/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/Command/InstallCommand.php:139
Oro\Bundle\InstallerBundle\Command\InstallCommand->execute() at /Users/alanstorm/Sites/oro-commerce-1-0-0.dev/orocommerce-application/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:259
Symfony\Component\Console\Command\Command->run() at /Users/alanstorm/Sites/oro-commerce-1-0-0.dev/orocommerce-application/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:866
Symfony\Component\Console\Application->doRunCommand() at /Users/alanstorm/Sites/oro-commerce-1-0-0.dev/orocommerce-application/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:193
Symfony\Component\Console\Application->doRun() at /Users/alanstorm/Sites/oro-commerce-1-0-0.dev/orocommerce-application/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:92
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /Users/alanstorm/Sites/oro-commerce-1-0-0.dev/orocommerce-application/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:124
Symfony\Component\Console\Application->run() at /Users/alanstorm/Sites/oro-commerce-1-0-0.dev/orocommerce-application/app/console:22
oro:install [--application-url [APPLICATION-URL]] [--organization-name [ORGANIZATION-NAME]] [--user-name [USER-NAME]] [--user-email [USER-EMAIL]] [--user-firstname [USER-FIRSTNAME]] [--user-lastname [USER-LASTNAME]] [--user-password [USER-PASSWORD]] [--skip-assets] [--force] [--symlink] [--sample-data [SAMPLE-DATA]] [--drop-database] [--skip-translations] [--force-debug] [--timeout [TIMEOUT]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--disabled-listeners DISABLED-LISTENERS] [--] <command>
When I go to log in with the credentials I entered during the installation, the login box returns "Bad credentials."
I've inspected the oro_user table in Sequel Pro and everything looks OK there.
I've reset the password in terminal using "oro:user:update admin --user-password=123456 --env=prod" - did not fix the problem.
When I click on "Forgot Your Password?" and enter the email address I entered during the installation, the dialog returns that the email address does not exist.
Hello,
I am trying to install oscommerce in local system.
But category, pages not showing on frontend side.
Also when i go Product >> Websites >> click on any Store URL when getting below Error:
Sorry, page was not loaded correctly
Hey,
I am trying to install OroCommerce and cannot run the install command successfully. Maybe I can get some support here:
php -d memory_limit=-1 -d default_socket_timeout=300 -d mysql.connect_timeout=300 app/console oro:install --env=prod --timeout=0
[2017-07-10 18:30:46] console.ERROR: An error occurred while running command "'oro:migration:load' --force --timeout=0 --env=prod". Failed migrations: Oro\Bundle\EntityConfigBundle\Migration\UpdateEntityConfigMigration. {"exit_code":0,"arguments":{"command":"oro:migration:load"},"options":{"force":true,"timeout":"0","env":"prod"}} []
[2017-07-10 18:30:46] console.ERROR: An error occurred while running command "'oro:install' --env=prod --timeout=0". The command 'php' 'app/console' 'oro:migration:load' '--force' '--timeout=0' '--env=prod' terminated with an exit code: 1. {"exit_code":0,"arguments":{"command":"oro:install"},"options":{"env":"prod","timeout":"0"}} []
Installing Oro Application.
Oro requirements check:
+---------+---------------------------------------------------------------------------------------------------------------------------------------------------+
| Check | Mandatory requirements |
+---------+---------------------------------------------------------------------------------------------------------------------------------------------------+
| OK | Vendor libraries must be installed |
| OK | app/cache/ or var/cache/ directory must be writable |
| OK | app/logs/ or var/logs/ directory must be writable |
| OK | Configured default timezone "Europe/Berlin" must be supported by your installation of PHP |
| OK | iconv() must be available |
| OK | json_encode() must be available |
| OK | session_start() must be available |
| OK | ctype_alpha() must be available |
| OK | token_get_all() must be available |
| OK | simplexml_import_dom() must be available |
| OK | PCRE extension must be available |
| OK | /var/folders/f0/95jp3shj7v591yjrhdcklwlw0000gn/T (sys_get_temp_dir()) directory must be writable |
| OK | Maximum supported filename length must be greater or equal 242 characters. Make sure that the cache folder is not inside the encrypted directory. |
+---------+---------------------------------------------------------------------------------------------------------------------------------------------------+
+---------+--------------------------------------------+
| Check | PHP settings |
+---------+--------------------------------------------+
| OK | date.timezone setting must be set |
| OK | detect_unicode must be disabled in php.ini |
| OK | string functions should not be overloaded |
| OK | memory_limit should be at least 512M |
+---------+--------------------------------------------+
+---------+----------------------------------------------------+
| Check | Oro specific requirements |
+---------+----------------------------------------------------+
| OK | PHP version must be at least 7.0 (7.1.1 installed) |
| OK | GD extension must be at least 2.0 |
| OK | cURL extension must be at least 7.0 |
| OK | mcrypt_encrypt() should be available |
| OK | intl extension should be available |
| OK | icu library must be at least 3.8 |
| OK | zip extension should be installed |
| OK | web/uploads/ directory must be writable |
| OK | web/media/ directory must be writable |
| OK | web/bundles/ directory must be writable |
| OK | app/attachment/ directory must be writable |
| OK | app/import_export/ directory must be writable |
| OK | web directory must be writable |
| OK | app/config/parameters.yml file must be writable |
| OK | UUID SQL function must be present |
+---------+----------------------------------------------------+
+---------+------------------------------------------------------------------------------------+
| Check | Optional recommendations |
+---------+------------------------------------------------------------------------------------+
| OK | Vendors should be installed in order to check all requirements. |
| OK | Requirements file should be up-to-date |
| OK | PCRE extension should be at least version 8.0 (8.38 installed) |
| OK | PHP-DOM and PHP-XML modules should be installed |
| OK | mb_strlen() should be available |
| OK | iconv() should be available |
| OK | utf8_decode() should be available |
| OK | filter_var() should be available |
| OK | posix_isatty() should be available |
| OK | intl extension should be available |
| OK | intl extension should be correctly configured |
| OK | intl ICU version should be at least 4+ |
| OK | intl.error_level should be 0 in php.ini |
| WARNING | Install and/or enable a PHP accelerator (highly recommended). |
| WARNING | Set short_open_tag to off in php.ini*. |
| OK | magic_quotes_gpc should be disabled in php.ini |
| OK | register_globals should be disabled in php.ini |
| OK | session.auto_start should be disabled in php.ini |
| OK | PDO should be installed |
| OK | PDO should have some drivers installed (currently available: mysql, sqlite, pgsql) |
| OK | SOAP extension should be installed (API calls) |
| WARNING | Install and enable the Tidy extension. |
| OK | A JS Engine (node) is installed |
+---------+------------------------------------------------------------------------------------+
Setting up database.
Process migrations...
> Oro\Bundle\EntityExtendBundle\Migration\LoadEntityConfigStateMigration
> Oro\Bundle\MigrationBundle\Migration\CreateMigrationTableMigration
> Oro\Bundle\PlatformBundle\Migrations\Schema\OroPlatformBundleInstaller
> Oro\Bundle\ScopeBundle\Migrations\Schema\OroScopeBundleInstaller
> Oro\Bundle\OrganizationBundle\Migrations\Schema\OroOrganizationBundleInstaller
> Oro\Bundle\SecurityBundle\Migrations\Schema\OroSecurityBundleInstaller
> Oro\Bundle\AttachmentBundle\Migrations\Schema\OroAttachmentBundleInstaller
> Oro\Bundle\OroMessageQueueBundle\Migrations\Schema\OroMessageQueueBundleInstaller
> Oro\Bundle\EmailBundle\Migrations\Schema\OroEmailBundleInstaller
> Oro\Bundle\CronBundle\Migrations\Schema\OroCronBundleInstaller
> Oro\Bundle\UserBundle\Migrations\Schema\OroUserBundleInstaller
> Oro\Bundle\DataGridBundle\Migrations\Schema\OroDataGridBundleInstaller
> Oro\Bundle\SSOBundle\Migrations\Schema\OroUserBundleInstaller
> Oro\Bundle\TranslationBundle\Migrations\Schema\OroTranslationBundleInstaller
> Oro\Bundle\EntityBundle\Migrations\Schema\OroEntityBundleInstaller
> Oro\Bundle\LocaleBundle\Migrations\Schema\OroLocaleBundleInstaller
> Oro\Bundle\EntityConfigBundle\Migrations\Schema\OroEntityConfigBundleInstaller
> Oro\Bundle\EntityExtendBundle\Migrations\Schema\OroEntityExtendBundleInstaller
> Oro\Bundle\IntegrationBundle\Migrations\Schema\OroIntegrationBundleInstaller
> Oro\Bundle\RuleBundle\Migrations\Schema\OroRuleBundleInstaller
> Oro\Bundle\ActivityBundle\Migrations\Schema\OroActivityBundleInstaller
> Oro\Bundle\ActivityContactBundle\Migrations\Schema\OroActivityContactBundleInstaller
> Oro\Bundle\ActivityListBundle\Migrations\Schema\OroActivityListBundleInstaller
> Oro\Bundle\AddressBundle\Migrations\Schema\OroAddressBundleInstaller
> Oro\Bundle\BatchBundle\Migrations\Schema\OroBatchBundleInstaller
> Oro\Bundle\ConfigBundle\Migrations\Schema\OroConfigBundleInstaller
> Oro\Bundle\DataAuditBundle\Migrations\Schema\OroDataAuditBundleInstaller
> Oro\Bundle\EmbeddedFormBundle\Migrations\Schema\OroEmbeddedFormBundleInstaller
> Oro\Bundle\ImapBundle\Migrations\Schema\OroImapBundleInstaller
> Oro\Bundle\ImportExportBundle\Migrations\Schema\OroImportExportBundleInstaller
> Oro\Bundle\InstallerBundle\Migrations\Schema\OroInstallerBundleInstaller
> Oro\Bundle\MigrationBundle\Migrations\Schema\OroMigrationBundleInstaller
> Oro\Bundle\NoteBundle\Migrations\Schema\OroNoteBundleInstaller
> 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\OroSidebarBundleInstaller
> Oro\Bundle\TagBundle\Migrations\Schema\OroTagBundleInstaller
> Oro\Bundle\WebsiteSearchBundle\Migrations\Schema\OroWebsiteSearchBundleInstaller
> Oro\Bundle\WindowsBundle\Migrations\Schema\OroWindowsBundleInstaller
> Oro\Bundle\WorkflowBundle\Migrations\Schema\OroWorkflowBundleInstaller
> Oro\Bundle\WorkflowBundle\Migrations\Schema\v2_2_1\UpdateWorkflowConfiguration
> Oro\Bundle\CommentBundle\Migrations\Schema\OroCommentBundleInstaller
> Oro\Bundle\CRMBundle\Migrations\Schema\OroCRMBundleInstaller
> Oro\Bundle\DashboardBundle\Migrations\Schema\OroDashboardBundleInstaller
> Oro\Bundle\CalendarBundle\Migrations\Schema\OroCalendarBundleInstaller
> Oro\Bundle\HangoutsCallBundle\Migrations\Schema\OroHangoutsCallBundleInstaller
> Oro\Bundle\FrontendBundle\Migrations\Schema\OroFrontendBundleInstaller
> Oro\Bundle\WebsiteBundle\Migrations\Schema\OroWebsiteBundleInstaller
> Oro\Bundle\ContactBundle\Migrations\Schema\OroContactBundleInstaller
> Oro\Bundle\CurrencyBundle\Migrations\Schema\OroConfigBundleInstaller
> Oro\Bundle\FallbackBundle\Migrations\Schema\OroFallbackBundleInstaller
> Oro\Bundle\NavigationBundle\Migrations\Schema\OroNavigationBundleInstaller
> Oro\Bundle\RedirectBundle\Migrations\Schema\OroRedirectBundleInstaller
> Oro\Bundle\WebCatalogBundle\Migrations\Schema\OroWebCatalogBundleInstaller
> Oro\Bundle\CommerceMenuBundle\Migrations\Schema\OroCommerceMenuBundleInstaller
> Oro\Bundle\ProductBundle\Migrations\Schema\OroProductBundleInstaller
> Oro\Bundle\CatalogBundle\Migrations\Schema\OroCatalogBundleInstaller
> Oro\Bundle\MarketingListBundle\Migrations\Schema\OroMarketingListBundleInstaller
> Oro\Bundle\CustomerBundle\Migrations\Schema\OroCustomerBundleInstaller
> Oro\Bundle\TrackingBundle\Migrations\Schema\OroTrackingBundleInstaller
> Oro\Bundle\AccountBundle\Migrations\Schema\OroAccountBundleInstaller
> Oro\Bundle\VisibilityBundle\Migrations\Schema\OroVisibilityBundleInstaller
> Oro\Bundle\CallBundle\Migrations\Schema\OroCallBundleInstaller
> Oro\Bundle\CampaignBundle\Migrations\Schema\OroCampaignBundleInstaller
> Oro\Bundle\ChannelBundle\Migrations\Schema\OroChannelBundleInstaller
> Oro\Bundle\MagentoContactUsBundle\Migrations\Schema\OroMagentoContactUsBundleInstaller
> Oro\Bundle\PaymentBundle\Migrations\Schema\OroPaymentBundleInstaller
> Oro\Bundle\ReminderBundle\Migrations\Schema\OroReminderBundleBundleInstaller
> Oro\Bundle\TaskBundle\Migrations\Schema\OroTaskBundleInstaller
> Oro\Bundle\AnalyticsBundle\Migrations\Schema\OroAnalyticsBundleInstaller
> Oro\Bundle\CMSBundle\Migrations\Schema\OroCMSBundleInstaller
> Oro\Bundle\MarketingActivityBundle\Migrations\Schema\OroMarketingActivityInstaller
> Oro\Bundle\MoneyOrderBundle\Migrations\Schema\OroMoneyOrderBundleInstaller
> Oro\Bundle\PaymentTermBundle\Migrations\Schema\OroPaymentTermBundleInstaller
> Oro\Bundle\PayPalBundle\Migrations\Schema\OroPayPalBundleInstaller
> Oro\Bundle\PricingBundle\Migrations\Schema\OroPricingBundleInstaller
> Oro\Bundle\RFPBundle\Migrations\Schema\OroRFPBundleInstaller
> Oro\Bundle\SalesBundle\Migrations\Schema\OroSalesBundleInstaller
> Oro\Bundle\WirecardBundle\Migrations\Schema\OroWirecardBundleInstaller
> Oro\Bundle\AuthorizeNetBundle\Migrations\Schema\OroAuthorizeNetBundleInstaller
> Oro\Bundle\ContactUsBundle\Migrations\Schema\OroContactUsBundleInstaller
> Oro\Bundle\InvoiceBundle\Migrations\Schema\OroInvoiceBundleInstaller
> Oro\Bundle\MagentoBundle\Migrations\Schema\OroMagentoBundleInstaller
> Oro\Bundle\OrderBundle\Migrations\Schema\OroOrderBundleInstaller
> Oro\Bundle\TaxBundle\Migrations\Schema\OroTaxBundleInstaller
> Oro\Bridge\MarketingCRM\Migrations\Schema\OroMarketingCRMBridgeBundleInstaller
> Oro\Bundle\CheckoutBundle\Migrations\Schema\OroCheckoutBundleInstaller
> Oro\Bridge\ContactUs\Migrations\Schema\OroContactUsBridgeBundleInstaller
> Oro\Bundle\AlternativeCheckoutBundle\Migrations\Schema\OroAlternativeCheckoutBundleInstaller
> Oro\Bundle\SaleBundle\Migrations\Schema\OroSaleBundleInstaller
> Oro\Bundle\ShoppingListBundle\Migrations\Schema\OroShoppingListBundleInstaller
> Oro\Bridge\CalendarCommerce\Migrations\Schema\OroCalendarCommerceBridgeBundleInstaller
> Oro\Bridge\CustomerSales\Migrations\Schema\OroCustomerSalesBridgeBundleInstaller
> Oro\Bridge\QuoteSales\Migrations\Schema\OroQuoteSalesBridgeBundleInstaller
> Oro\Bundle\CaseBundle\Migrations\Schema\OroCaseBundleInstaller
> Oro\Bundle\EntitySerializedFieldsBundle\Migrations\Schema\OroEntitySerializedFieldsBundleInstaller
> Oro\Bundle\InventoryBundle\Migrations\Schema\OroInventoryBundleInstaller
> Oro\Bundle\SEOBundle\Migrations\Schema\OroSEOBundleInstaller
> Oro\Bridge\CalendarCRM\Migrations\Schema\OroCalendarCRMBridgeBundleInstaller
> Oro\Bundle\ZendeskBundle\Migrations\Schema\OroZendeskBundleInstaller
> Oro\Bundle\MailChimpBundle\Migrations\Schema\OroMailChimpBundleInstaller
> Oro\Bridge\CallCRM\Migrations\Schema\OroCallCRMBridgeBundleInstaller
> Oro\Bridge\CustomerAccount\Migrations\Schema\OroCustomerAccountBridgeBundleInstaller
> Oro\Bridge\TaskCRM\Migrations\Schema\OroTaskCRMBundleInstaller
> Oro\Bundle\DotmailerBundle\Migrations\Schema\OroDotmailerBundleInstaller
> Oro\Bundle\AbandonedCartBundle\Migrations\Schema\OroAbandonedCartBundleInstaller
> Oro\Bundle\ShippingBundle\Migrations\Schema\OroShippingBundleInstaller
> Oro\Bundle\FlatRateShippingBundle\Migrations\Schema\OroFlatRateBundleInstaller
> Oro\Bundle\UPSBundle\Migrations\Schema\OroUPSBundleInstaller
> Oro\Bundle\DPDBundle\Migrations\Schema\OroDPDBundleInstaller
> Oro\Bundle\InvoiceBundle\Migrations\Schema\OroInfititePayBundleInstaller
> Oro\Bundle\MigrationBundle\Migration\UpdateBundleVersionMigration
> Oro\Bundle\CheckoutBundle\Migrations\Schema\RemoveWorkflowFieldsMigration
> Oro\Bundle\EntityExtendBundle\Migration\RefreshExtendCacheMigration
> Oro\Bundle\EntityConfigBundle\Migration\UpdateEntityConfigMigration
ERROR: The command terminated with an exit code: 255.
> Oro\Bundle\EntitySerializedFieldsBundle\Migration\SerializedDataMigration - skipped
> Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendConfigMigration - skipped
> Oro\Bundle\ActivityContactBundle\Migration\ActivityContactMigration - skipped
> Oro\Bundle\ActivityListBundle\Migration\ActivityListMigration - skipped
> Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendIndicesMigration - skipped
> Oro\Bundle\EntityConfigBundle\Migration\WarmUpEntityConfigCacheMigration - skipped
[RuntimeException]
Failed migrations: Oro\Bundle\EntityConfigBundle\Migration\UpdateEntityConfigMigration.
oro:migration:load [--force] [--dry-run] [--show-queries] [--bundles [BUNDLES]] [--exclude [EXCLUDE]] [--timeout [TIMEOUT]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--current-user CURRENT-USER] [--current-organization CURRENT-ORGANIZATION] [--disabled-listeners DISABLED-LISTENERS] [--] <command>
When creating a customer it should have dataChannel_id referencing channel_type = commerce from orocrm_channel, but it is null. Thus, the customer is not visible in Account view under Commerce channel block in Admin.
Is there a hidden step to get dataChannel_id assigned I missed or is it a bug?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.