I use the Coppermine met the problem, requestin I use the Coppermine met the problem, requestin
 

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

I use the Coppermine met the problem, requestin

Started by shinetown, February 18, 2004, 06:41:52 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

shinetown

I use the Coppermine met the problem, requesting your help, THANK YOU.

When I open Enable debug mode ,Appeared underneath this kind of problem:

 :cry:  :( Debug info
USER:
Array
(
    [ID] => 7f1eedc4bef5620ccc066463e63bd528
    [am] => 0
)

 
 
USER DATA:
Array
(
   
  • => 1
  • [user_id] => 1
        [1] => 1
        [user_group] => 1
        [2] => YES
        [user_active] => YES
        [3] => vivi
        [user_name] => vivi
        [4] => 995800
        [5] => 2004-02-18 11:56:30
        [user_lastvisit] => 2004-02-18 11:56:30
        [6] => 2004-02-18 11:56:30
        [user_regdate] => 2004-02-18 11:56:30
        [7] =>
        [user_lang] =>
        [8] =>
        [user_email] =>
        [9] =>
        [user_website] =>
        [10] =>
        [user_location] =>
        [11] =>
        [user_interests] =>
        [12] =>
        [user_occupation] =>
        [13] =>
        [user_actkey] =>
        [14] => 1
        [group_id] => 1
        [15] => Administrators
        [group_name] => Administrators
        [16] => 0
        [group_quota] => 0
        [17] => 1
        [has_admin_access] => 1
        [18] => 1
        [can_rate_pictures] => 1
        [19] => 1
        [can_send_ecards] => 1
        [20] => 1
        [can_post_comments] => 1
        [21] => 1
        [can_upload_pictures] => 1
        [22] => 1
        [can_create_albums] => 1
        [23] => 1
        [pub_upl_need_approval] => 1
        [24] => 1
        [priv_upl_need_approval] => 1
    )

     
     
    Queries:
    Array
    (
       
  • => SELECT * FROM cpg11d_users, cpg11d_usergroups WHERE user_group = group_id AND user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '78492aa4e2322f17d2ebe96442143c2b'
  • [1] => DELETE FROM cpg11d_banned WHERE expiry < 1077077043
        [2] => SELECT * FROM cpg11d_banned WHERE ip_addr='127.0.0.1' OR ip_addr='127.0.0.1' OR user_id=1
        [3] => SELECT aid FROM cpg11d_albums WHERE visibility != '0' AND visibility !='10001' AND visibility NOT IN (1)
        [4] => SELECT cid, name, description FROM cpg11d_categories WHERE parent = ''  ORDER BY pos
        [5] => SELECT aid FROM cpg11d_albums WHERE category >= 10000
        [6] => SELECT count(*) FROM cpg11d_pictures, cpg11d_albums WHERE cpg11d_pictures.aid = cpg11d_albums.aid AND category >= 10000
        [7] => SELECT cid, name, description FROM cpg11d_categories WHERE parent = '1'  ORDER BY pos
        [8] => SELECT count(*) FROM cpg11d_albums WHERE 1
        [9] => SELECT count(*) FROM cpg11d_pictures WHERE 1
        [10] => SELECT count(*) FROM cpg11d_comments WHERE 1
        [11] => SELECT count(*) FROM cpg11d_categories WHERE 1
        [12] => SELECT sum(hits) FROM cpg11d_pictures WHERE 1
        [13] => SELECT count(*) FROM cpg11d_albums WHERE category = ''
        [14] => SELECT COUNT(*) from cpg11d_pictures WHERE approved = 'YES'
        [15] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid FROM cpg11d_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8
        [16] => SELECT COUNT(*) from cpg11d_pictures WHERE approved = 'YES'
        [17] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, owner_id, owner_name, aid FROM cpg11d_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8
    )

     
    GET :
    Array
    (
    )

     
    POST :
    Array
    (
    )

     
    Page generated in 0.071 seconds - 18 queries in 0.026 seconds - Album set :  
    Advanced debug mode (phpinfo)

Joachim Müller

OK, you discovered debug_mode... What exactly is the problem?

GauGau

shinetown

:( I want to know that the above Debug info hint, expressing my CPG1.2 have no complete gearing exactitude?
These hint, ising to pointed out my mistake?
If yes, so I change how to correct?

I am not English,  :oops: begging your pardon my impassability follow of lift to ask.
Thank. :!:

这些除错信息是不是告诉我,我有许多地方没设置正确?
如果是的,那么我将如何改证?谢谢。

Casper

What you are seeing is normal. The debug mode will give this information even if you have no problem.

Only turn on debug mode if you have a problem, to help find out why.  If you have no problem, turn it off.

If you have a problem, try to explain to us what the problem is. and give us a link to your site if you can, so we can see.

Do not worry about your English, we understand that for most users, it is not their language.
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

shinetown

Thank, you let me feel the amity.
My Web address is a http://www.shinetown.net/cpg1/
It showed that as Underneath debug the information:

[size=9]Debug info
USER:
Array
(
    [ID] => aa714929d65befdfb1f1ee004ee82b42
    [am] => 1
    [liv] => Array
        (
           
  • => 64
  • [1] => 63
                [2] => 62
                [3] => 61
                [4] => 27
            )

    )

     
     
    USER DATA:
    Array
    (
       
  • => 1
  • [user_id] => 1
        [1] => 1
        [user_group] => 1
        [2] => YES
        [user_active] => YES
        [3] => vivi
        [user_name] => vivi
        [4] => 995800
        [5] => 2004-02-18 16:41:13
        [user_lastvisit] => 2004-02-18 16:41:13
        [6] => 2004-02-18 16:41:13
        [user_regdate] => 2004-02-18 16:41:13
        [7] =>
        [user_lang] =>
        [8] =>
        [user_email] =>
        [9] =>
        [user_website] =>
        [10] =>
        [user_location] =>
        [11] =>
        [user_interests] =>
        [12] =>
        [user_occupation] =>
        [13] =>
        [user_actkey] =>
        [14] => 1
        [group_id] => 1
        [15] => Administrators
        [group_name] => Administrators
        [16] => 0
        [group_quota] => 0
        [17] => 1
        [has_admin_access] => 1
        [18] => 1
        [can_rate_pictures] => 1
        [19] => 1
        [can_send_ecards] => 1
        [20] => 1
        [can_post_comments] => 1
        [21] => 1
        [can_upload_pictures] => 1
        [22] => 1
        [can_create_albums] => 1
        [23] => 0
        [pub_upl_need_approval] => 0
        [24] => 0
        [priv_upl_need_approval] => 0
    )

     
     
    Queries:
    Array
    (
       
  • => SELECT * FROM cpg22d_users, cpg22d_usergroups WHERE user_group = group_id AND user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '78492aa4e2322f17d2ebe96442143c2b'
  • [1] => DELETE FROM cpg22d_banned WHERE expiry < 1077093711
        [2] => SELECT * FROM cpg22d_banned WHERE ip_addr='220.185.23.76' OR ip_addr='220.185.23.76' OR user_id=1
        [3] => SELECT aid, title FROM cpg22d_albums WHERE category < '10000' ORDER BY title
        [4] => SELECT aid, title FROM cpg22d_albums WHERE category='10001' ORDER BY title
        [5] => SELECT count(*) FROM cpg22d_pictures WHERE approved = 'NO'
        [6] => SELECT pid, owner_id FROM cpg22d_pictures WHERE owner_id != 0 AND owner_name = ''
        [7] => SELECT * FROM cpg22d_pictures WHERE approved = 'NO' ORDER BY pid LIMIT 0, 25
    )

     
    GET :
    Array
    (
        [mode] => upload_approval
    )

     
    POST :
    Array
    (
    )[/size][/color]I want to know, it is normal that these Debugses info hint,
    Or I have no right gearing CPG1.2? thank!

Casper

Yes, it is normal.

Start putting some pictures in your albums. :wink:
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

shinetown

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fshinetown.net%2F001.jpg&hash=9429f74fbc4977ba6cb3791175876cf1a436e484)


 :oops:  [/quote]

Casper

Look, I hate shouting, but I have told you twice already.

This is normal.  I get the same notice, but nothing is wrong.

Please, Turn off debug mode  in config.
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

shinetown

I understood, very thankful!

 :o  
You are a friendly person
I does not understand to the php msql
And can't speak English
SORRY
However I understood the some now
At least this problem I understood
Again thankful