Advanced search  

News:

cpg1.5.30 maintenance release - upgrade recommended
The Coppermine development team is releasing an update for Coppermine in order to fix several minor issues. All fixes are not security critical, so if your gallery is running fine with cpg1.5.28 you don't need to upgrade. If you are running an older version than cpg1.5.28, you must update to this latest version as soon as possible because of the security impact!
[more]

Pages: [1]   Go Down

Author Topic: Не грузятся карт  (Read 9161 times)

0 Members and 1 Guest are viewing this topic.

serhiy

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Не грузятся карт
« on: November 10, 2005, 10:22:18 PM »

Уже описаная ситуация:

1. Захожу - хоть админом, хоть пользователем
2. Альбомы есть и там, и там.
3. Пытаюсь загрузить фото - первое сообщение - все ОК, далее ( в режиме редактирования - вместо картинки - черная рамка и т.п.), далее "файл не может быть добавлен.

Вот ссылка www.banana.com.ua                 
login: sss
pass: 111

Можно попробовать.


Вот что выдает отладка:

USER:
------------------
Array
(
    [ID] => 5133a6dc1237111c89507fb87d23d0e5
    [am] => 1
    [lang] => russian
)

==========================
USER DATA:
------------------
Array
(
    [user_name] => sss
    [mgroup] => 2
   
  • => 2

    [group_id] => 2
    [1] => Registered
    [group_name] => Registered
    [2] => 1024
    [group_quota] => 1024
    [3] => 0
    [has_admin_access] =>
    [4] => 1
    [can_rate_pictures] => 1
    [5] => 1
    [can_send_ecards] => 1
    [6] => 1
    [can_post_comments] => 1
    [7] => 1
    [can_upload_pictures] => 1
    [8] => 1
    [can_create_albums] => 1
    [9] => 1
    [pub_upl_need_approval] => 1
    [10] => 1
    [priv_upl_need_approval] => 1
    [11] => 3
    [upload_form_config] => 3
    [12] => 1
    [custom_user_upload] => 1
    [13] => 5
    [num_file_upload] => 5
    [14] => 3
    [num_URI_upload] => 3
    [can_see_all_albums] =>
    [groups] => Array
        (
           
  • => 2

        )

)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM e107_CPG_filetypes;

    [1] => SELECT * FROM e107_CPG_usergroups ORDER BY group_name
    [2] => SELECT * FROM e107_CPG_usergroups WHERE group_id = '2'
    [3] => DELETE FROM e107_CPG_banned WHERE expiry < '2005-11-10 22:14:15'
    [4] => SELECT * FROM e107_CPG_banned WHERE ip_addr='192.168.111.152' OR ip_addr='192.168.111.152' OR user_id=2
    [5] => SELECT aid FROM e107_CPG_albums WHERE visibility != '0' AND visibility !='10002' AND visibility NOT IN (2)
    [6] => SELECT cid, name, description, thumb FROM e107_CPG_categories WHERE parent = ''  ORDER BY pos
    [7] => SELECT aid FROM e107_CPG_albums as a WHERE category>=10000
    [8] => SELECT count(*) FROM e107_CPG_pictures as p, e107_CPG_albums as a WHERE p.aid = a.aid AND category >= 10000
    [9] => SELECT cid, name, description, thumb FROM e107_CPG_categories WHERE parent = '1'  ORDER BY pos
    [10] => SELECT aid FROM e107_CPG_albums WHERE category = 2
    [11] => SELECT count(*) FROM e107_CPG_pictures as p, e107_CPG_albums as a WHERE p.aid = a.aid AND category = 2
    [12] => SELECT count(*) FROM e107_CPG_albums as a WHERE category = '2'
    [13] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM e107_CPG_albums as a LEFT JOIN e107_CPG_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 e107_CPG_pictures WHERE aid IN (2) AND approved = 'YES' GROUP BY aid
    [15] => SELECT cid, name, description, thumb FROM e107_CPG_categories WHERE parent = '2'  ORDER BY pos
    [16] => SELECT aid FROM e107_CPG_albums WHERE category = 3
    [17] => SELECT count(*) FROM e107_CPG_pictures as p, e107_CPG_albums as a WHERE p.aid = a.aid AND category = 3
    [18] => SELECT aid FROM e107_CPG_albums as a WHERE category = '0'
    [19] => SELECT count(*) FROM e107_CPG_albums as a WHERE 1
    [20] => SELECT count(*) FROM e107_CPG_pictures as p LEFT JOIN e107_CPG_albums as a ON a.aid=p.aid WHERE 1
    [21] => SELECT count(*) FROM e107_CPG_comments as c LEFT JOIN e107_CPG_pictures as p ON c.pid=p.pid LEFT JOIN e107_CPG_albums as a ON a.aid=p.aid WHERE 1
    [22] => SELECT count(*) FROM e107_CPG_categories WHERE 1
    [23] => SELECT sum(hits) FROM e107_CPG_pictures as p LEFT JOIN e107_CPG_albums as a ON p.aid=a.aid WHERE 1
    [24] => SELECT count(*) FROM e107_CPG_albums as a WHERE category = '0'
    [25] => SELECT COUNT(*) from e107_CPG_pictures WHERE approved = 'YES'
    [26] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, aid FROM e107_CPG_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8
    [27] => SELECT COUNT(*) from e107_CPG_pictures WHERE approved = 'YES'
    [28] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid,title, caption, owner_id, owner_name, aid FROM e107_CPG_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8
)

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

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

==========================
Page generated in 0.108 seconds - 29 queries in 0.011 seconds - Album set :
Logged

serhiy

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Не грузятся кар
« Reply #1 on: November 10, 2005, 11:03:18 PM »

Уже разобрался, в моем случае у хостера в php.ini не была включена upload_tmp_dir.
Logged
Pages: [1]   Go Up
 

Page created in 0.081 seconds with 19 queries.