Advanced search  

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

Pages: [1]   Go Down

Author Topic: Upload problem when ImageMagick is ON,  (Read 3832 times)

0 Members and 1 Guest are viewing this topic.

pow_mia

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Upload problem when ImageMagick is ON,
« on: September 17, 2009, 12:45:03 pm »

Hi
I want to start with to say, that I have now for 2 days spent time here on the board and searched and searched in older topics and read all the Docs, but still I have not find a answer that can help me with my issue,
is there is a answer on the board somewhere and I have missed it,, so excuse me,  but I have really searched!

oki here is my problem,  I have installed ImageMagick on my Server, (Private Server) (Debian, Lenny).
and in Coppermine Settings when I choose ImageMagick, and try to upload images, than nothing happends after upload.

and get this in answer:
""The previous file could not be placed.
You have successfully placed all the files."


but when I go back to GD.2  than it's no problem to upload.
and yes I have read that you guys suggest that people who have problem with ImageMagick to go back to GD.2,  but it would be great if ImageMagick could be working.

the message I get in Debug-mode is following, and I can not see any "Warning" or "Error" text there, 
and I have give the Album-Folders 777 permissions.

So can anybody help me? 

Code: [Select]
USER:
------------------
Array
(
    [ID] => e5f5a0a65b0a215bda02363a2e4f415c
    [am] => 1
    [lang] => swedish
    [liv] => Array
        (
            [0] => 85
            [1] => 155
        )

)

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

    [disk_max] => 0
    [disk_min] => 0
    [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] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `wallpaper`.cpg14x_sessions where time<1253179779 and remember=0; (0s)
    [3] => delete from `wallpaper`.cpg14x_sessions where time<1251973779; (0s)
    [4] => select user_id from `wallpaper`.cpg14x_sessions where session_id = '41c0d4c10ed6dc0052bca2ce0e5c20d6' (0s)
    [5] => select user_id as id, user_password as password from `wallpaper`.cpg14x_users where user_id=1 (0s)
    [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 `wallpaper`.cpg14x_users AS u INNER JOIN `wallpaper`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `wallpaper`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [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 cpg14x_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
    [10] => update `wallpaper`.cpg14x_sessions set time='1253183379' where session_id = '41c0d4c10ed6dc0052bca2ce0e5c20d6' (0s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2009-09-17 12:29:39' (0s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='80.217.195.199' OR ip_addr='80.217.195.199' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg14x_albums WHERE category < 10000 ORDER BY title (0s)
    [15] => SELECT aid, title FROM cpg14x_albums WHERE category='10001' ORDER BY title (0s)
    [16] => SELECT encoded_string FROM cpg14x_temp_data WHERE unique_ID = '39eecf3d' (0s)
    [17] => UPDATE cpg14x_temp_data SET encoded_string = 'YTowOnt9' WHERE unique_ID = '39eecf3d' (0s)
    [18] => SELECT category FROM cpg14x_albums WHERE aid='10' (0s)
    [19] => DELETE FROM cpg14x_temp_data WHERE unique_ID = '39eecf3d' (0s)
    [20] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
)

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

==========================
POST :
------------------
Array
(
    [album] => 10
    [title] =>
    [caption] =>
    [keywords] =>
    [control] => phase_2
    [unique_ID] => 39eecf3d
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.6-1+lenny3 - OK
------------------
mySQL version: 5.0.51a-24+lenny1
------------------
Coppermine version: 1.4.25(stable)
==========================
Module: GD
------------------
GD Version: 2.0 or higher
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support:
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.51a
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient_r 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1.1
Linked Version 1.2.3.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
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/share/php:/usr/share/pear | .:/usr/share/php:/usr/share/pear
open_basedir | no value | 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 | 60 | 60
upload_max_filesize | 100M | 100M
post_max_size | 200M | 200M
==========================
Page generated in 0.06 seconds - 21 queries in 0 seconds - Album set : ; Meta set: ;
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1543
  • aka 'i-imagine'
    • Home Page
Re: Upload problem when ImageMagick is ON,
« Reply #1 on: September 17, 2009, 01:11:02 pm »

With a private gallery you will be pretty much on your own to diagnose the problem.

However, you can generate a more specific error message if you follow the steps outlined here:

4.11.4 Upload troubleshooting

pow_mia

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Upload problem when ImageMagick is ON,
« Reply #2 on: September 17, 2009, 05:45:25 pm »

With a private gallery you will be pretty much on your own to diagnose the problem.

However, you can generate a more specific error message if you follow the steps outlined here:

4.11.4 Upload troubleshooting

what you mean with that?  should it be a buisness gallery, so I can ask for help?? ???
the problem I have is that I don't get any "Error" messages in the Debug message and its than impossible for me to find the problem...
Please read what I writed, instead to guide me to more reading Docs, I have writed that I have looked trough all the Docs and not find any answer to my problem, I even searched the Board for old post, but still nothing..

So please someone help me with this.. I will appreciate it.  ;)
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1543
  • aka 'i-imagine'
    • Home Page
Re: Upload problem when ImageMagick is ON,
« Reply #3 on: September 17, 2009, 06:22:19 pm »

The meaning is: "If no one can see your site then no one can see what might be wrong"

Why don't you actually try what is suggested in the manual?

From that section in the manual......

Quote
  • Step 1.......
  • Step........9
Then try to upload (using http uploads, even if you experienced troubles using another upload method) - you should get a more detailed error message that tells you what exactly goes wrong with your uploads.

Sorry, that is all that I can provide.
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.