Admin page is shifted to the right Admin page is shifted to the right
 

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

Admin page is shifted to the right

Started by josec, February 22, 2009, 05:32:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

josec

Hi,
I have trouble uploading files when logged in as admin; no problem as a regular user. The whole admin page is shifted to the right. I could see half of the admin menu to the right (outside the template) and half of the page of page is missing, and as result, the album selection does not show up. I am using siteground reflexion as my theme. What is strange is that everything is fine with other themes. Any known issues with siteground reflexion?

Thanks for the help.

phill104

As per the docs, a link to your site is required. Without this it is very hard to diagnose problems.
It is a mistake to think you can solve any major problems just with potatoes.

josec

Here is the link to my website.

Coppermine install: http://www.manaboconnexion.com/photo/
Forum install: http://www.manaboconnexion.com/forum/
Coppermine version: cpg1.4.19
Forum version: phpBB 3.0.4
Test user account: josec for username / columbia for password

BridgeManager settings:
Forum URL:  http://www.manaboconnexion.com/forum
Relative path to your BBS's config file:  ../forum/ 
Use post-based groups?:  1
Cookie name/preifx (if applicable):phpbb3

Please note that the problem only shows up under admin mode (user mode is fine), and here's the debug output while the bad page is being displayed.

USER:
------------------
Array
(
    [ID] => f27f07972954f29ab3dc31f4291ba97d
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => admin
    [groups] => Array
        (
           
  • => 105
            )

        [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] => 1
        [priv_upl_need_approval] => 1
        [group_name] => ADMINISTRATORS
        [upload_form_config] => 3
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 105
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
        [1] => select * from cpg_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg_bridge (0s)
        [3] => SELECT user_id, user_password FROM `manaboco_pbb01`.sessions INNER JOIN `manaboco_pbb01`.users ON session_user_id = user_id WHERE session_id='4ae5aa1c179252022286f4581c2a3f91'; (0s)
        [4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password, u.group_id+100 AS group_id FROM `manaboco_pbb01`.users AS u INNER JOIN `manaboco_pbb01`.groups AS g ON u.group_id=g.group_id WHERE u.user_id='2' (0s)
        [5] => 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 cpg_usergroups WHERE group_id in (105) (0s)
        [6] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 105 (0s)
        [7] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 2 (0s)
        [8] => DELETE FROM cpg_banned WHERE expiry < '2009-02-22 17:18:05' (0s)
        [9] => SELECT * FROM cpg_banned WHERE (ip_addr='154.20.6.212' OR ip_addr='154.20.6.212' OR user_id=2) AND brute_force=0 (0s)
        [10] => SELECT aid, title FROM cpg_albums WHERE category < 10000 ORDER BY title (0s)
        [11] => SELECT aid, title FROM cpg_albums WHERE category='10002' ORDER BY title (0s)
        [12] => SELECT encoded_string FROM cpg_temp_data WHERE unique_ID = '7b6cd0a4' (0s)
        [13] => UPDATE cpg_temp_data SET encoded_string = 'YToxOntpOjA7YTozOntzOjExOiJhY3R1YWxfbmFtZSI7czo5OiJkYWRkeS5qcGciO3M6MTQ6InRlbXBvcmFyeV9uYW1lIjtzOjIzOiJtSFRUUF90ZW1wX2VjYTAyZjlmLmpwZyI7czoxMjoicHJldmlld19wYXRoIjtzOjM0OiIuL2FsYnVtcy9lZGl0L3ByZXZpZXdfNzJkZjVmNzguanBnIjt9fQ==' WHERE unique_ID = '7b6cd0a4' (0s)
        [14] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
        [15] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='2' AND cat.cid=alb.category (0.007s)
        [16] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='7' AND cat.cid=alb.category (0s)
        [17] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='17' AND cat.cid=alb.category (0s)
        [18] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='16' AND cat.cid=alb.category (0.001s)
        [19] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='15' AND cat.cid=alb.category (0s)
        [20] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='14' AND cat.cid=alb.category (0s)
        [21] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='13' AND cat.cid=alb.category (0s)
        [22] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='12' AND cat.cid=alb.category (0s)
        [23] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='11' AND cat.cid=alb.category (0s)
        [24] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='9' AND cat.cid=alb.category (0s)
        [25] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='8' AND cat.cid=alb.category (0s)
        [26] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='1' AND cat.cid=alb.category (0s)
        [27] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='6' AND cat.cid=alb.category (0s)
        [28] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='5' AND cat.cid=alb.category (0s)
        [29] => SELECT cat.name FROM cpg_categories cat, cpg_albums alb WHERE alb.aid='4' AND cat.cid=alb.category (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [unique_ID] => 7b6cd0a4
        [control] => phase_2
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.2.8 - OK
    ------------------
    mySQL version: 5.0.75-community-log
    ------------------
    Coppermine version: 1.4.19(stable)
    ==========================
    Module: GD
    ------------------
    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:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 2
    Client API version 5.0.75
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib64 -lmysqlclient_r 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Stream Wrapper support compress.zlib://
    Stream Filter support zlib.inflate, zlib.deflate
    Compiled Version 1.2.1.2
    Linked Version 1.2.1.2
    ==========================
    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/local/lib/php | .:/usr/lib/php:/usr/local/lib/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 | 30 | 30
    max_input_time | 60 | 60
    upload_max_filesize | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.079 seconds - 30 queries in 0.008 seconds - Album set : ; Meta set: ;

Joachim Müller

Quote from: josec on February 22, 2009, 05:32:02 AM
The whole admin page is shifted to the right. I could see half of the admin menu to the right (outside the template) and half of the page of page is missing, and as result, the album selection does not show up.
Usually happens if debug_mode is turned on. Go to coppermine's config and turn debug_mode off. Please report back.

josec

Turning debug mode OFF works. Does this problem apply only to themes with center wrap and do not occupy the whole page?

Thanks a lot for the help.

Best Regards.

Joachim Müller

Turning on debug_mode will display a textbox that will stretch very wide as it contains long strings. You're welcome to modify your custom theme and apply CSS properties for the debug_output textarea that keeps it from stretching the page, but that's none of our business. Don't turn debug_mode on if you don't have issues nor a clue what it is. If you must have it turned on, use your browser's horizontal scroll bars or customize your theme as you see fit.