coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: kenzik on July 10, 2006, 12:42:02 AM

Title: Configuration problem....
Post by: kenzik on July 10, 2006, 12:42:02 AM
http://www.kenzikworld.com/photo/displayimage.php?album=lastup&cat=0&pos=0

Can someone please take a look at my image and tell me what configuration I have incorrect?  Dumbly, I had set my table width to 200% and fixed it by using the script at the bottom of this page that a super nice support person gave me.  But, my images still do not show completely.  I only have half of an image showing and you cannot use the scroll bar to see the rest.  I also cannot sign in as an adminstrator because the log in/ password box is off of the page ( you can see this by clicking on login.)

Any ideas?

http://www.kenzikworld.com/photo/displayimage.php?album=lastup&cat=0&pos=0


<?php
define('IN_COPPERMINE', true);
require('include/init.inc.php');
pageheader('change width to100%');
starttable('100%', 'Removing Breadcrumb', 1);
$sql="UPDATE `{$CONFIG['TABLE_CONFIG']}` SET value='100%' WHERE name='main_table_width'";
$result=cpg_db_query($sql);
if($result) {
?>Done!!<?php
}else{
?>Error!!<?php
}
endtable();
pagefooter();
?>
Title: Re: Configuration problem....
Post by: Sami on July 10, 2006, 12:50:25 AM
on firefox it's fine and you can also login I think that you change the width value on theme.inc.php
Title: Re: Configuration problem....
Post by: kenzik on July 10, 2006, 12:59:56 AM
AHHHHH!!!!  I got it!  Thank you so much for all of your help!  You are the one who helped me with the original problem.  I truly thank you!
Title: Re: Configuration problem....
Post by: Sami on July 10, 2006, 01:01:37 AM
you'r welcome
have fun with your CPG ;)
Title: Re: Configuration problem....
Post by: kenzik on July 10, 2006, 01:21:36 AM
issue solved , you may closed the thread
Title: Re: Configuration problem....
Post by: Joachim Müller on July 10, 2006, 07:53:18 AM
In the future, don't touch include/themes.inc.php - under no circumstances!