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: Gifs problem  (Read 26937 times)

0 Members and 1 Guest are viewing this topic.

DJNilo

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Gifs problem
« on: August 17, 2010, 01:17:28 pm »

Hi, guys I have a big problem.
I do not really know how this Coppermine script works for gifs and I do not think Coppermine ''really'' works for gifs format.

I have a dedicated, FFMPEG and Imagemagick installed.
My problem is when I upload gifs using imagemagick it works but when I look at my uploaded gifs they appear (black) box.
As I show you here: http://fakeforlife.com/gallery/toons/displayimage.php?album=3&pid=1298#top_display_media <- Not save for work.
But this problem is not at all gifs that I upload, some of them works just fine.
There is no problem with the server either.

The problem is with how Coppermine handles gifs format.
I would appreciate it if you guys could take a look because I don't think that I am the only one here who has this problem.

Code: [Select]
USER:
------------------
Array
(
    [ID] => eec198cb9284539521ca2043c2d4e037
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 1305
            [1] => 1303
            [2] => 1302
            [3] => 1233
            [4] => 130
        )

    [liv_a] => Array
        (
            [0] => 5
        )

)

==========================
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
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [access_level] => 3
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [allowed_albums] => Array
        (
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT name, value FROM cpg_config [include/init.inc.php:178] (1 ms)
    [1] => SELECT * FROM cpg_plugins ORDER BY priority [include/plugin_api.inc.php:54] (0 ms)
    [2] => SELECT user_id, time FROM `****_cpg896`.cpg_sessions WHERE session_id = '8546cb6a271c78bbde2d6f6a58c215e9' [bridge/coppermine.inc.php:264] (0 ms)
    [3] => SELECT user_id, user_password FROM `****_cpg896`.cpg_users WHERE user_id = 1 [bridge/coppermine.inc.php:276] (0 ms)
    [4] => SELECT u.user_id AS id, u.user_name AS username, user_password AS password, u.user_group AS group_id FROM `fakeforl_cpg896`.cpg_users AS u LEFT JOIN `fakeforl_cpg896`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' [bridge/udb_base.inc.php:70] (0 ms)
    [5] => SELECT user_group_list FROM `****_cpg896`.cpg_users AS u WHERE user_id='1' AND user_group_list <> '' [bridge/coppermine.inc.php:202] (0 ms)
    [6] => 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(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, MAX(access_level) AS access_level, 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) [bridge/udb_base.inc.php:321] (0 ms)
    [7] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:325] (0 ms)
    [8] => SELECT lang_id FROM cpg_languages WHERE enabled='YES' [include/init.inc.php:326] (0 ms)
    [9] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 [include/init.inc.php:384] (1 ms)
    [10] => DELETE FROM cpg_banned WHERE expiry < '2010-08-17 05:14:30' [include/init.inc.php:440] (0 ms)
    [11] => SELECT null FROM cpg_banned WHERE (user_id=1 OR '213.21.113.171' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:456] (0 ms)
    [12] => SELECT name, description, thumb FROM cpg_categories WHERE cid = 1 [index.php:263] (0 ms)
    [13] => SELECT COUNT(DISTINCT(p.aid)) AS alb_count, COUNT(*) AS pic_count
        FROM cpg_albums AS a
        INNER JOIN cpg_pictures AS p ON p.aid = a.aid
        WHERE a.category > 10000
        AND approved = 'YES' [index.php:287] (0 ms)
    [14] => SELECT name, description, cid, thumb, depth, lft
        FROM cpg_categories AS c
        WHERE depth BETWEEN 0 + 1 AND 0 + 2
ORDER BY c.lft [index.php:315] (0 ms)
    [15] => SELECT category, COUNT(*) AS num
        FROM cpg_albums AS a
        INNER JOIN cpg_categories ON cid = category
        WHERE depth BETWEEN 0 + 1 AND 0 + 2
GROUP BY category ORDER BY NULL [index.php:357] (0 ms)
    [16] => SELECT title, r.description, keyword, category, aid, alb_hits, visibility, r.thumb, r.owner
        FROM cpg_categories AS c
        INNER JOIN cpg_albums AS r ON r.category = c.cid
        WHERE c.depth BETWEEN 0 + 1 AND 0 + 2
ORDER BY r.pos, r.aid [index.php:378] (0 ms)
    [17] => SELECT c.cid, r.aid, COUNT(pid) AS pic_count, MAX(pid) AS last_pid, MAX(ctime) AS last_upload
        FROM cpg_categories AS c
        INNER JOIN cpg_albums AS r ON r.category = c.cid
        INNER JOIN cpg_pictures AS p ON p.aid = r.aid
        WHERE (1)
        AND approved = 'YES'
        AND c.depth BETWEEN 0 + 1 AND 0 + 2
        GROUP BY r.aid
        ORDER BY NULL [index.php:413] (0 ms)
    [18] => SELECT COUNT(*) FROM cpg_albums AS a WHERE 1  [index.php:541] (0 ms)
    [19] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'YES' [index.php:554] (0 ms)
    [20] => SELECT COUNT(*) FROM cpg_comments [index.php:573] (0 ms)
    [21] => SELECT COUNT(*) FROM cpg_categories [index.php:579] (0 ms)
    [22] => SELECT SUM(hits) FROM cpg_pictures WHERE approved = 'YES' [index.php:592] (0 ms)
    [23] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' [include/functions.inc.php:2402] (0 ms)
    [24] => SELECT lang_id, abbr FROM cpg_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2405] (0 ms)
    [25] => DELETE FROM cpg_temp_messages WHERE time < 1282040070 [include/functions.inc.php:4903] (0 ms)
    [26] => SELECT count(aid) FROM cpg_albums as a WHERE category = '0'  [index.php:727] (0 ms)
    [27] => SELECT a.aid, a.title, a.description, a.thumb, a.keyword, category, visibility, filepath, filename, url_prefix, pwidth, pheight, a.owner  FROM cpg_albums as a  LEFT JOIN cpg_pictures as p ON a.thumb=p.pid  WHERE a.category=0 ORDER BY a.pos, a.aid LIMIT 0,3 [index.php:770] (0 ms)
    [28] => SELECT a.aid, count( p.pid ) AS pic_count, max( p.pid ) AS last_pid, max( p.ctime ) AS last_upload, a.keyword, a.alb_hits FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved = 'YES'  WHERE a.category = 0  GROUP BY a.aid ORDER BY a.pos, a.aid LIMIT 0,3 [index.php:782] (0 ms)
    [29] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='490' [index.php:838] (0 ms)
    [30] => SELECT extension, mime, content, player FROM cpg_filetypes [include/functions.inc.php:5768] (0 ms)
    [31] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='1308' [index.php:838] (0 ms)
    [32] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='1306' [index.php:838] (0 ms)
    [33] => SELECT COUNT(*)
                FROM cpg_pictures AS r
                INNER JOIN cpg_albums AS a ON a.aid = r.aid
                WHERE (1)
                AND approved = 'YES' [include/functions.inc.php:1469] (0 ms)
    [34] => SELECT r.pid, r.aid, filepath, filename, url_prefix, pwidth, pheight, filesize, ctime, r.title, r.keywords, r.votes, pic_rating, hits, caption, r.owner_id, pic_raw_ip, pic_hdr_ip
                FROM cpg_pictures AS r
                INNER JOIN cpg_albums AS a ON a.aid = r.aid
                WHERE (1)
                AND approved = 'YES'
                ORDER BY r.pid DESC  LIMIT 0 ,8 [include/functions.inc.php:1485] (0 ms)
    [35] => SELECT COUNT(*) FROM cpg_comments WHERE pid = 1308 [include/functions.inc.php:2429] (0 ms)
    [36] => SELECT COUNT(*) FROM cpg_comments WHERE pid = 1307 [include/functions.inc.php:2429] (0 ms)
    [37] => SELECT COUNT(*) FROM cpg_comments WHERE pid = 1306 [include/functions.inc.php:2429] (0 ms)
    [38] => SELECT COUNT(*) FROM cpg_comments WHERE pid = 1305 [include/functions.inc.php:2429] (0 ms)
    [39] => SELECT COUNT(*) FROM cpg_comments WHERE pid = 1304 [include/functions.inc.php:2429] (0 ms)
    [40] => SELECT COUNT(*) FROM cpg_comments WHERE pid = 1303 [include/functions.inc.php:2429] (0 ms)
    [41] => SELECT COUNT(*) FROM cpg_comments WHERE pid = 1302 [include/functions.inc.php:2429] (0 ms)
    [42] => SELECT COUNT(*) FROM cpg_comments WHERE pid = 1301 [include/functions.inc.php:2429] (0 ms)
)

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

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

==========================
COOKIE :
------------------
Array
(
    [cpg15x_data] => YTo1OntzOjI6IklEIjtzOjMyOiJlZWMxOThjYjkyODQ1Mzk1MjFjYTIwNDNjMmQ0ZTAzNyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTo1OntpOjA7czo0OiIxMzA1IjtpOjE7czo0OiIxMzAzIjtpOjI7czo0OiIxMzAyIjtpOjM7czo0OiIxMjMzIjtpOjQ7czozOiIxMzAiO31zOjU6Imxpdl9hIjthOjE6e2k6MDtpOjU7fX0=
    [HstCfa930006] => 1281979006568
    [HstCla930006] => 1282043649156
    [HstPn930006] => 44
    [HstPt930006] => 76
    [HstCnv930006] => 4
    [HstCns930006] => 6
    [c_ref_930006] => http://fakeforlife.com/gallery/toons/upload.php
    [d766c6f888845ff5b3ab378857bd0c3c] => d1058b5b92760d4a459941712c85e704
    [style_cookie] => printonly
    [2bbeb103e180d7adcf094f1c31d0c2cb] => e40b0ba35ff578fcae1f609fde27af77
    [PHPSESSID] => 957c6236edfbafec43af72ca200c8443
    [__utma] => 264438552.1134950692.1282016060.1282016060.1282016060.1
    [__utmc] => 264438552
    [__utmz] => 264438552.1282016060.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)
    [phpbb3_d5y6s_u] => 4042
    [phpbb3_d5y6s_k] => a56db3a6e4165390
    [phpbb3_d5y6s_sid] => 31d2a8b089344ac6b6b370d470cc8847
)

==========================
SESSION :
------------------
Array
(
    [php_captcha] => f68f38ad141b35365676291b4dfaf8a5
)

==========================
VERSION INFO :
------------------
PHP version        5.2.14 OK   
MySQL version      5.0.90 OK   
Coppermine version 1.5.6  stable

==========================
Module: GD
------------------
Exact version                    2.0.34                     
GD Version                       bundled (2.0.34 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                         
XPM Support                      1                         
XBM Support                      1                         
JIS-mapped Japanese Font Support                           

==========================
Key config settings
------------------
site_url             http://fakeforlife.com/gallery/toons/
charset              utf-8                               
allow_private_albums 1                                   
cookie_name          cpg15x                               
cookie_path          /                                   
impath               /usr/local/bin/                     
lang                 english                             
main_page_layout     breadcrumb/catlist/alblist/lastup,2 
silly_safe_mode      0                                   
smtp_host                                                 
theme                water_drop                           
thumb_method         gd2                                 

==========================
Plugins
------------------
Name           BBCode Control                                                     
Actions        plugin_install, plugin_uninstall, plugin_cleanup                   
Filters        admin_menu, bbcode, theme_add_comment, theme_edit_comment, file_info
--------------

==========================
Server restrictions
------------------
safe_mode                                                 
safe_mode_exec_dir                                       
safe_mode_gid                                             
safe_mode_include_dir                                     
sql.safe_mode                                             
disable_functions                                         
file_uploads             1                               
include_path             .:/usr/lib/php:/usr/local/lib/php
open_basedir                                             
allow_url_fopen          1                               
max_execution_time       30                               
max_input_time           60                               
upload_max_filesize      100M                             
post_max_size            100M                             
memory_limit             128M                             
suhosin.post.max_vars    1000                             
suhosin.request.max_vars 1000                             


==========================
Page (performance)
------------------
Parameter        Current  Peak   
Memory usage     4.63 MiB 6.94 MiB
Page generation  95 ms    95 ms   
Page query time  2 ms     2 ms   
Page query count 43       43     


==========================
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Gifs problem
« Reply #1 on: August 17, 2010, 05:11:24 pm »

What happens for that images if you use GD2?
Logged

DJNilo

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Gifs problem
« Reply #2 on: August 17, 2010, 06:36:42 pm »

This is weird, I tried yesterday to change to GD2 but it did not work and had same problem so i changed by to Imagemagick but now when I did as you said, everything works.

It is very strange, is this because the new setting does not take effect immediately?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Gifs problem
« Reply #3 on: August 17, 2010, 07:50:02 pm »

All settings are applied immediately. I don't know what went wrong, but if it works now, we can mark this thread as solved?
Logged
Pages: [1]   Go Up
 

Page created in 0.08 seconds with 20 queries.