Comments (11)
Hello again,
I looked into this again, and it turns out that GD was not compiled with the flag --with-jpeg-dir=/usr/include/
. After re-compiling with the flag and restarting Apache it works 🎉
However, I'm pretty certain that exif
needs to be installed for CE as well. So it should be added to the list of requirements.
from pim-docs.
I opened two MR :
akeneo/pim-community-dev#6314
#623
from pim-docs.
Hello @pardahlman and thank you for the feedback, can someone from @akeneo/core-team confirm that exif
is / is not a PHP requirement for CE/EE versions? I'll update the docs if needed.
from pim-docs.
Looking at the code, it's only used in EE (for the Product Asset Management feature)
from pim-docs.
For Image magick, I've contributed it yesterday: https://github.com/akeneo/pim-docs/blob/1.5/developer_guide/installation/system_requirements/system_requirements.rst.inc#L47. Do we need - in addition - exif
extension for EE ?
@pardahlman I'll be glad to merge your contribution if you add the exif
extension in the System Requirements
section of our documentation 👍
from pim-docs.
yep exif for EE :)
from pim-docs.
Thanks for giving this attention - I really appreciate it 👌
Do I understand you correctly that:
exif
is only needed for EEimagemagick
is only needed for EE
I'm running 1.7.2 CE (here's the system-info) and the log entries above comes from that instance. To me, the following "PHP exif extension is required to use the ExifMetadataReader" really suggests that exif
is needed, wouldn't you say? Especially since installing it mitigated the problem (but exposed a different one)
It would be interesting to hear your thought on the second log entry as well
[2017-05-14 12:16:17] request.CRITICAL: Uncaught PHP Exception Imagine\Exception\RuntimeException: "call_user_func_array() expects parameter 1 to be a valid callback, function 'imagejpeg' not found or inval
id function name" at /akeneo/vendor/imagine/imagine/lib/Imagine/Gd/Image.php line 697 {"exception":"[object] (Imagine\\Exception\\RuntimeException(code: 2): call_user_func_array() expects parameter 1 to be
a valid callback, function 'imagejpeg' not found or invalid function name at /akeneo/vendor/imagine/imagine/lib/Imagine/Gd/Image.php:697, ErrorException(code: 0): call_user_func_array() expects parameter 1
to be a valid callback, function 'imagejpeg' not found or invalid function name at /akeneo/vendor/imagine/imagine/lib/Imagine/Gd/Image.php:580)"} []
If you want to reproduce it yourselves, you can spin up an Akeneo instance using this docker-commpose (here's the file that installs the PHP extensions.
Looking forward hearing from you!
from pim-docs.
Reading the System Requirements again, it says
php5-gd No specific configuration
Don't know if it makes sense to say that it needs to be configured according to above?
from pim-docs.
Hi @mickaelandrieu,
I'll take it 😄
So I reproduct the bug on my local. When I upload an image on a product with exif disable, I dont have the preview. And when exif is actived, the preview is here :)
Also, in demo.akeneo.com, the exif extension is enabled too.
So I will add php-exif in system-requirement. But I guess, I have to add the php-exif in the requirement of the package who need It.
Is it liip/imagine-bundle or imagine/Imagine or other ?
from pim-docs.
Hello @dnd-tyler!
It's a very good question: I don't know :) The best we can do is add it to our own composer.json
: if it's Imagine the issue, as Symfony is welcoming this library, we'll probably rely on it later.
Also you may complete the Pim requirements => https://github.com/akeneo/pim-community-dev/blob/master/app/PimRequirements.php#L53
What do you think?
from pim-docs.
Issue has been fixed starting 2.0. Thanks for it everyone.
from pim-docs.
Related Issues (20)
- The documentation's hamburger button doesn't show the menu properly
- Akeneo Pim 5.0 installation database table not found error HOT 1
- Settings ElasticSearch User and Password HOT 2
- Error in example in maintain_pim/purge/purge_version_entities.rst
- username invalid in prod mode fresh installation
- Fails to mention Ghostscript requirement
- "How to import Products from a XML file" form extension does not work in 5.0
- Akeneo 5.0 Docs: `bin/console pim:product:query` does not exists anymore
- Oh no! A 500 error occurred ...
- The given 'driver' mysql is unknow
- How to apply a patch - Community Edition - The missing manual?
- Akeneo - Pim - How to get the product missing required attributes count? HOT 2
- Use PUT instead Patch
- Landing page not on the right Akeneo PIM version HOT 2
- Error in docs for Installing Akeneo PIM Community Edition (CE)
- Increase file upload size limit on akeneo dev 6.0 HOT 1
- purge jobs executions not working
- Error during product:index
- Problem after update PIM to 7.0 - pim:job-automation:push-scheduled-jobs-to-queue not available HOT 2
- akeneo server problem, no show product ,
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pim-docs.