Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Gallery pictures are not accessible  (Read 5903 times)

0 Members and 1 Guest are viewing this topic.

mermaid

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
[Solved]: Gallery pictures are not accessible
« on: August 02, 2009, 09:12:27 am »

and the debug notice says the following
USER:
------------------
Array
(
    [ID] => 718a89133d0c2d8f19949af89cc935db
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => bbrats
    [groups] => Array
        (
            
  • => 1

        )

    [disk_max] => 1024
    [disk_min] => 1024
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 10
    [num_URI_upload] => 1
    [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] => 1024
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    
  • => SELECT extension, mime, content, player FROM cpg143_filetypes; (0.001s)
  • [1] => select * from cpg143_plugins order by priority asc; (0s)
        [2] => delete from `bbratsco60598`.cpg143_sessions where time<1249193138 and remember=0; (0.001s)
        [3] => delete from `bbratsco60598`.cpg143_sessions where time<1247987138; (0.001s)
        [4] => select user_id from `bbratsco60598`.cpg143_sessions where session_id = '6f055f9341eb2ae2de5ae32701d1bc4d' (0s)
        [5] => select user_id as id, user_password as password from `bbratsco60598`.cpg143_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 `bbratsco60598`.cpg143_users AS u INNER JOIN `bbratsco60598`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `bbratsco60598`.cpg143_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 cpg143_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0s)
        [10] => update `bbratsco60598`.cpg143_sessions set time='1249196738' where session_id = '6f055f9341eb2ae2de5ae32701d1bc4d' (0s)
        [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpg143_banned WHERE expiry < '2009-08-02 09:05:38' (0s)
        [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='94.134.180.68' OR ip_addr='94.134.180.68' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT category, title, aid, keyword, description, alb_password_hint FROM cpg143_albums WHERE aid='25' (0s)
        [15] => SELECT name, parent FROM cpg143_categories WHERE cid = '7' (0s)
        [16] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0s)
        [17] => SELECT title,keyword from cpg143_albums WHERE aid='25' (0s)
        [18] => SELECT COUNT(*) from cpg143_pictures WHERE ((aid='25'  ) )   (0s)
        [19] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg143_pictures WHERE ((aid='25'  ) )   ORDER BY filename ASC  LIMIT 0 ,12 (0.001s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
        
[album] => 25
)

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.4-8+etch6 - OK
------------------
mySQL version: 5.0.32-Debian_7etch5
------------------
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
XBM Support:
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.32
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient  
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1.1
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | /usr/lib/php4/libexec | /usr/lib/php4/libexec
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/lib/php4/libexec | /usr/lib/php4/libexec
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | ./:/usr/share/php/ | ./:/usr/share/php/
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 | 120 | 120
max_input_time | 120 | 120
upload_max_filesize | 32M | 32M
post_max_size | 32M | 32M
==========================
Page generated in 0.082 seconds - 20 queries in 0.005 seconds - Album set : ; Meta set: ;


--- i would have checked the other posts, but i didn't even by what criteria to search as i do not see what in the code reveals the critical issues.---
all help is welcome- thank you very much!
« Last Edit: August 02, 2009, 08:27:07 pm by Joachim Müller »
Logged

Nibbler

  • Guest
Re: Gallery pictures are not accessible
« Reply #1 on: August 02, 2009, 01:14:17 pm »

You need to provide actual information. Just dumping the debug output is of no use whatsoever. Start by posting a link to your gallery.
Logged

mermaid

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Gallery pictures are not accessible
« Reply #2 on: August 02, 2009, 02:48:01 pm »

mercy... i did as the debugger text seemed to suggest..
www.bbrats.com/gallery ..
thx a million...
Logged

Nibbler

  • Guest
Re: Gallery pictures are not accessible
« Reply #3 on: August 02, 2009, 03:06:54 pm »

You still didn't say what the problem is. Everything seems to be working. You should clean up the spam and setup some anti spam scripts though. There are so many comments that the image pages takes a long time to load.
Logged

mermaid

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Gallery pictures are not accessible
« Reply #4 on: August 02, 2009, 04:33:08 pm »

dear oh dear... how silly of me part2 !!!
i deleted the spam (which i hadn't realized was there). now i shall find some anti-spam software... digging through the forum :-)
glad the thing is working again. again.. grazie mille!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Gallery pictures are not accessible
« Reply #5 on: August 02, 2009, 08:28:33 pm »

Not related to upgrading. In fact not related to anything at all but reluctance/laziness to read. Moving to misc from upgrading sub-board. Board rules!
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.