View Full Version : 1.5 Problems
melor
5th of October 2003 (Sun), 18:02
Thank God, got my cookie problem solved. As usual, eating your cookies solves many problems.
(1) Bug in ability to show microthumbs in front page of exhibit when small number of pictures are in that gallery. For example, check "Friends of Paul" gallery. The microthumbs are gone for this exhibitionn. Seems to be a problem when show most popular selected and not when most recent.
Link to demo of problem (1) http://www.melor.com/gallery/index.php
(2) This is the information from my Webhost.
================== QUOTE FROM LUNARPAGES ==========
Do you have ImageMagick installed?
Yes the path to the various executable parts is:
/usr/local/bin/mogrify
or if you find your script not finding the path above:
/usr/bin/mogrify
Just replace mogrify with the other commands.
================== END QUOTE ==========
I will be darned if I can get it working... I want to be able to upload one size and have the ImageMagick software do the rest, but I am not sure if I am doing something wrong, or if it isn't supported on my server.
(3) EXIF does not work, but IPTC does. Is this related to the Imagick. If so, why does one work, but not the other?
(4) The path things fur the FTP have me puzzled, but I am not going to worry about that too much untill after I get the ImageMagick issue resolved.
Paul
Pekka
5th of October 2003 (Sun), 18:11
melor wrote:
Thank God, got my cookie problem solved. As usual, eating your cookies solves many problems.
(1) Bug in ability to show microthumbs in front page of exhibit when small number of pictures are in that gallery. For example, check "Friends of Paul" gallery. The microthumbs are gone for this exhibitionn. Seems to be a problem when show most popular selected and not when most recent.
Link to demo of problem (1) http://www.melor.com/gallery/index.php
I'll check that tomorrow (too late now). I think I know the reason...
(2) This is the information from my Webhost.
================== QUOTE FROM LUNARPAGES ==========
Do you have ImageMagick installed?
Yes the path to the various executable parts is:
/usr/local/bin/mogrify
or if you find your script not finding the path above:
/usr/bin/mogrify
Just replace mogrify with the other commands.
================== END QUOTE ==========
I will be darned if I can get it working... I want to be able to upload one size and have the ImageMagick software do the rest, but I am not sure if I am doing something wrong, or if it isn't supported on my server.
Replace mogrify with 'convert' as in
/usr/local/bin/convert
or
/usr/bin/convert
and add same paths but with composite as composite path:
/usr/local/bin/composite
or
/usr/bin/composite
(3) EXIF does not work, but IPTC does. Is this related to the Imagick. If so, why does one work, but not the other?
EXIF is a module in PHP which is installed or not installed (system admin decides). So I'm sure if you drop a mail to your server admin about this they will install EXIF module for you I'm sure.
There is EXIF system in ImageMagick, too, and I sure will see how that can be used - but I'm afraid not for EE 1.5 as there are so many things to do now.
(4) The path things fur the FTP have me puzzled, but I am not going to worry about that too much untill after I get the ImageMagick issue resolved.
ok :)
But let me know of any questions - I'm here to help and I know EE pretty well.
melor
5th of October 2003 (Sun), 18:16
Thanks Pekka, I knew #1 would be easy. Just wanted to let you know i found it.
(2) I tried those. Is usr actually usr, or is it the server name or something like that? I have been using "usr"
(3) Will send email out right away.
(4) Still working on paths. Expoloring right now. I like to try to find my own way.
( 5 New one ) Which directories need what permissions. When in doubt I use 777, but would love a list of the directories that need what permisssion.
Paul
Pekka
5th of October 2003 (Sun), 18:42
I fixed your microthumb bug in index page:
http://photography-on-the.net/building_blocks.zip
Pekka
5th of October 2003 (Sun), 18:44
melor wrote:
( 5 New one ) Which directories need what permissions. When in doubt I use 777, but would love a list of the directories that need what permisssion.
/temp
/export
/input/temp
/input/UPLOAD
/input/UPLOAD/test
/input/UPLOAD/ee_temp_upload
/input/backup/ee_backup_files
Pekka
5th of October 2003 (Sun), 18:48
melor wrote:
(2) I tried those. Is usr actually usr, or is it the server name or something like that? I have been using "usr"
usr is common UNIX path (for user data)
Try also merely:
convert
composite
melor
5th of October 2003 (Sun), 18:49
I had those set to 777. Was hoping that a permission problem was the source of my inability to see the EXIF or resize with Imagemagick
Paul
Pekka
5th of October 2003 (Sun), 19:13
melor wrote:
I had those set to 777. Was hoping that a permission problem was the source of my inability to see the EXIF or resize with Imagemagick
Paul
Perhaps it is a safe mode problem. If your PHP is in safe mode IM can not be used, unless its binaries are in PHP safe mode exec dir (which is set in php.ini by admin).
melor
6th of October 2003 (Mon), 00:43
Got the email from my server provider.
==========quote=========Hello,
The path to the ImageMagick commands is:
/usr/local/bin/
It is installed and working correctly.
I suggest that you follow the instructions for the script that you are trying to use ImageMagick with.
If you have any more questions, please do not hesitate to contact the Lunarpages Help Desk again.
Best Regards,
=========endqoute===========
I tried this before I asked for help. Something else is wrong... You mention safe mode in PHP.
From input/info.php:
Thread Safety disabled
safe_mode Off
safe_mode_exec_dir no value
safe_mode_gid Off
safe_mode_include_dir no value
Thanks in advance for any help.
Paul
melor
6th of October 2003 (Mon), 09:55
My ISP tells me that all the PHP modules are installed and gave me this link to check for myself. When I visit this link I don't see any EXIF related information here.
http://mercury.lunarpages.com/phpinfo.php
Paul
Pekka
6th of October 2003 (Mon), 13:59
melor wrote:
My ISP tells me that all the PHP modules are installed and gave me this link to check for myself. When I visit this link I don't see any EXIF related information here.
http://mercury.lunarpages.com/phpinfo.php
Paul
Yep, no EXIF module installed. I wonder why.
Usually all you need to see is the configure command. What I have here is
'./configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext=shared' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pear' '--with-png' '--with-pspell' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-debugger' '--enable-exif' '--enable-ftp=shared' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem=shared' '--enable-sysvshm=shared' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal' '--enable-mbstring' '--enable-mbstr-enc-trans' '--disable-experimental-zts' '--with-apxs=/usr/sbin/apxs'
(above is just an example and should not be used on another machine)
If they do host virtual sites, then EXIF is something they will have to install as all about 200 available PHP photo gallery packages use in in one way or another.
You can see the same info for your domain in EE's server info (and there full PHP info).
BTW: I checked that your provider uses Cpanel machines, so I found out some typical locations of Imagemagick in Cpanel installations:
/usr/bin/composite
/usr/X11R6/bin/omposite
/usr/local/bin/omposite
Now, when you test this stuff, enter the path (copy and paste) and save. Now open your server info page and see if you see in green that Imagemagick has been found from that path. If it is then convert has been found.
melor
6th of October 2003 (Mon), 14:36
I am still not getting EXIF or conversion. I am using the entry: /usr/local/bin/convert and when I run the test on the "PHP module test page" i am getting no resizing or EXIF info.
When I visit the "server info" page I see:
Imagick Pear
IMAGICK PHP WRAPPER MODULE IS INSTALLED ON THIS SERVER.
FUNCTIONS:
Warning: Invalid argument supplied for foreach() in /home/melor02/public_html/gallery/secret/serverinfo.php on line 150
ImageMagick
EE HAS FOUND IMAGEMAGICK OR GRAPHICSMAGICK FROM SAVED PATH.
Version: ImageMagick 5.4.9 09/11/02 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 2002 ImageMagick Studio LLC
IMAGEMAGICK STATUS IS: ON
TO MAKE SURE THAT IMAGEMAGICK REALLY WORKS, AND TO SET ITS STATUS AND PATH FOR EE, PLEASE RUN THE TEST PAGE
Paul
Pekka
6th of October 2003 (Mon), 14:53
melor wrote:
I am still not getting EXIF or conversion. I am using the entry: /usr/local/bin/convert and when I run the test on the "PHP module test page" i am getting no resizing or EXIF info.
See below.
When I visit the "server info" page I see:
Imagick Pear
IMAGICK PHP WRAPPER MODULE IS INSTALLED ON THIS SERVER.
FUNCTIONS:
Warning: Invalid argument supplied for foreach() in /home/melor02/public_html/gallery/secret/serverinfo.php on line 150
Imagick is detected but does not work (not installed in PHP properly i.e. no functions available for PHP).
ImageMagick
EE HAS FOUND IMAGEMAGICK OR GRAPHICSMAGICK FROM SAVED PATH.
Version: ImageMagick 5.4.9 09/11/02 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 2002 ImageMagick Studio LLC
IMAGEMAGICK STATUS IS: ON
TO MAKE SURE THAT IMAGEMAGICK REALLY WORKS, AND TO SET ITS STATUS AND PATH FOR EE, PLEASE RUN THE TEST PAGE
Ok, keep that path!
Now, change the profile command on graphics module test page and save. Do the ImageMagick test.
Try each one from the menu same way.
melor
6th of October 2003 (Mon), 15:07
Pekka wrote:
Ok, keep that path!
Now, change the profile command on graphics module test page and save. Do the ImageMagick test.
Try each one from the menu same way.
Do you mean this path? /usr/local/bin/convert
I have used this path and the ImageMagick test still fails. I have tried just about every permutation I can think of and am going crazy.
Paul
melor
6th of October 2003 (Mon), 15:37
Pekka, I just got off of the phone with my provider. They tell me that EXIF is not installed and they will see if they can. Also, they tell me that the EXEC command is not enabled on my server and that to use Imagemagick, they will need to move me to another machine. Does that sound right to you?
Paul
Pekka
6th of October 2003 (Mon), 15:58
melor wrote:
Pekka, I just got off of the phone with my provider. They tell me that EXIF is not installed and they will see if they can. Also, they tell me that the EXEC command is not enabled on my server and that to use Imagemagick, they will need to move me to another machine. Does that sound right to you?
Paul
Very good.
So essentially, before this revelation, they tried to convince you you were the problem, not their setup. Typical :)
melor
6th of October 2003 (Mon), 16:22
And I am not about to kiss any ass to get them to install or change their server. I like EE enough to change. Any suggestions? Would like to keep fees down, but don't mind paying a little more for service and speed.
Paul
chriz
7th of October 2003 (Tue), 04:09
melor wrote:
And I am not about to kiss any ass to get them to install or change their server. I like EE enough to change. Any suggestions? Would like to keep fees down, but don't mind paying a little more for service and speed.
Paul
I'm with www.opensourcehost.com and they have everything installed to run EE. Great service too.
Chriz
melor
7th of October 2003 (Tue), 09:58
Now that I changed the profile setting, imagemagick works. Now the only hurdle is the EXIF. I wonder if the EXIF problem is a setting, or if this cannot be solved. I was under the impression that the imagemagick problem had to do with the service provider, but since it was fixed this morning by the profile change, I am wondering if there is a setting or small change that may make the EXIF work too.
Paul
vBulletin® v3.6.12, Copyright ©2000-2010, Jelsoft Enterprises Ltd.