Previous picture could not be placed... (error) Previous picture could not be placed... (error)
 

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

Previous picture could not be placed... (error)

Started by clarkie, September 19, 2005, 11:01:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

clarkie

Can you help me?  [URL: http://www.clarkcentral.co.uk/  UID: test PWD: test]

I have tried setting everything as you have outlined in the troubleshooting guide.  I then tried to upload a file, but got this message:

Critical error
The file 'albums/userpics/10004/DSCF0079~0.JPG' can't be inserted in the album

Error executing ImageMagick - Return value: 127

Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 100x75 'albums/userpics/10004/DSCF0079~0.JPG' 'albums/userpics/10004/thumb_DSCF0079~0.JPG'

The convert program said:
sh: line 1: /usr/bin/convert: No such file or directory

File: /home/prfclark/public_html/db_input.php - Line: 305


And the logfile says this:

USER:
------------------
Array
(
    [ID] => f826224633815357962006d5cb5d0566
    [am] => 1
    [search] => ###d*
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 4
    [user_group] => 2
    [user_active] => YES
    [user_name] => phillip.clark
    [user_password] => ********
    [user_lastvisit] => 2005-09-19 16:56:52
    [user_regdate] => 2005-09-19 16:26:53
    [user_group_list] =>
    [user_email] => phillip.clark@clarkcentral.com
    [user_website] => www.clarkcentral.com
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [disk_max] => 2048
    [disk_min] => 2048
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 1
    [num_URI_upload] => 1
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 0
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Registered
    [upload_form_config] => 0
    [group_quota] => 2048
    [can_see_all_albums] => 0
    [group_id] => 2
    [groups] => Array
        (
            [1] => 2
        )

)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM cpg_filetypes;
        [1] => SELECT * FROM cpg_users WHERE user_id='4'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '82933ef97125fca2f246892fc224e5a8'
        [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 cpg_usergroups WHERE group_id in (2)
        [3] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 2
        [4] => DELETE FROM cpg_banned WHERE expiry < '2005-09-19 16:58:01'
        [5] => SELECT * FROM cpg_banned WHERE ip_addr='83.216.138.20' OR ip_addr='83.216.138.20' OR user_id=4
        [6] => SELECT aid FROM cpg_albums WHERE visibility != '0' AND visibility !='10004' AND visibility NOT IN (2)
        [7] => SELECT category FROM cpg_albums WHERE aid='4' and (uploads = 'YES' OR category = '10004')
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [album] => 4
        [MAX_FILE_SIZE] => 1048576
        [title] => Phil, Lisa & Georgie
        [caption] =>
        [keywords] => boat trip boys narrowboat annual
        [event] => picture
        [user1] =>
        [user2] => 2003
    )

    ==========================
    Page generated in 0.077 seconds - 8 queries in 0.002 seconds - Album set :

Nibbler

You need to determine and specify the correct path to imagemagick in config or switch to GD2 if available.

clarkie

Hi Nibbler

Thanks for your prompt response.  I'm afraid though, that I am a bit of a newbie at all of this.  I have installed CPG using Fantastico, on a shared hosted server, so I need to ask for a little more direction here.

I know what a 'path' is, but need to know what I am looking for - is it something like 'ImageMajik.exe'?  Also, is it likely to be in my set of folders on the server, or something my ISP has to do for me?

I have no idea what GD2 is, so I'll pursue the above route for the moment.

Thanks

Clarkie

Nibbler

Switching to GD2 in config is likely to work for you, if it doesn't then seek support from your host.