akeneo / pim-community-dev Goto Github PK
View Code? Open in Web Editor NEW[Community Development Repository] The open source Product Information Management (PIM)
Home Page: http://www.akeneo.com
License: Other
[Community Development Repository] The open source Product Information Management (PIM)
Home Page: http://www.akeneo.com
License: Other
With PHP 5.5.9 and memory_limit set to 512MB. While trying to install the demo data php app/console pim:install --env=dev --force
, I got an exhausted memory error:
I work now with the v1.0.0-RC1-sprint31
Missing completenesses generated.
Preparing application.
Load "Title Templates" from annotations and config files to db
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8192 bytes) in /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Finder/Iterator/ExcludeDirectoryFilterIterator.php on line 33
PHP Stack trace:
PHP 1. {main}() /var/www/akeneo/app/console:0
PHP 2. Symfony\Component\Console\Application->run() /var/www/akeneo/app/console:27
PHP 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121
PHP 4. Symfony\Component\Console\Application->doRun() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
PHP 5. Symfony\Component\Console\Application->doRunCommand() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:191
PHP 6. Symfony\Component\Console\Command\Command->run() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:904
PHP 7. Pim\Bundle\InstallerBundle\Command\InstallCommand->execute() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:244
PHP 8. Pim\Bundle\InstallerBundle\Command\InstallCommand->assetsStep() /var/www/akeneo/src/Pim/Bundle/InstallerBundle/Command/InstallCommand.php:118
PHP 9. Oro\Bundle\InstallerBundle\CommandExecutor->runCommand() /var/www/akeneo/src/Pim/Bundle/InstallerBundle/Command/InstallCommand.php:441
PHP 10. Symfony\Component\Console\Application->run() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php:116
PHP 11. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121
PHP 12. Symfony\Component\Console\Application->doRun() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
PHP 13. Symfony\Component\Console\Application->doRunCommand() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:191
PHP 14. Symfony\Component\Console\Command\Command->run() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:904
PHP 15. Oro\Bundle\NavigationBundle\Command\TitleIndexUpdateCommand->execute() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:244
PHP 16. Oro\Bundle\NavigationBundle\Command\TitleIndexUpdateCommand->update() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/NavigationBundle/Command/TitleIndexUpdateCommand.php:37
PHP 17. Oro\Bundle\NavigationBundle\Provider\TitleService->update() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/NavigationBundle/Command/TitleIndexUpdateCommand.php:60
PHP 18. Oro\Bundle\NavigationBundle\Title\TitleReader\AnnotationsReader->getData() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/NavigationBundle/Provider/TitleService.php:349
PHP 19. Oro\Bundle\NavigationBundle\Title\TitleReader\AnnotationsReader->findFiles() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/NavigationBundle/Title/TitleReader/AnnotationsReader.php:45
PHP 20. Symfony\Component\Finder\Finder->getIterator() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/NavigationBundle/Title/TitleReader/AnnotationsReader.php:164
PHP 21. Symfony\Component\Finder\Finder->searchInDirectory() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Finder/Finder.php:697
PHP 22. Symfony\Component\Finder\Adapter\PhpAdapter->searchInDirectory() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Finder/Finder.php:785
PHP 23. Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator->__construct() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Finder/Adapter/PhpAdapter.php:48
Raised by @joshdw1
"I haven’t yet been able to import a price, I’m not sure why. I initially had 25.0000, which didn’t work. I tried “25.0000 USD”, this also didn’t work. The code seems to expect that you will have multiple currencies, and not just a single currency. I could be wrong on that, I haven’t looked very closely."
I reproduced on beta-1 and master
I have this JS error in console :
SyntaxError: invalid property id
gridRegexps : {"oro_search_results": /^/search/ajax$/,
akeneo...rib.com (ligne 451, col. 34)
I create five attribute image
and when i try to import
no image import and no error !
i try to store image web/uploads/product and near csv product and nothing !
when i export one product with image, and i try import, no image in product import.
Where can I see the rules on image import via csv?
running ./install.sh all prod is resulting in a segmentation fault:
[file+] web/js/routes.js
./install.sh: line 125: 4278 Segmentation fault: 11 php app/console fos:js-routing:dump --target=web/js/routes.js
Tried running web as well, with following error:
Fatal error: Uncaught exception 'RuntimeException' with message 'Failed to write cache file "/Users/amartin/Sites/Akeneo/BuyIt/app/cache/prod/classes.php".' in /Users/amartin/Sites/Akeneo/BuyIt/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php:239
Stack trace:
#0 /Users/amartin/Sites/Akeneo/BuyIt/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php(122): Symfony\Component\ClassLoader\ClassCollectionLoader::writeCacheFile('/Users/amartin/...', '<?php ?namespac...')
#1 /Users/amartin/Sites/Akeneo/BuyIt/app/bootstrap.php.cache(2348): Symfony\Component\ClassLoader\ClassCollectionLoader::load(Array, '/Users/amartin/...', 'classes', false, false, '.php')
#2 /Users/amartin/Sites/Akeneo/BuyIt/app/bootstrap.php.cache(2184): Symfony\Component\HttpKernel\Kernel->doLoadClassCache('classes', '.php')
#3 /Users/amartin/Sites/Akeneo/BuyIt/app/bootstrap.php.cache(2218): Symfony\Component\HttpKernel\Kernel->boot() #4 /Users/amartin/Sites/Akeneo/BuyIt/web/app.php(23): Symfony\Co in /Users/amartin/Sites/Akeneo/BuyIt/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php on line 239
I have set folders with correct permissions. Am attempting this on MAc OSX10.8 - PHP5.4
Cheers
Adam
The Akeneo CSV import does not seem to like UTF-8 encoded CSV files.
There is missing exception handling of the situation if the csv product data feed lacks an attribute of "pim_catalog_identifier" type.
The stack trace is the following:
Fatal error: Call to a member function getCode() on a non-object in /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/pim-community-dev/src/Pim/Bundle/TransformBundle/Transformer/ProductTransformer.php on line 122
Call Stack:
0.0001 232712 1. {main}() /home/akeneo/var/www/html/akeneo/public_html/app/console:0
0.0109 3207728 2. Symfony\Component\Console\Application->run() /home/akeneo/var/www/html/akeneo/public_html/app/console:27
0.0122 3444720 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /home/akeneo/var/www/html/akeneo/public_html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121
0.1257 23129880 4. Symfony\Component\Console\Application->doRun() /home/akeneo/var/www/html/akeneo/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
0.1267 23131096 5. Symfony\Component\Console\Application->doRunCommand() /home/akeneo/var/www/html/akeneo/public_html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:191
0.1269 23160560 6. Symfony\Component\Console\Command\Command->run() /home/akeneo/var/www/html/akeneo/public_html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:905
0.1271 23165776 7. Akeneo\Bundle\BatchBundle\Command\BatchCommand->execute() /home/akeneo/var/www/html/akeneo/public_html/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:244
0.5302 49972304 8. Akeneo\Bundle\BatchBundle\Job\Job->execute() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/batch-bundle/Akeneo/Bundle/BatchBundle/Command/BatchCommand.php:128
0.5596 50007632 9. Akeneo\Bundle\BatchBundle\Job\Job->doExecute() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/batch-bundle/Akeneo/Bundle/BatchBundle/Job/Job.php:296
0.5596 50007968 10. Akeneo\Bundle\BatchBundle\Job\Job->handleStep() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/batch-bundle/Akeneo/Bundle/BatchBundle/Job/Job.php:361
0.5596 50010888 11. Akeneo\Bundle\BatchBundle\Step\AbstractStep->execute() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/batch-bundle/Akeneo/Bundle/BatchBundle/Job/Job.php:400
0.5930 50076864 12. Akeneo\Bundle\BatchBundle\Step\ItemStep->doExecute() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/batch-bundle/Akeneo/Bundle/BatchBundle/Step/AbstractStep.php:158
0.6021 50172728 13. Akeneo\Bundle\BatchBundle\Step\ItemStep->process() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/batch-bundle/Akeneo/Bundle/BatchBundle/Step/ItemStep.php:204
0.6021 50172840 14. Pim\Bundle\BaseConnectorBundle\Processor\TransformerProcessor->process() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/batch-bundle/Akeneo/Bundle/BatchBundle/Step/ItemStep.php:254
0.6027 50192296 15. Pim\Bundle\BaseConnectorBundle\Processor\ProductProcessor->transform() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/pim-community-dev/src/Pim/Bundle/BaseConnectorBundle/Processor/TransformerProcessor.php:90
0.6027 50192688 16. Pim\Bundle\TransformBundle\Transformer\EntityTransformerRegistry->transform() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/pim-community-dev/src/Pim/Bundle/BaseConnectorBundle/Processor/ProductProcessor.php:161
0.6070 50737256 17. Pim\Bundle\TransformBundle\Transformer\ProductTransformer->transform() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/pim-community-dev/src/Pim/Bundle/TransformBundle/Transformer/EntityTransformerRegistry.php:59
0.6878 52875912 18. Pim\Bundle\TransformBundle\Transformer\EntityTransformer->transform() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/pim-community-dev/src/Pim/Bundle/TransformBundle/Transformer/ProductTransformer.php:110
0.6878 52876720 19. Pim\Bundle\TransformBundle\Transformer\EntityTransformer->getEntity() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/pim-community-dev/src/Pim/Bundle/TransformBundle/Transformer/EntityTransformer.php:89
0.6878 52876768 20. Pim\Bundle\TransformBundle\Transformer\ProductTransformer->findEntity() /home/akeneo/var/www/html/akeneo/public_html/vendor/akeneo/pim-community-dev/src/Pim/Bundle/TransformBundle/Transformer/EntityTransformer.php:213
If a user clicks the "Upload and import now" button with no file selected, the spinner comes up, and will not go away. The following error shows in the log:
"PHP Fatal error: Call to a member function move() on a non-object in /usr/local/www/apache22/data/pim-community-dev/src/Pim/Bundle/ImportExportBundle/Controller/JobProfileController.php on line 343, referer:"
When using Safari (Versie 7.0 (9537.71)) it's hard, if not impossible to use the "click right" to create a new categorie node
Created an attribute type "Simple select" and scope "Channel". Added it to a Family. When you open a product, the drop down doesn't appear for this attribute.
When require JS is running its generateMainConfig function (Oro\Bundle\RequireJSBundle\Provider\Config.php:83) the PimEnrich Bundle and the OroSegmentationTree Bundle are both using the same parameter key, which results in an exception being thrown due to an array being handed into the substr function.
Pim/Bundle/EnrichBundle/Resources/config/requirejs.yml
jstree/jquery.jstree.tree_selector: pimenrich/js/lib/jstree/jquery.jstree.tree_selector
Oro/Bundle/SegmentationTreeBundle/Resources/config/requirejs.yml
'jstree/jquery.jstree.tree_selector': 'bundles/orosegmentationtree/lib/jstree/jquery.jstree.tree_selector.js'
I'm not sure if it is the right fix would be to remove the config path from the EnrichBundle or if the dependencies don't allow us to do that.
I'm using the latest dev-master version
When exporting a number attribute that has “allow decimals” set to No, the export module still exports the value with decimals.
When the software that imports this CSV treats that value as text, you get some unwanted results.
Hello,
When i try to export my product, short description and description is empty.
In short description i have only text
In description i have text with html Tags
it's normal ?
(on pim-community-standard)
For example, family, groups, categories, associations, ...
I just updated to the newest branch.
Everytime I want to edit some user data I receive an error message.
When I type sth. into the fields, there is a request to:
"http://10.211.55.6/api/rest/latest/pagestate"
Response code: 400 (Bad request)
Request:
{
"restore": false,
"pagestate": {
"pageId": "L3VzZXIvdXBkYXRlLzE=",
"data": "{"0":[{"name":"input_action","value":""},{"name":"oro_user_user_form[username]","value":"admin"},{"name":"oro_user_user_form[firstName]","value":"John"},{"name":"oro_user_user_form[lastName]","value":"Doe"},{"name":"oro_user_user_form[birthday]","value":""},{"name":"oro_user_user_form[owner]","value":"1"},{"name":"oro_user_user_form[email]","value":"te"},{"name":"oro_user_user_form[tags][autocomplete]","value":""},{"name":"oro_user_user_form[tags][all]","value":"[]"},{"name":"oro_user_user_form[tags][owner]","value":"[]"},{"name":"oro_user_user_form[groups][]","value":"1"},{"name":"oro_user_user_form[rolesCollection][]","value":"4"},{"name":"oro_user_user_form[values][gender][id]","value":"1"},{"name":"oro_user_user_form[values][gender][option]","value":"1"},{"name":"oro_user_user_form[values][company][id]","value":"2"},{"name":"oro_user_user_form[values][company][varchar]","value":""},{"name":"oro_user_user_form[values][cataloglocale][id]","value":"3"},{"name":"oro_user_user_form[values][cataloglocale][option]","value":"3"},{"name":"oro_user_user_form[values][catalogscope][id]","value":"4"},{"name":"oro_user_user_form[values][catalogscope][option]","value":"5"},{"name":"oro_user_user_form[id]","value":"1"},{"name":"oro_user_user_form[jsfv_identifier]","value":"[1]"}]}"
},
"pageId": "L3VzZXIvdXBkYXRlLzE=",
"data": "{"0":[{"name":"input_action","value":""},{"name":"oro_user_user_form[username]","value":"admin"},{"name":"oro_user_user_form[firstName]","value":"John"},{"name":"oro_user_user_form[lastName]","value":"Doe"},{"name":"oro_user_user_form[birthday]","value":""},{"name":"oro_user_user_form[owner]","value":"1"},{"name":"oro_user_user_form[email]","value":"te"},{"name":"oro_user_user_form[tags][autocomplete]","value":""},{"name":"oro_user_user_form[tags][all]","value":"[]"},{"name":"oro_user_user_form[tags][owner]","value":"[]"},{"name":"oro_user_user_form[groups][]","value":"1"},{"name":"oro_user_user_form[rolesCollection][]","value":"4"},{"name":"oro_user_user_form[values][gender][id]","value":"1"},{"name":"oro_user_user_form[values][gender][option]","value":"1"},{"name":"oro_user_user_form[values][company][id]","value":"2"},{"name":"oro_user_user_form[values][company][varchar]","value":""},{"name":"oro_user_user_form[values][cataloglocale][id]","value":"3"},{"name":"oro_user_user_form[values][cataloglocale][option]","value":"3"},{"name":"oro_user_user_form[values][catalogscope][id]","value":"4"},{"name":"oro_user_user_form[values][catalogscope][option]","value":"5"},{"name":"oro_user_user_form[id]","value":"1"},{"name":"oro_user_user_form[jsfv_identifier]","value":"[1]"}]}"
}
Response:
{
"children": {
"pageId": {
"errors": ["This value should not be blank."]
},
"data": {
"errors": ["This value should not be blank."]
},
"jsfv_identifier": []
}
}
Behaviour in frontend:
All is in the topic. Is it normal behavior? Because cause of that in Akeneo, I am redirected to the install.php page. Doing php app/console cache:clear --env=dev
has no effect.
Of course when I change manually the variable it's ok again.
Dear Akeneo Team,
I tried to do an install without demo data, just with the data from OroPlatform to have default users. Just to get a look of the system without demo and allowing me starting from scratch.
I did the following php app/console --help pim:install --task=all --fixtures=OroPlatform
.
Is the Akeneo demo data mandatory when installing Akeneo? Because I had the following issues when trying to use the platform w/o installed data.
Does it means I am obliged to do the following: http://docs.akeneo.com/cookbook/setup_data/customize_installer.html
Scenario
When doing a mass edit on products I can select the desired attributes in a dropdown. At first I expected the labels and values change to the currently selected locale. I switched from French to English but all labels and values remained French. Is this going to be changed in future or might all labels and values be displayed in the users active frontend language?
Hello,
i want to update more than 1 Product per mass edit function. After i've selected the products and fill in the new price in the field, i want to confirm this action. I got every time the same error message "Sorry, Page was not correctly loaded".
for more infos i took a look in the console:
The message was: Fatal error: Call to a member function setData() on a non-object in /mnt/data/home/public/projects/akeneo/pim/vendor/akeneo/pim-community-dev/src/Pim/Bundle/EnrichBundle/MassEditAction/EditCommonAttributes.php on line 420
Anybody knows the error?
How can i fix this problem?
Hello
If I edit a product and then want to use the "Translate from" feature for the description attribute for example, I have several issues:
I think it's coming from a javascript error, see the screenshots below and the display error I have got in firebug.
I use actually the commit d743b86
If you toggle "Unique Value" for an attribute, it will cause the scope dropdown to empty, which means you can't save the attribute.
Steps:
You can work around this by changing the type and then changing it back, this will leave Unique Value toggled and refill the scope dropdown.
Switch the pim_demo.load_data to false and reloading the DB still load channels, families and groups.
Only very minimal data must be loaded (1 channel and 1 tree).
Hey,
i am not sure if this is a bug but: If you create a new product, for exmaple a digital camera, you're able to add the attribute "Response Time" but this attribute doesn't appears in the family settings of "digital camera." Also,the family contains the attributes "Release Date" and "Picture" but they're marked as "not required." After you created a new digital camera, these two attributes appear ... i think they have to be in the menu "add attribute" -right?
Jan
I think this is probably an ORO issue, but I'm not entirely sure.
If you create a metric type attribute, and then check allow decimals, Akeneo will truncate the value, so 3.5 becomes 3.
This is because the data column of table oro_flexibleentity_metric is defined as decimal(10,0). I changed that to decimal(10,2) in my test database, and everything seemed to work fine. I'm not sure if this could cause problems elsewhere that I've not seen yet.
Hi,
I just updated to version 1.1.0 and noticed that the following command was not working as expected. When running akeneo:batch:job --help, the help states:
--config (-c) Override job configuration (formatted as json. ie: php app/console akeneo:batch:job -c '[{"reader":{"filePath":"/tmp/foo.csv"}}]' acme_product_import)
When executing this I received an error about the file not being found:
./app/console akeneo:batch:job -c '[{"reader":{"filePath":"/var/www/src/app/import/testdata.xml"}}]' csv_product_import
When executing the command below the import works but fails because I'm trying to import an XML instead of a CSV file (desired result in this case):
./app/console akeneo:batch:job -c '{"filePath":"/var/www/src/app/import/testdata.xml"}' csv_product_import
I located some code in the following file: Akeneo/Bundle/BatchBundle/Item/AbstractConfigurableStepElement.php on line 59. It looks like this code is not aware of the different array formats with the extra keys to distinguish the reader/processor/writer yet. Or should I implement the setConfiguration method in my own reader?
Regards!
Jasper
Regarding the README file, the ORO translations should be available at http://crowdin.net/project/oro-platform but the link have no effect on Crowdin (404 error page on Crowdin).
I'm registered for OroCRM but do not find where is Oro Translation package.
Where can I find the translation for Oro Platform?
I am asking because I see in several places missing translation. e.g http://cl.ly/image/0U3d1b3E1b2o
By removing default channels and adding a new one, you can fall in following case, the user has no defined catalog locale and the the whole navigation fail (UserContextListener.php line 120)
Extra info,
The product completeness is not calculated correctly after adding an attribute to the family. Version: 1.0.0-beta1 "A wild hare
To reproduce:
After removing the family from the product and reassigning the family, the completeness correctly shows the 1 missing value.
While running the ./install.sh all prod
command, I get Data too long for column 'code'
for the locale fil_PH
.
It seems like the locale fil_PH
is an exception (6 chars long instead of 5).
Because there is not so much tuple (82) on this table, I think the best solution would be to set the code
column length to 6. I tested it on my localhost, and it works great.
Ps : The complete error
[Doctrine\DBAL\DBALException]
An exception occurred while executing 'INSERT INTO pim_catalog_locale (code, fallback, is_activated, default_currency_id) VALUES (?, ?, ?, ?)' with params ["fil_PH", null, 0, null]:
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'code' at row 1
This is related to #752. The fix for that issue resulted in a message "You must select a file to upload." So far, so good. The problem is that, if files exist in job directories, i.e. tmp/product.csv, then batch imports will be executed for every available file. See attached screenshot. An upload failure should abort any batch execution.
Right now, Akeneo PIM must be installed in the root of a VirtualHost. It's a hosting and HTTP server configuration best practice, and it's not supported by Oro Platform.
Even if we do not recommend it, in some very specific case, it could be useful to have Akeneo in a subdir of the web root (http://my-host.tld/subdir/ instead of http://my-host/).
Hello
When i try to install pim-community-dev
php ../composer.phar install
I have this error
Installing besimple/soap-common (dev-master e9a8384)
Cloning e9a8384121e4db63ebcbf791df8c177c64f4bc4a
[RuntimeException]
Failed to execute git checkout 'e9a8384121e4db63ebcbf791df8c177c64f4bc4a' &
& git reset --hard 'e9a8384121e4db63ebcbf791df8c177c64f4bc4a'
fatal: reference is not a tree: e9a8384121e4db63ebcbf791df8c177c64f4bc4a
on branch master.
When I try to edit any product I get following error
Oops! An Error Occurred
The server returned a "404 Not Found".
Something is broken. Please e-mail us at [email] and let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
Thanks,
Manny
Hi,
I have two issues with Akeneo.
PHP Fatal error: Class 'MongoCursor' not found in /var/www/vendor/doctrine/mongodb-odm-bundle/Doctrine/Bundle/MongoDBBundle/DependencyInjection/Configuration.php on line 68
2 Also in my another server which I have completed the Akeneo installation is not loading up Graphical images and not loading up the sub-links. The CSS is not loading up. Since I had some permission issues I granted 777 permission to all files and folders. Could this be causing the error?
Hello,
I got some headache to find out why akeneo works on dev environment and not in production. Problem came from APC which doesn't exists in PHP 5.5 and not supported.
Cause of that, I receive the following error message:
[Thu Feb 20 20:09:01.891547 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP Fatal error: Call to undefined function Doctrine\\Common\\Cache\\apc_fetch() in /var/www/akeneo/vendor/doctrine/cache/lib/Doctrine/Common/Cache/ApcCache.php on line 40
[Thu Feb 20 20:09:01.891568 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP Stack trace:
[Thu Feb 20 20:09:01.891576 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 1. {main}() /var/www/akeneo/web/app.php:0
[Thu Feb 20 20:09:01.891583 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 2. Symfony\\Component\\HttpKernel\\Kernel->handle() /var/www/akeneo/web/app.php:23
[Thu Feb 20 20:09:01.891590 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 3. Symfony\\Component\\HttpKernel\\Kernel->boot() /var/www/akeneo/app/bootstrap.php.cache:2247
[Thu Feb 20 20:09:01.891597 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 4. Symfony\\Component\\HttpKernel\\Kernel->initializeContainer() /var/www/akeneo/app/bootstrap.php.cache:2216
[Thu Feb 20 20:09:01.891603 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 5. Symfony\\Component\\DependencyInjection\\ContainerBuilder->compile() /var/www/akeneo/app/bootstrap.php.cache:2436
[Thu Feb 20 20:09:01.891610 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 6. Symfony\\Component\\DependencyInjection\\Compiler\\Compiler->compile() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:629
[Thu Feb 20 20:09:01.891617 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 7. Oro\\Bundle\\NotificationBundle\\DependencyInjection\\Compiler\\EventsCompilerPass->process() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php:119
[Thu Feb 20 20:09:01.891624 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 8. Oro\\Bundle\\NotificationBundle\\DependencyInjection\\Compiler\\EventsCompilerPass->checkDatabase() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/NotificationBundle/DependencyInjection/Compiler/EventsCompilerPass.php:34
[Thu Feb 20 20:09:01.891631 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 9. Doctrine\\ORM\\EntityManager->getClassMetadata() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/NotificationBundle/DependencyInjection/Compiler/EventsCompilerPass.php:54
[Thu Feb 20 20:09:01.891638 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 10. Doctrine\\Common\\Persistence\\Mapping\\AbstractClassMetadataFactory->getMetadataFor() /var/www/akeneo/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:268
[Thu Feb 20 20:09:01.891645 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 11. Pim\\Bundle\\CatalogBundle\\Doctrine\\ArrayApcCache->fetch() /var/www/akeneo/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php:207
[Thu Feb 20 20:09:01.891651 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 12. Doctrine\\Common\\Cache\\CacheProvider->fetch() /var/www/akeneo/src/Pim/Bundle/CatalogBundle/Doctrine/ArrayApcCache.php:54
[Thu Feb 20 20:09:01.891658 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 13. Doctrine\\Common\\Cache\\CacheProvider->getNamespacedId() /var/www/akeneo/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php:78
[Thu Feb 20 20:09:01.891665 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 14. Doctrine\\Common\\Cache\\CacheProvider->getNamespaceVersion() /var/www/akeneo/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php:147
[Thu Feb 20 20:09:01.891671 2014] [:error] [pid 20360] [client 192.168.30.1:57427] PHP 15. Doctrine\\Common\\Cache\\ApcCache->doFetch() /var/www/akeneo/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php:174
The solution in my case was to disable the following lines into app/config/config_prod.yml
doctrine:
orm:
entity_managers:
default:
# metadata_cache_driver: apc
# result_cache_driver: apc
# query_cache_driver: apc
As APC doesn't also works well in PHP 5.4 may be could better to review this option. No ?
This Github issue is synchronized with Zendesk,
Zendesk ticket ID: 1
Priority: high
Zendesk assignee: Assistance/Frédéric de Gombert
Original ticket content:
Ceci est le premier commentaire. N’hésitez pas à supprimer cet exemple de ticket.
As some mainline Linux distributions (Centos 6, RedHat 6) only provides ICU 4.2, we need to fix our version to 1.1 ICU (see http://symfony.com/doc/current/components/intl.html, deployment issues)
Some adaptations may need to be done to our code as locale code in ICU 4.2 is not the same as ICU 4.4 ('en' in older lib, vs 'en_US' in new version).
Hello,
I come to you cause I have a problem with the ProductNormalizer. Channel is never set and i can't figure out why. Here are my logs.
[2013-12-02 17:02:46] batch.DEBUG: Job execution starting: startTime=, endTime=, updatedTime=, status=2, exitStatus=, exitDescription=[], job=[lea_export_product] [] []
[2013-12-02 17:02:46] batch.INFO: Step execution starting: id=0, name=[elle_json_connector.jobs.product_export.export.title], status=[2], exitCode=[EXECUTING], exitDescription=[], readCount=0, writeCount=0, filterCount=0 [] []
[2013-12-02 17:02:47] batch.ERROR: Encountered an error executing the step: You must specify a channel to return the product for [] []
[2013-12-02 17:02:47] batch.DEBUG: Step execution complete: id=66, name=[elle_json_connector.jobs.product_export.export.title], status=[6], exitCode=[FAILED], exitDescription=[#0 /var/www/intranet-lea/pim-community-dev/src/Pim/Bundle/ImportExportBundle/Normalizer/ProductNormalizer.php(105): Pim\Bundle\ImportExportBundle\Normalizer\ProductNormalizer->filterValues(Object(Doctrine\Common\Collections\ArrayCollection))
#1 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Serializer/Serializer.php(242): Pim\Bundle\ImportExportBundle\Normalizer\ProductNormalizer->normalize(Object(Pim\Bundle\CatalogBundle\Model\Product), 'json', Array)
#2 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Serializer/Serializer.php(111): Symfony\Component\Serializer\Serializer->normalizeObject(Object(Pim\Bundle\CatalogBundle\Model\Product), 'json', Array)
#3 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Serializer/Serializer.php(126): Symfony\Component\Serializer\Serializer->normalize(Object(Pim\Bundle\CatalogBundle\Model\Product), 'json', Array)
#4 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Serializer/Serializer.php(82): Symfony\Component\Serializer\Serializer->normalize(Array, 'json', Array)
#5 /var/www/intranet-lea/pim-community-dev/src/Pim/Bundle/ImportExportBundle/Processor/JSONSerializer/ProductProcessor.php(66): Symfony\Component\Serializer\Serializer->serialize(Array, 'json', Array)
#6 /var/www/intranet-lea/pim-community-dev/vendor/oro/platform/src/Oro/Bundle/BatchBundle/Step/ItemStep.php(186): Pim\Bundle\ImportExportBundle\Processor\JSONSerializer\ProductProcessor->process(Array)
#7 /var/www/intranet-lea/pim-community-dev/vendor/oro/platform/src/Oro/Bundle/BatchBundle/Step/AbstractStep.php(145): Oro\Bundle\BatchBundle\Step\ItemStep->doExecute(Object(Oro\Bundle\BatchBundle\Entity\StepExecution))
#8 /var/www/intranet-lea/pim-community-dev/vendor/oro/platform/src/Oro/Bundle/BatchBundle/Job/Job.php(369): Oro\Bundle\BatchBundle\Step\AbstractStep->execute(Object(Oro\Bundle\BatchBundle\Entity\StepExecution))
#9 /var/www/intranet-lea/pim-community-dev/vendor/oro/platform/src/Oro/Bundle/BatchBundle/Job/Job.php(330): Oro\Bundle\BatchBundle\Job\Job->handleStep(Object(Oro\Bundle\BatchBundle\Step\ItemStep), Object(Oro\Bundle\BatchBundle\Entity\JobExecution))
#10 /var/www/intranet-lea/pim-community-dev/vendor/oro/platform/src/Oro/Bundle/BatchBundle/Job/Job.php(186): Oro\Bundle\BatchBundle\Job\Job->doExecute(Object(Oro\Bundle\BatchBundle\Entity\JobExecution))
#11 /var/www/intranet-lea/pim-community-dev/vendor/oro/platform/src/Oro/Bundle/BatchBundle/Command/BatchCommand.php(117): Oro\Bundle\BatchBundle\Job\Job->execute(Object(Oro\Bundle\BatchBundle\Entity\JobExecution))
#12 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(244): Oro\Bundle\BatchBundle\Command\BatchCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(904): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(191): Symfony\Component\Console\Application->doRunCommand(Object(Oro\Bundle\BatchBundle\Command\BatchCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(96): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/intranet-lea/pim-community-dev/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(121): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/intranet-lea/pim-community-dev/app/console(27): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput))
#18 {main}], readCount=1, writeCount=0, filterCount=0 [] []
[2013-12-02 17:02:47] batch.DEBUG: Upgrading JobExecution status: startTime=2013-12-02T16:02:46+00:00, endTime=, updatedTime=, status=3, exitStatus=, exitDescription=[], job=[lea_export_product] [] []
An error occured during the export execution.
If you could just tell me were the channel is set i can fix this. Thanks
I was able to create Categories, Attributes and Attributes Options using CSV Import. but I don't see a way to import families
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.