Re: Gallery with ImageMagick Re: Gallery with ImageMagick
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Re: Gallery with ImageMagick

Started by Nad_F, February 08, 2006, 12:43:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nad_F

I use 1.4.3 stable and for me the path to IM is /usr/local/bin/ but it doesn't work, in command line I specify "mogrify -resize 256x256 *.jpg, *.jpeg" or "mogrify -resize 256x256", but thumbs not generating.
Can anyone help me, please?
Beforehand many thanks!

Joachim Müller

don't specify any particular options. Coppermine uses "convert". Make sure your permissions on the ImageMagick folder are set up properly. If you have issues, use GD. Don't hijack threads, split your reply from http://forum.coppermine-gallery.net/index.php?topic=25666.0

Nad_F

Hello!
Sorry for so bothered question, but I need to use Coppermine with IM for many reasons.
For me the path to IM is /usr/local/bin/. In command line I specify "mogrify -resize 640x640 *.jpg, *.jpeg", but thumbs not generating.
Help me please, if you can.
Beforehand many thanks!!!

Here is my debug information:
USER:
------------------
Array
(
   [ID] =>
   [am] => 1
   [lang] => russian
   [liv] => Array
       (
           [0] => 1
           [1] => 8
           [2] => 11
           [3] => 12
           [4] => 9
       )

   [uid] => 3
)

==========================
USER DATA:
------------------
Array
(
   [user_id] => 1
   [user_name] => NetID
   [groups] => Array
       (
           [0] => 1
       )

   [disk_max] => 2048
   [disk_min] => 2048
   [can_rate_pictures] => 1
   [can_send_ecards] => 1
   [ufc_max] => 3
   [ufc_min] => 3
   [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] => Девелоперы
   [upload_form_config] => 3
   [group_quota] => 2048
   [can_see_all_albums] => 1
   [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   [0] => SELECT extension, mime, content, player FROM cpg_filetypes; (0.001s)
   [1] => select * from cpg_plugins order by priority asc; (0.001s)
   [2] => delete from `*****`.cpg_sessions where time<1139432414 and remember=0; (0.008s)
   [3] => delete from `*****`.cpg_sessions where time<1138226414; (0s)
   [4] => select user_id from `*****`.cpg_sessions where session_id=md5("e749032b7518ea0fc3a65dd015e66fec5343eea55cb3f4d1ff53829f77d8a54d"); (0.001s)
   [5] => select user_id as id, user_password as password from `*****`.cpg_users where user_id=1 (0.001s)
   [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `*****`.cpg_users AS u INNER JOIN `*****`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.003s)
   [7] => SELECT user_group_list FROM `*****`.cpg_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
   [8] => 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 cpg_usergroups WHERE group_id in (1) (0.002s)
   [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0.001s)
   [10] => update `*****`.cpg_sessions set time='1139436014' where session_id=md5('********************'); (0.005s)
   [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0.001s)
   [12] => DELETE FROM cpg_banned WHERE expiry < '2006-02-09 01:00:14' (0s)
   [13] => SELECT * FROM cpg_banned WHERE (ip_addr='193.232.209.1' OR ip_addr='193.232.209.1' OR user_id=1) AND brute_force=0 (0s)
   [14] => SELECT aid, title FROM cpg_albums WHERE category < 10000 ORDER BY title (0.001s)
   [15] => SELECT aid, title FROM cpg_albums WHERE category='10001' ORDER BY title (0s)
   [16] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0.001s)
   [17] => SELECT unique_ID FROM cpg_temp_data (0.001s)
   [18] => INSERT INTO cpg_temp_data VALUES ('0b50f266', '********************', '1139436014') (0.002s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
   [URI_array] => Array
       (
           [0] =>
           [1] =>
           [2] =>
       )

   [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.0.26-log
------------------
Coppermine version: 1.4.3(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.24
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/include/mysql
MYSQL_LIBS -L/usr/local/lib/mysql -lmysqlclient  
==========================
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 | Off | Off
safe_mode_exec_dir | /usr/local/apache-php4/php/bin | /usr/local/apache-php4/php/bin
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/local/apache-php4/php/bin | /usr/local/apache-php4/php/bin
sql.safe_mode | Off | Off
disable_functions | dl, shell_exec, exec, system, passthru, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, set_time_limit | dl, shell_exec, exec, system, passthru, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, set_time_limit
file_uploads | On | On
include_path | .: | .:
open_basedir | /home/*****/ | /home/
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i -fphp-sender-xrays.edu.mhost.ru@undeliverable.masterhost.ru | /usr/sbin/sendmail -t -i -fphp-sender@undeliverable.masterhost.ru
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 4M | 4M
==========================
Page generated in 0.475 seconds - 19 queries in 0.03 seconds - Album set : ; Meta set: ;


/include/functions.inc.php
Warning line 2910: cannot yet handle MBCS in html_entity_decode()!
Warning line 2910: cannot yet handle MBCS in html_entity_decode()!
Warning line 2910: cannot yet handle MBCS in html_entity_decode()!


/upload.php
Notice line 1968: Undefined variable: file_failure_array
Notice line 1969: Undefined variable: URI_failure_array
Notice line 1970: Undefined variable: zip_failure_array


/include/picmgmt.inc.php
Notice line 205: Undefined index: OS
Notice line 210: Undefined variable: retval
Warning line 210: exec() has been disabled for security reasons
Notice line 214: Undefined variable: retval
Warning line 277: chmod(): No such file or directory
Warning line 279: getimagesize(./albums/edit/preview_24926c7d.jpg): failed to open stream: No such file or directory
Warning line 282: unlink(./albums/edit/preview_24926c7d.jpg): No such file or directory
/include/functions.inc.php
Notice line 2660: Undefined variable: i


register_globals ON

Blueiris

You can lead a horse to water, but you can't make him drink - he's got to discover that it's wet for himself.

Joachim Müller

don't post debug output unless requested. Merging the new thread you started with the original one.