coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: br101 on September 09, 2005, 11:52:27 AM

Title: Image Magick
Post by: br101 on September 09, 2005, 11:52:27 AM
Hi,

at the first sorry for my very bad english... :-[

I would install Coppermine on a server. My provieder has say, that the server has ImageMagick installed (on the /usr/bin/ libery), but Coppermine don´t find ImageMagick on this server. Can you help me ??? I attached a screen from the error. You can find the script here: http://www.zuegeonline.de/gallerien/install.php

Greetings from Germany

Lennart
Title: Re: Image Magick
Post by: Stramm on September 09, 2005, 01:23:12 PM
Open a ssh session on your host and type either 'whereis convert' or 'locate convert' or 'find / -name convert'

usually it's in /usr/local/bin/
Title: Re: Image Magick
Post by: Joachim Müller on September 09, 2005, 05:10:05 PM
or use GD if you have it. Refer to the FAQ (http://coppermine.sourceforge.net/faq.php).
Title: Re: Image Magick
Post by: amber2403 on September 17, 2005, 07:14:09 PM
I want to install GD, and the facts to me weren't very helpful. I didn't understand much. Can someone clarify the installation steps? First it set to do something with you php install? Where? I never installed PHP on windows so that in itself is confusing.

Can someone please give me a step to step install on how to install GD? I REALLY new when it comes to coppermine so I'm gonna need as much detail and broken down terms as possible. LoL.

Thanks in advance!
Title: Re: Image Magick
Post by: artistsinhawaii on September 17, 2005, 07:48:22 PM
Amber,

Looks like you already have coppermine installed and running on a Webhost service.  If you didn't put a path to ImageMagick during the install, you already have GD installed.  GD1 or GD2, as well as ImageMagick are installed by your WebHost.  The only time you need to install these yourself is when you are running a local server - software that turns your computer into a Webhost.

Dennis
Title: Re: Image Magick
Post by: amber2403 on September 18, 2005, 07:15:50 PM
Hm.. Ok... Then do u know why the pictures I am trying to add aren't loading in the whole batch add files thing? And then they aren't added into the gallery at the end.
Title: Re: Image Magick
Post by: kegobeer on September 18, 2005, 07:29:13 PM
Upload problems?
What should I do first? (http://coppermine.sourceforge.net/faq.php#firstSteps)
Troubleshooting the upload process. (http://coppermine.sourceforge.net/tutorial/uploads/troubleshooting.php)
General upload troubleshooting. (http://coppermine.sourceforge.net/faq.php#uploadGeneralTroubleshooting)
Title: Re: Image Magick
Post by: amber2403 on September 19, 2005, 12:06:14 AM
Ok. I read through all of that, and I still haven't figured out how to fix it.

But I do have this to show you.



USER:
------------------
Array
(
    [ID] => b0cf522329caf5a88be948451f51328a
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => Amber
    [user_password] => ********
    [user_lastvisit] => 2005-09-15 12:45:21
    [user_regdate] => 2005-09-15 12:45:05
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content FROM cpg134_filetypes;
    [1] => SELECT * FROM cpg134_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '741de7ca67fd10276c3b6d933f1f156b'
    [2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg134_usergroups WHERE group_id in (1)
    [3] => SELECT group_name FROM  cpg134_usergroups WHERE group_id= 1
    [4] => DELETE FROM cpg134_banned WHERE expiry < '2005-09-18 17:01:23'
    [5] => SELECT * FROM cpg134_banned WHERE ip_addr='66.140.36.82' OR ip_addr='66.140.36.82' OR user_id=1
    [6] => SELECT aid, title FROM cpg134_albums WHERE 1
    [7] => SELECT filepath, filename FROM cpg134_pictures WHERE filepath LIKE 'highquality/actors/shanewest/magazines/cosmo%'
    [8] => SELECT aid, title FROM cpg134_albums WHERE category = 0 ORDER BY title
    [9] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg134_albums as a, cpg134_categories as c WHERE a.category = c.cid AND a.category < '10000' ORDER BY cname,title
    [10] => SELECT aid, CONCAT('(', user_name, ') ', title) AS title FROM cpg134_albums AS a INNER JOIN cpg134_users AS u ON category = (10000 + user_id) ORDER BY title
)

==========================
GET :
------------------
Array
(
    [startdir] => highquality/actors/shanewest/magazines/cosmo
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.0.24-standard-log
------------------
Coppermine version: 1.3.4
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.28 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 1
Active Links 2
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php:/ssi/:/ad/ | .:/usr/lib/php:/usr/local/lib/php:/ssi/:/ad/
open_basedir | /home/vitality:/usr/lib/php:/usr/local/lib/php:/tmp | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 55M | 55M
==========================
Page generated in 0.022 seconds - 11 queries in 0.002 seconds - Album set :

Title: Re: Image Magick
Post by: kegobeer on September 19, 2005, 12:39:38 AM
Please supply exact error messages.  Also, explain all the steps you do in the batch add process, what is displayed, if you are using GD or ImageMagick, etc.
Title: Re: Image Magick
Post by: amber2403 on September 19, 2005, 01:19:49 AM
Um, I don't know the exact error ... I got to Batch Add files ... Then load the folder that the images are in and the images doen't even show up .... I get a Red X Mark instead ...

I'm assuming I have GD or wahtever that is called, but I do not have Image Magick.

And I went through the upload trouble shooting .. Did as it said, and it's not fixing anything ... So what I'm going to try to do is take all of it off... and reupload it and see if maybe that'll fix something.
Title: Re: Image Magick
Post by: Joachim Müller on September 20, 2005, 08:57:38 AM
do as suggested in the tutorial "Trouble-Shooting the upload process (http://coppermine-gallery.net/tutorial/uploads/troubleshooting.php)": do the suggested settings and then post a link and non-admin test user account.

To find out if you actually have GD, refer to http://coppermine.sourceforge.net/faq.php#VersionGD