Forums / Install & configuration / No image after upgrade (3.10 to 4.0)
Mathieu GARAUD
Friday 14 December 2007 9:27:24 am
Hello,
I upgrade my version of ezpublish (3.10) to the newest version 4.0, i followed all instructions provides on the site. But when i tried to visit my web site all pictures had deasseapaered.
If you have an idea to fix this bug, feel free to answer me.
Tanks
FYI:I'm on ubuntu server 7.10 (Apache2+Mysql server5 + php5.2) i installed php5-gd php5-xsl php5-mysql
Piotrek Karaś
Friday 14 December 2007 9:34:08 am
Many possible reasons. Some of them: - invalid file/directory permissions - GD not working - not enough space on disk - eZ 4.0.0 had a bug that could affect some operations performed with image() template operator - some templates may not be found due to strict override rules in 4.0- more...
Any debug messages?
-- Company: mediaSELF Sp. z o.o., http://www.mediaself.pl eZ references: http://ez.no/partners/worldwide_partners/mediaself eZ certified developer: http://ez.no/certification/verify/272585 eZ blog: http://ez.ryba.eu
Greg McAvoy-Jensen
Friday 14 December 2007 9:35:07 am
Do you get any clues from the debug output? You might also verify that you've got file permissions correct.
Granite Horizon, Certified Developer of eZ Publish Web Solutions Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg Blog: http://granitehorizon.com/blog
Friday 14 December 2007 9:43:43 am
I try in this message to answer evryone:1. Rights i use chmod -R 755 on the main folder.
2. php5-gd is installed
3. Log
[ Dec 14 2007 18:36:30 ] [193.252.3.108] eZImageManager::createImageAlias: Failed converting var/ezwebin_site/storage/images/media/images/logojira/1010-1-eng-GB/logojira.png to alias 'original' in directory 'var/ezwebin_site/storage/images/media/images/logojira/1010-1-eng-GB'
4. About space 200GB free
Did you have any ideas ?
Friday 14 December 2007 10:11:37 am
I'm not sure that's what you want for permissions. You might try running modfix.sh (found in bin). At the end, it tells you to do this for the var directory:
If your web server user is apache and the group is apache, then run the following commands: # chown -R apache.apache var/# chmod -R 770 var/
This will give you safer permissions, and verify that we don't have a permission problem in var.
Friday 14 December 2007 10:31:43 am
I fix this bug you can close this thread.
For people who are in the same situation they just have to instal the package imagemagick (using apt-get install imagemagick)
Thanks evryone
BR
Friday 14 December 2007 10:43:53 am
Check your image.ini (.append.php) settings: HasGD2=true Double check you have that GD working OK in your phpinfo();Also, to rule out permission problem I'd actually set 777 just for the test's sake ;)
PS. So was I right? Did you have HasGD2=false? ;)