forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: josec on February 22, 2009, 05:32:02 am

Title: Admin page is shifted to the right
Post by: josec on February 22, 2009, 05:32:02 am
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.
Title: Re: Admin page is shifted to the right
Post by: phill104 on February 22, 2009, 11:24:33 pm
As per the docs, a link to your site is required. Without this it is very hard to diagnose problems.
Title: Re: Admin page is shifted to the right
Post by: josec on February 23, 2009, 02:24:12 am
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
        (
           
        )

    [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
(
    [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: ;
Title: Re: Admin page is shifted to the right
Post by: Joachim Müller on February 23, 2009, 10:00:19 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.
Title: Re: Admin page is shifted to the right
Post by: josec on February 23, 2009, 06:27:37 pm
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.
Title: Re: Admin page is shifted to the right
Post by: Joachim Müller on February 25, 2009, 09:43:35 am
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.