errors in gd, and imagemagic, and how to errors in gd, and imagemagic, and how to
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

errors in gd, and imagemagic, and how to

Started by we_scooter, July 18, 2004, 01:03:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

we_scooter

Hi

I have installed the

QuotePowered by Coppermine Photo Gallery v1.3.0-Nuke
for phpNuke and postNuke by Coppermine Nuke Dev Team
and its been working fine for a while ( let's say 2 weeks) after that just yesterday afternoon it started giving the
" imagemagic not installed ERROR  and so on .. when i check my configurations, I find that every this as is , and using the GD2, I don't know why it keeps asking for imagemagic and gives the error, so i can't upload pics.. here is the error for uploading a single image  , through the upload link ..

"
PHP running on your server does not support the GD image library, check with your webhost if ImageMagick is installed
"

---------------
when i try to add more than 1 image at once , and assign the uploading to the folder ( 777)chmoded and asign the images i want to upload, it loads then ,
" wait till the images been uploaded , "
i see the small red x sign and thats it no images been uploaded to the gallery .. :-\\


what is it ...???? help please ,


what if i want to emagrate from cms cpg to standalone version of coppermine, and not losing my Database , ( only 1 user regisitered)

????

plz help



we_scooter

Casper

Hi,

the cpg for cms (cpgnuke) version is different to the standalone, and for support, you need to go to the website dealing with this version, at www.nukephotogallery.com.

Any support we give may be invalid, or even make the situation worse.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Eveline

we_scooter;

i'm getting the same error message 'bout the gd image gallery for some weeks now..

gd has been updated on the server some days ago so that can't be the problem.. i even don't know how to fix it, i really don't like it!! i have a site 'bout a footballplayer which is visited very often and i don't like it that the gallery doesn't work anymore :(

Joachim Müller


Eveline


Joachim Müller

Eveline - your page isn't working at all - GD is the least of your problems. Correct the fatal error first:
QuoteFatal error: Call to undefined function: getmicrotime() in /home/sites/site2/web/fotoalbumgallery/themes/default/theme.php on line 800
. Make sure you have uploaded all files that belong to the coppermine package, that the files haven't been corrupted and have been uploaded in the proper ftp mode.

GauGau

Eveline

ok, i will remove all files (except album folder) from the server, i will download the package of the cpg1.3.1 again and let's try it again...

Joachim Müller

do not delete include/config.inc.php nor include/install.lock  - refer to the documentation for details on upgrading.

GauGau

Eveline

hmm i've deleted it already.. i installed it again but check www.wesleysneijder.nl/fotoalbumgallery again and you can see the debug mode.. i think that it has to be empty..

when i upload a photo by 'upload photo', i get the follow error:

1 uploads were successful.

Please click 'Continue' to add the files to albums.

but when i take a look in the album no photo has been uploaded...!

Casper

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Eveline

i also can paste my debug mode below if you want casper..

i know it's not awaiting reproval but i've changed none of the files in the package, i've done nothing with the mysql.. i just don't know how to fix the problems..


USER:
------------------
Array
(
    [ID] => 8951b4a92ff3e27aac9d4363066da314
    [am] => 1
    [liv] => Array
        (
           
  • => 26
                [1] => 1
            )

        [lang] => dutch
    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_group] => 1
        [user_active] => YES
        [user_name] => Eveline
        [user_password] => ********
        [user_lastvisit] => 2004-07-19 13:54:25
        [user_regdate] => 2004-07-19 13:54: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] => 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
        [groups] => Array
            (
                [1] => 1
            )

    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg131_filetypes;
        [1] => SELECT * FROM cpg131_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'f7cd59849882df9992920761ab9f99bf'
        [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 cpg131_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg131_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg131_banned WHERE expiry < 1090239234
        [5] => SELECT * FROM cpg131_banned WHERE ip_addr='213.84.11.200' OR ip_addr='213.84.11.200' OR user_id=1
        [6] => SELECT cid, name, description, thumb FROM cpg131_categories WHERE parent = ''  ORDER BY pos
        [7] => SELECT aid FROM cpg131_albums as a WHERE category>=10000
        [8] => SELECT count(*) FROM cpg131_pictures as p, cpg131_albums as a WHERE p.aid = a.aid AND category >= 10000
        [9] => SELECT cid, name, description, thumb FROM cpg131_categories WHERE parent = '1'  ORDER BY pos
        [10] => SELECT aid FROM cpg131_albums WHERE category = 2
        [11] => SELECT count(*) FROM cpg131_pictures as p, cpg131_albums as a WHERE p.aid = a.aid AND category = 2
        [12] => SELECT count(*) FROM cpg131_albums as a WHERE category = '2'
        [13] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg131_albums as a LEFT JOIN cpg131_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,1
        [14] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg131_pictures WHERE aid IN (1) AND approved = 'YES' GROUP BY aid
        [15] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg131_pictures WHERE pid='58'
        [16] => SELECT cid, name, description, thumb FROM cpg131_categories WHERE parent = '2'  ORDER BY pos
        [17] => SELECT aid FROM cpg131_albums as a WHERE category = '0'
        [18] => SELECT count(*) FROM cpg131_albums as a WHERE 1
        [19] => SELECT count(*) FROM cpg131_pictures as p LEFT JOIN cpg131_albums as a ON a.aid=p.aid WHERE 1
        [20] => SELECT count(*) FROM cpg131_comments as c LEFT JOIN cpg131_pictures as p ON c.pid=p.pid LEFT JOIN cpg131_albums as a ON a.aid=p.aid WHERE 1
        [21] => SELECT count(*) FROM cpg131_categories WHERE 1
        [22] => SELECT sum(hits) FROM cpg131_pictures as p LEFT JOIN cpg131_albums as a ON p.aid=a.aid WHERE 1
        [23] => SELECT count(*) FROM cpg131_albums as a WHERE category = '0'
        [24] => SELECT COUNT(*) from cpg131_pictures WHERE approved = 'YES'
        [25] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, aid FROM cpg131_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 4
        [26] => SELECT COUNT(*) from cpg131_pictures WHERE approved = 'YES'
        [27] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid,title, caption, owner_id, owner_name, aid FROM cpg131_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,4
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.4 - OK
    ------------------
    mySQL version: 3.23.54
    ------------------
    Coppermine version: 1.3.1
    ==========================
    Module: gd
    ------------------
    GD Support enabled
    GD Version bundled (2.0.15 compatible)
    FreeType Support enabled
    FreeType Linkage with TTF library
    GIF Read Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    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 | 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/lib/php | .:/usr/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    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 | 2097152 | 2097152
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.388 seconds - 28 queries in 0.059 seconds - Album set : [/i]

Joachim Müller

apparently you haven't uploaded all files (at least http://www.wesleysneijder.nl/fotoalbumgallery/images/flags/reset.gif is missing from what I can see), this hints that you have forgotten other files as well. Make sure to CHMOD as suggested (you shouldn't have deleted the whole bunch - this is not recommended upgrade procedure. Next time, make sure to take a look into the documentation before doing such hasty moves).
Switch of debug_mode, unless you relly need it.

GauGau

Eveline

well i've downloaded your package, extract it on my pc and immediately uploaded it. there's no file named reset.gif in the folder images/flags..